|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ManagementNode
This interface models a device management node. A management not can be either a configuration context (a tree element that contains other nodes) or a configuration node (which instead contains configuration properties).
Method Summary | |
---|---|
ManagementNode |
getChildNode(java.lang.String context)
Retrieves the subnode with the given name |
ManagementNode[] |
getChildren()
Retrieves the children subnodes of the current node. |
java.lang.String |
getContext()
Returns the node's context |
java.lang.String |
getFullContext()
Returns the entire node's context path (concatenation of all parent context paths). |
java.lang.Object |
getManagementObject(java.lang.String node)
Reads the properties of the given node and creates an object with the values read. |
java.lang.Object |
getNodeValue(java.lang.String node,
java.lang.String name)
Retrieves a value from the given management subnode name. |
java.util.Hashtable |
getNodeValues(java.lang.String node)
Retrieves all values in the given management subnode name. |
ManagementNode |
getParent()
Retrieves this node's parent. |
java.lang.Object |
getValue(java.lang.String name)
Returns the given config parameter |
java.util.Hashtable |
getValues()
|
void |
removeNode(java.lang.String node)
Remove subnode from configuration three. |
void |
setValue(java.lang.String name,
java.lang.Object value)
Sets the node value as a whole object. |
void |
setValue(java.lang.String node,
java.lang.String name,
java.lang.Object value)
Sets a subnode specific value. |
Method Detail |
---|
java.lang.String getContext()
java.lang.String getFullContext()
java.lang.Object getValue(java.lang.String name) throws DMException
name
- the configration parameter name
DMException
- in case of errors.java.util.Hashtable getValues() throws DMException
DMException
- in case of errors.java.lang.Object getNodeValue(java.lang.String node, java.lang.String name) throws DMException
node
- the subnode containing the config value specified by namename
- the name of the configuration value to return
DMException
- in case of errors.java.util.Hashtable getNodeValues(java.lang.String node) throws DMException
node
- the subnode containing the required config values
DMException
- in case of errors.java.lang.Object getManagementObject(java.lang.String node) throws DMException
node
- the subnode containing the required config values
DMException
- in case of errors.ManagementNode[] getChildren() throws DMException
DMException
- in case of errors.ManagementNode getChildNode(java.lang.String context) throws DMException
DMException
- in case of errors.ManagementNode getParent() throws DMException
DMException
- in case of errors.void setValue(java.lang.String name, java.lang.Object value) throws DMException
name
- the configuration parameter namevalue
- the value
DMException
- in case of errors.void setValue(java.lang.String node, java.lang.String name, java.lang.Object value) throws DMException
node
- subnode to setname
- configuration parameter to setvalue
-
DMException
- in case of errors.void removeNode(java.lang.String node) throws DMException
node
- subnode to reomove
DMException
- in case of errors.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |