Package nl.rrd.wool.model.nodepointer
Class WoolNodePointer
- java.lang.Object
-
- nl.rrd.wool.model.nodepointer.WoolNodePointer
-
- Direct Known Subclasses:
WoolNodePointerExternal,WoolNodePointerInternal
public abstract class WoolNodePointer extends Object
An abstract representation of a pointer to a next node.- See Also:
WoolNodePointerInternal,WoolNodePointerExternal
-
-
Field Detail
-
nodeId
protected String nodeId
-
-
Constructor Detail
-
WoolNodePointer
public WoolNodePointer(String nodeId)
Creates an instance of aWoolNodePointerwith givennodeId.- Parameters:
nodeId- the unique identifier of theWoolNodethat this NodePointer refers to.
-
-
Method Detail
-
getNodeId
public String getNodeId()
Returns the identifier of theWoolNodethat this pointer refers to.- Returns:
- the identifier of the
WoolNodethat this pointer refers to.
-
setNodeId
public void setNodeId(String nodeId)
Sets the identifier of theWoolNodethat this pointer refers to.- Parameters:
nodeId- the identifier of theWoolNodethat this pointer refers to.
-
-