X-Git-Url: http://wamblee.org/gitweb/?a=blobdiff_plain;f=system%2Fgeneral%2Fsrc%2Fmain%2Fjava%2Forg%2Fwamblee%2Fsystem%2Fgraph%2Fcomponent%2FComponentNode.java;h=3656d6b6ec401cbcb620b6f65edf253b6bc3df6a;hb=96c8961955a306314dfe0cf9ca192252de39fc1c;hp=dc344268b0fed6d7bc4203f2032f771348649d86;hpb=680cb4c2d0b10909a2cdd3e7f73d8998a74441c1;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 dc344268..3656d6b6 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. @@ -19,24 +19,27 @@ 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(); + return component.getQualifiedName(); } - + public Component getComponent() { - return _component; + return component; } }