uci.uml.util
Class GenAncestorClasses

java.lang.Object
  |
  +--uci.uml.util.GenAncestorClasses

public class GenAncestorClasses
extends Object
implements ChildGenerator

Utility class to generate the base classes of a class. It recursively moves up the class hierarchy. But id does that in a safe way that will nothang in case of cyclic inheritance.

See Also:
Serialized Form

Field Summary
static GenAncestorClasses TheInstance
           
 
Constructor Summary
GenAncestorClasses()
           
 
Method Summary
 void accumulateAncestors(GeneralizableElement cls, Vector accum)
           
 Enumeration gen(Object o)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TheInstance

public static GenAncestorClasses TheInstance
Constructor Detail

GenAncestorClasses

public GenAncestorClasses()
Method Detail

gen

public Enumeration gen(Object o)
Specified by:
gen in interface ChildGenerator

accumulateAncestors

public void accumulateAncestors(GeneralizableElement cls,
                                Vector accum)