
public class NodeLookup extends Object implements ComponentLookupService
EMPTY, NONE| Constructor and Description |
|---|
NodeLookup(EffectiveNode top) |
| Modifier and Type | Method and Description |
|---|---|
void |
aliasObject(String alias,
Object object)
aliases cannot override names in name componentNode structure
|
<T> LinkedHashMap<String,T> |
getChildren(String parentName,
Class<T> classFilter)
gets the children of a Component in the EffectiveNode and filters by Class.
|
Object |
getComponentByName(String name)
return any object registered by the dictionaries of the service.
|
Map.Entry<String,Object> |
getParent(String componentName)
gets the Parent of a component in the EffectiveNode tree.
|
<T> List<T> |
listChildren(String parentName)
lists the children of a component.
|
public NodeLookup(EffectiveNode top)
public Object getComponentByName(String name)
ComponentLookupServicegetComponentByName in interface ComponentLookupServicepublic void aliasObject(String alias, Object object)
aliasObject in interface ComponentLookupServicealias - object - public <T> LinkedHashMap<String,T> getChildren(String parentName, Class<T> classFilter)
ComponentLookupServicegetChildren in interface ComponentLookupServicepublic <T> List<T> listChildren(String parentName)
ComponentLookupServicelistChildren in interface ComponentLookupServicepublic Map.Entry<String,Object> getParent(String componentName)
ComponentLookupServicegetParent in interface ComponentLookupServiceCopyright © 2015 LSST. All rights reserved.