org.jgraph.graph

Class ParentMap.Entry

public class ParentMap.Entry extends Object implements Serializable

Object that represents the relation between a child an a parent.
Field Summary
protected Objectchild
Child and parent of the relation this entry describes.
protected Objectparent
Child and parent of the relation this entry describes.
Constructor Summary
Entry(Object child, Object parent)
Constructs a new relation between child and parent.
Method Summary
ObjectgetChild()
Returns the child of the relation.
ObjectgetParent()
Returns the parent of the relation.

Field Detail

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.

Constructor Detail

Entry

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

Method Detail

getChild

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

getParent

public Object getParent()
Returns the parent of the relation.
Copyright (C) 2001-2009 JGraph Ltd. All rights reserved.