JGraph
v5.12.1.0


org.jgraph.graph
Class ParentMap.Entry

java.lang.Object
  extended by org.jgraph.graph.ParentMap.Entry
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
ParentMap

public class ParentMap.Entry
extends java.lang.Object
implements java.io.Serializable

Object that represents the relation between a child an a parent.

See Also:
Serialized Form

Field Summary
protected  java.lang.Object child
          Child and parent of the relation this entry describes.
protected  java.lang.Object parent
          Child and parent of the relation this entry describes.
 
Constructor Summary
ParentMap.Entry(java.lang.Object child, java.lang.Object parent)
          Constructs a new relation between child and parent.
 
Method Summary
 java.lang.Object getChild()
          Returns the child of the relation.
 java.lang.Object getParent()
          Returns the parent of the relation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

child

protected java.lang.Object child
Child and parent of the relation this entry describes.


parent

protected java.lang.Object parent
Child and parent of the relation this entry describes.

Constructor Detail

ParentMap.Entry

public ParentMap.Entry(java.lang.Object child,
                       java.lang.Object parent)
Constructs a new relation between child and parent.

Method Detail

getChild

public java.lang.Object getChild()
Returns the child of the relation.


getParent

public java.lang.Object getParent()
Returns the parent of the relation.


JGraph
v5.12.1.0


Copyright (C) 2001-2006 Gaudenz Alder. All rights reserved.