org.jgraph.graph

Class ParentMap.Entry

Enclosing Class:
ParentMap
Implemented Interfaces:
Serializable

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

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

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.

Constructor Summary

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

Method Summary

Object
getChild()
Returns the child of the relation.
Object
getParent()
Returns the parent of the relation.

Field Details

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 Details

Entry

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

Method Details

getChild

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

getParent

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

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