T - The particular instance of the ComponentNode.public class ComponentNode<T extends ComponentNode<T>> extends Object implements Serializable
setComponent()| Modifier and Type | Field and Description |
|---|---|
protected static org.lsst.ccs.utilities.logging.Logger |
logger |
| 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() |
ComponentNode<T> |
getParent() |
String |
getProtocol() |
Map |
getTags() |
void |
setComponent(Object component) |
void |
setProtocol(String protocol) |
protected void |
setTags(Map tags) |
String |
toString() |
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 ComponentNode<T> getParent()
protected void setTags(Map tags)
public Map getTags()
Copyright © 2017 LSST. All rights reserved.