org.argouml.uml
Class GenDescendantClasses

java.lang.Object
  |
  +--org.argouml.uml.GenDescendantClasses

public class GenDescendantClasses
extends java.lang.Object

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.


Field Summary
static GenDescendantClasses SINGLETON
           
 
Constructor Summary
GenDescendantClasses()
           
 
Method Summary
 void accumulateDescendants(java.lang.Object cls, java.util.Vector accum)
           
 java.util.Enumeration gen(java.lang.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 java.util.Enumeration gen(java.lang.Object o)

accumulateDescendants

public void accumulateDescendants(java.lang.Object cls,
                                  java.util.Vector accum)


ArgoUML © 1996-2004 (20040306)ArgoUML HomepageArgoUML Developers' pageArgoUML Cookbook