uci.uml.util
Class GenDescendantClasses

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

public class GenDescendantClasses
extends Object
implements ChildGenerator

Utility class to generate the subclasses of a class. It recursively moves down the class hierarchy. But it does that in a safe way that will nothang in case of cyclic inheritance.

See Also:
Serialized Form

Field Summary
static GenDescendantClasses SINGLETON
           
 
Constructor Summary
GenDescendantClasses()
           
 
Method Summary
 void accumulateDescendants(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

SINGLETON

public static GenDescendantClasses SINGLETON
Constructor Detail

GenDescendantClasses

public GenDescendantClasses()
Method Detail

gen

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

accumulateDescendants

public void accumulateDescendants(GeneralizableElement cls,
                                  Vector accum)