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=9573613928f58ec9333b900187731408d5eb4f9f;hp=72e7110687cc6b011c20f490f644c78e682d8783;hpb=b522989a5f4a984c2c3ad0780886ac7c7b044bc7;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 72e71106..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,26 +12,34 @@ * 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. + */ 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(); + return component.getQualifiedName(); } - + public Component getComponent() { - return _component; + return component; } }