public class BasicLWNode extends Object implements LWNode, PropertyContainer
Constructor and Description |
---|
BasicLWNode()
Create a new node
|
Modifier and Type | Method and Description |
---|---|
int |
getNodeId()
Return the integer id of this node
|
Object |
getProperty(String key)
Return the property corresponding to
the given key, or null if no such property
exists.
|
Iterator |
propertyNames()
Return an iteration of the names of the properties
|
void |
setNodeId(int id)
Set the integer id of this node.
|
void |
setProperty(String key,
Object value)
Set the property corresponding to
the given key.
|
public int getNodeId()
public Object getProperty(String key)
getProperty
in interface PropertyContainer
public void setNodeId(int id)
public Iterator propertyNames()
propertyNames
in interface PropertyContainer
public void setProperty(String key, Object value)
setProperty
in interface PropertyContainer
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.