|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.virtuosotechnologies.lib.base.UniqueObject
com.virtuosotechnologies.lib.base.BasicEnumeratedType
com.virtuosotechnologies.lib.base.UniqueHierarchicalType
A basic UniqueObject-based implementation of a HierarchicalType. Most clients should subclass this class for type safety.
| Constructor Summary | |
UniqueHierarchicalType(String description)
Constructs a new type that doesn't extend anything. |
|
UniqueHierarchicalType(String description,
HierarchicalType base1)
Constructs a new type that extends the given type. |
|
UniqueHierarchicalType(String description,
HierarchicalType[] bases)
Constructs a new type that extends the given types. |
|
UniqueHierarchicalType(String description,
HierarchicalType base1,
HierarchicalType base2)
Constructs a new type that extends the given two types. |
|
| Method Summary | |
boolean |
equalsOrExtends(HierarchicalType type)
Returns true if and only if this HierarchicalType the same as or an extension of the given parameter. |
Iterator |
getParents()
Get an interator over the immediate parents |
| Methods inherited from class com.virtuosotechnologies.lib.base.BasicEnumeratedType |
compareTo |
| Methods inherited from class com.virtuosotechnologies.lib.base.UniqueObject |
equals, getUniqueObjectID, toString |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public UniqueHierarchicalType(String description)
description - a description String.
public UniqueHierarchicalType(String description,
HierarchicalType[] bases)
description - a description String.bases - base types that this type extends.
public UniqueHierarchicalType(String description,
HierarchicalType base1)
description - a description String.base1 - base type that this type extends.
public UniqueHierarchicalType(String description,
HierarchicalType base1,
HierarchicalType base2)
description - a description String.base1 - base type that this type extends.base2 - base type that this type extends.| Method Detail |
public boolean equalsOrExtends(HierarchicalType type)
equalsOrExtends in interface HierarchicalTypetype - a type to test
public Iterator getParents()
getParents in interface HierarchicalType
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||