T - The particular instance of the ComponentNode. Either DescriptiveNode or EffectiveNode.public class ComponentNode<T extends ComponentNode<T>> extends Object implements Serializable
setComponent()| Constructor and Description |
|---|
ComponentNode(T parent,
String name) |
ComponentNode(T parent,
String name,
Object component) |
| Modifier and Type | Method and Description |
|---|---|
void |
addChild(T child)
adds a ComponentNode as a child of the current node
|
List<T> |
getChildren() |
Object |
getComponent() |
String |
getKey() |
T |
getParent() |
String |
getProtocol() |
void |
setComponent(Object component) |
void |
setProtocol(String protocol) |
String |
toString() |
protected static final Logger logger
public String getProtocol()
public void setProtocol(String protocol)
public Object getComponent()
public void setComponent(Object component)
public String getKey()
public void addChild(T child) throws NullPointerException
child - to be added to the nodeNullPointerException - if child is nullpublic T getParent()
Copyright © 2016 LSST. All rights reserved.