FTNode


Abstract

Interface of all node instances within FT

Methods

-countIncomingReferences
-countOutgoingReferences
-createAndAppendEdgeWithId
creates an edge which refers to the given node
-createAndAppendEdgeWithId:withTargetNode:
creates an edge which refers to the given node
-incomingEdges
Get all edges pointing to self
-incomingNodes
access to all nodes refering the receiver of this message
-nodeId
-outgoingEdges
Get all outgoing edges
-outgoingNodes
access to all nodes referred by the receiver of this message
-removeAllOutgoingNodesWithId:
removes all outgoing nodes with the specified id
-removeAllOutgoingNodeWithId
removes all outgoing nodes with the specified id
-serviceWithId:
retrieve the specified service

countIncomingReferences


- (unsigned) countIncomingReferences 
method result
returns the number of incoming edges

countOutgoingReferences


- (unsigned) countOutgoingReferences;
method result
returns the number of outgoing edges

createAndAppendEdgeWithId


creates an edge which refers to the given node

See Also:
createAndAppendEdgeWithId:withTargetNode:
- (id <FTEdge>) createAndAppendEdgeWithId: (id <FTId>) edgeId withTargetNode: (id <FTNode>) targetNode;
Parameter Descriptions
edgeId
id of the edge
targetNode
node to which the edge refers
method result
created edge instance

createAndAppendEdgeWithId:withTargetNode:


creates an edge which refers to the given node

See Also:
createAndAppendEdgeWithId
- (id <FTEdge>) createAndAppendEdgeWithId: (id <FTId>) edgeId withTargetNode: (id <FTNode>) targetNode;
Parameter Descriptions
edgeId
id of the edge
targetNode
node to which the edge refers

incomingEdges


Get all edges pointing to self

- (id <ECIterator>) incomingEdges;
method result
iterator of instances of type FTEdge or an empty iterator

incomingNodes


access to all nodes refering the receiver of this message

- (id <ECIterator>) incomingNodes;
method result
iterator over instances which implement the protocol FTNode

nodeId


- (id <FTId>) nodeId;
method result
return the id of this node.

outgoingEdges


Get all outgoing edges

- (id <ECIterator>) outgoingEdges;
method result
iterator of instances of type FTEdge or an empty iterator

outgoingNodes


access to all nodes referred by the receiver of this message

- (id <ECIterator>) outgoingNodes;
method result
iterator over instances which implement the protocol FTNode

removeAllOutgoingNodesWithId:


removes all outgoing nodes with the specified id

See Also:
removeAllOutgoingNodeWithId
- removeAllOutgoingNodesWithId: (id <FTId>) nodeId;
Parameter Descriptions
nodeId
identifier for the node

removeAllOutgoingNodeWithId


removes all outgoing nodes with the specified id

See Also:
removeAllOutgoingNodesWithId:
- removeAllOutgoingNodesWithId: (id <FTId>) nodeId;
Parameter Descriptions
nodeId
identifier for the node
method result
self

serviceWithId:


retrieve the specified service

- (id <FTService>) serviceWithId: (NSString *) aServiceId;
Parameter Descriptions
aServiceId
identifier for the service
method result
related service or nil, if not found or version cannot be found

(Last Updated August 27, 2006)