X-Git-Url: http://wamblee.org/gitweb/?a=blobdiff_plain;f=system%2Fgeneral%2Fsrc%2Fmain%2Fjava%2Forg%2Fwamblee%2Fsystem%2Fgraph%2Fcomponent%2FComponentNode.java;h=0269690f9c8d4503340b4cc78201b8f758ca8536;hb=49ce7cb8387601982d5e6ef186ce206d38f6e3d7;hp=2ba126141a8602e87a443c06ab609b6344645afa;hpb=0d8d8f24656e585ee75558cfd6a4c661f8f14985;p=utils diff --git a/system/general/src/main/java/org/wamblee/system/graph/component/ComponentNode.java b/system/general/src/main/java/org/wamblee/system/graph/component/ComponentNode.java index 2ba12614..0269690f 100644 --- a/system/general/src/main/java/org/wamblee/system/graph/component/ComponentNode.java +++ b/system/general/src/main/java/org/wamblee/system/graph/component/ComponentNode.java @@ -1,5 +1,5 @@ /* - * Copyright 2008 the original author or authors. + * Copyright 2005-2010 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -12,30 +12,33 @@ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ + */ package org.wamblee.system.graph.component; import org.wamblee.system.core.Component; import org.wamblee.system.graph.Node; /** - * Represents a component node. - * @author Erik Brakkee. - * + * Represents a component node. + * + * @author Erik Brakkee. */ public class ComponentNode implements Node { - - private Component component; - - public ComponentNode(Component aComponent) { - component = aComponent; + private Component component; + + /** + * Creates a new ComponentNode object. + * + */ + public ComponentNode(Component aComponent) { + component = aComponent; } @Override public String getName() { return component.getQualifiedName(); } - + public Component getComponent() { return component; }