|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.mit.sketch.ddg.DomainObjectGraphNode
public class DomainObjectGraphNode
A node in the DomainObjectGraph that represents a domain object (valid or not on its own). It contains the object description of the node and references to parents and children in the objec hierarchy.
DomainObjectGraphNode.java Created: Sun Sep 29 21:55:00 2002
| Constructor Summary | |
|---|---|
DomainObjectGraphNode(ObjectDescription description)
Constructs a node at the most general level with no connections to the object hierarchy |
|
| Method Summary | |
|---|---|
java.util.Vector |
children()
Get the children |
ObjectDescription |
description()
Get the description of the object in this node |
int |
level()
Get the level of this object |
int |
maxParentLevel()
Get the max parent level |
java.lang.String |
name()
Get the name of the object in this node |
java.util.Vector |
parents()
Get the parents |
void |
setLevel(int level)
Set the level of this object |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DomainObjectGraphNode(ObjectDescription description)
| Method Detail |
|---|
public java.lang.String name()
public ObjectDescription description()
public int level()
public int maxParentLevel()
public void setLevel(int level)
public java.util.Vector children()
public java.util.Vector parents()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||