org.jgraph.graph
Class ParentMap.Entry
java.lang.Object
|
+--org.jgraph.graph.ParentMap.Entry
- All Implemented Interfaces:
- Serializable
- Enclosing class:
- ParentMap
- public class ParentMap.Entry
- extends Object
- implements Serializable
Object that represents the relation between a child an a parent.
- See Also:
- Serialized Form
Field Summary |
protected Object |
child
Child and parent of the relation this entry describes. |
protected Object |
parent
Child and parent of the relation this entry describes. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
child
protected Object child
- Child and parent of the relation this entry describes.
parent
protected Object parent
- Child and parent of the relation this entry describes.
ParentMap.Entry
public ParentMap.Entry(Object child,
Object parent)
- Constructs a new relation between
child
and parent
.
getChild
public Object getChild()
- Returns the child of the relation.
getParent
public Object getParent()
- Returns the parent of the relation.
Copyright (C) 2001-2004 JGraph.org. All rights reserved.