com.sdm.quasar.client.core.data.structure
Class IndexedNode
java.lang.Object
com.sdm.quasar.client.core.data.structure.Node
com.sdm.quasar.client.core.data.structure.IndexedNode
- All Implemented Interfaces:
- SystemInfoProvider
- public class IndexedNode
- extends Node
Defines a node that provides indexed access to some collection of data.
- Version:
- 1.0
- Author:
- Thomas Wolf, sd&m AG, Bernd Olleck, sd&m AG
|
Constructor Summary |
IndexedNode(java.lang.String key,
java.lang.String sourceNodeKey,
java.lang.Class sourceType,
java.lang.Class indexType,
java.lang.Class type)
Constructor. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
IndexedNode
public IndexedNode(java.lang.String key,
java.lang.String sourceNodeKey,
java.lang.Class sourceType,
java.lang.Class indexType,
java.lang.Class type)
- Constructor.
- Parameters:
key - the key of the nodesourceNodeKey - the key of the source node providing the collectionsourceType - the type of the source valueindexType - the type of the index valuestype - the type of the values in the collection
getIndexType
public java.lang.Class getIndexType()
- Returns:
- the type of the index used to resolve the context
getSourceType
public java.lang.Class getSourceType()
- Returns:
- the type of the value that is expected from the source
collectSystemInfo
public void collectSystemInfo(SystemInfoNode root,
SystemInfoOptions options)
- Description copied from interface:
SystemInfoProvider
- Builds the system information tree upon local information of the implementor.
The system information tree can be used within development by inspecting the
system; so implementors should append their internal state (depending on the
details settings within
SystemInfoOptions).
The information can be appended to the tree by adding new child
SystemInformationNodes to the root node given using the
SystemInfoNode.createChild(String) method and by setting information
attributes the these nodes or the given root node.
- Specified by:
collectSystemInfo in interface SystemInfoProvider- Overrides:
collectSystemInfo in class Node
- See Also:
Node.collectSystemInfo(com.sdm.quasar.client.core.common.sysinfo.SystemInfoNode, com.sdm.quasar.client.core.common.sysinfo.SystemInfoOptions)