net.innig.util
Class GraphType
java.lang.Object
net.innig.util.EnumeratedType
net.innig.util.GraphType
- All Implemented Interfaces:
- java.io.Serializable
public abstract class GraphType
- extends EnumeratedType
An enumerated type with directed edges between its members.
Useful for modeling types with a natural "is-a" relationship.
|
Maturity:
Brand spankin' new.
|
|
Plans:
Perhaps add JDO support.
|
- Version:
- [Development version]
- Author:
- Paul Cantrell
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
GraphType
public GraphType(java.lang.String name)
GraphType
public GraphType(java.lang.String name,
GraphType parent)
GraphType
public GraphType(java.lang.String name,
GraphType[] parents)
GraphType
public GraphType(java.lang.String name,
java.util.Collection parents)
is
public boolean is(GraphType that)
getParents
public java.util.Set getParents()
getAncestors
public java.util.Set getAncestors()
getChildren
public java.util.Set getChildren()
getDescendents
public java.util.Set getDescendents()