FTOrderedReferenceSet
Abstract
Used to store reference in an ordered set
Methods
- -allReferences
- -countReferences
- -createAndAppendReferenceToNode
- creates a reference and appends it to the existing set
- -createAndAppendReferenceToNode:withEdgeId:
- creates a reference and appends it to the existing set
- -referenceByEdgeId:
- -referencesByNodeId:
- -removeReference:
- removes a reference from the set
- (id <ECIterator>) allReferences
- method result
- all references in order
- (unsigned) countReferences;
- method result
- returns the number of references in this set
creates a reference and appends it to the existing set
See Also:
- createAndAppendReferenceToNode:withEdgeId:
- createAndAppendReferenceToNode: (id <FTId>) aNodeId withEdgeId: (id <FTId>) anEdgeId;
Parameter Descriptions
aNodeId
- identifier of the node to point to
anEdgeId
- identifier for the underlying edge
- method result
- self
creates a reference and appends it to the existing set
See Also:
- createAndAppendReferenceToNode
- createAndAppendReferenceToNode: (id <FTId>) aNodeId withEdgeId: (id <FTId>) anEdgeId;
Parameter Descriptions
aNodeId
- identifier of the node to point to
anEdgeId
- identifier for the underlying edge
- (id <FTReference>) referenceByEdgeId: (id <FTId>) anEdgeId;
Parameter Descriptions
anEdgeId
- identifier for the edge
- method result
- the reference corresponding to the given edge id or nil
- (id <ECIterator>) referencesByNodeId: (id <FTId>) aNodeId;
Parameter Descriptions
aNodeId
- node id to look for
- method result
- all references having the specified node id
removes a reference from the set
- removeReference: (id <FTReference>) toRemove;
Parameter Descriptions
toRemove
- reference to remove.
- method result
- self
Discussion
After a successful call the reference is no longer valid.
(Last Updated August 27, 2006)