|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectkrieger.oclsolve.TypeHierarchy<T,TID>
T - The type used for representing classes.TID - A separate type for identifying classes.public abstract class TypeHierarchy<T,TID>
Represents a type hierarchy.
| Constructor Summary | |
|---|---|
TypeHierarchy()
|
|
| Method Summary | |
|---|---|
abstract java.util.Collection<T> |
getAllTypes()
Returns all types in the type hierachy. |
abstract TID |
getName(T type)
Returns an identifier for the given type. |
java.lang.String |
getPath(T type)
Returns a path to the Java file for the given type/class. |
java.util.Set<T> |
getSubtypes(T type)
Returns the subtypes of the given type. |
boolean |
isAbstract(T type)
Returns whether the given type is abstract. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TypeHierarchy()
| Method Detail |
|---|
public abstract java.util.Collection<T> getAllTypes()
public java.util.Set<T> getSubtypes(T type)
public boolean isAbstract(T type)
public abstract TID getName(T type)
public java.lang.String getPath(T type)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||