public interface Node
Network
,
Network.createNode()
Modifier and Type | Method and Description |
---|---|
int |
getID()
Returns the Integer ID of this Node.
|
java.lang.String |
getProperty(java.lang.String key)
Returns the value of the property with the name given by the given key,
or null if no property with this name exists.
|
void |
setProperty(java.lang.String key,
java.lang.String value)
Adds or sets a property to this node.
|
int getID()
void setProperty(java.lang.String key, java.lang.String value)
key
- a String representation of the name of the propertyvalue
- a String representation of the property valuejava.lang.String getProperty(java.lang.String key)
key
- a property name