public interface Node extends OsidObject
A Node
represents a node in a Graph.
Modifier and Type | Method and Description |
---|---|
NodeRecord |
getNodeRecord(Type nodeRecordType)
Gets the node record corresponding to the given
Node
record Type. |
getDescription, getDisplayName, getGenusType, isOfGenusType
getId, isCurrent
getRecordTypes, hasRecordType
getProperties, getPropertiesByRecordType
NodeRecord getNodeRecord(Type nodeRecordType) throws OperationFailedException
Node
record Type.
This method is used to retrieve an object
implementing the requested record. The nodeRecordType
may be the Type
returned in getRecordTypes()
or any of its parents in a Type
hierarchy where
hasRecordType(nodeRecordType)
is true
.nodeRecordType
- the type of node record to retrieveNullArgumentException
- nodeRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(nodeRecordType)
is false
mandatory
- This method must be implemented.