au.com.zip.cs
Interface DirectedEdge


public interface DirectedEdge

Methods of an Entity that is an edge in a directed graph.

Author:
Cameron Simpson <cs@zip.com.au> 25jun2003

Field Summary
static String CHILD_ID_ATTRIBUTE
          The default attribute name for the child identity: CHILD_ID.
static String PARENT_ID_ATTRIBUTE
          The default attribute name for the parent identity: PARENT_ID.
 
Method Summary
 Entity getChild()
          Get the child node.
 long getChildID()
          Get the child node identity.
 Entity getParent()
          Get the parent node.
 long getParentID()
          Get the parent node identity.
 

Field Detail

PARENT_ID_ATTRIBUTE

static final String PARENT_ID_ATTRIBUTE
The default attribute name for the parent identity: PARENT_ID.

See Also:
Constant Field Values

CHILD_ID_ATTRIBUTE

static final String CHILD_ID_ATTRIBUTE
The default attribute name for the child identity: CHILD_ID.

See Also:
Constant Field Values
Method Detail

getParentID

long getParentID()
Get the parent node identity.

Returns:
the parent id

getChildID

long getChildID()
Get the child node identity.

Returns:
the child id

getParent

Entity getParent()
Get the parent node.

Returns:
the node

getChild

Entity getChild()
Get the child node.

Returns:
the node