org.argouml.uml
Class GenAncestorClasses

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

public class GenAncestorClasses
extends java.lang.Object

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.


Field Summary
static GenAncestorClasses TheInstance
           
 
Constructor Summary
GenAncestorClasses()
           
 
Method Summary
 void accumulateAncestors(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

TheInstance

public static GenAncestorClasses TheInstance
Constructor Detail

GenAncestorClasses

public GenAncestorClasses()
Method Detail

gen

public java.util.Enumeration gen(java.lang.Object o)

accumulateAncestors

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


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