org.argouml.uml.cognitive.critics
Class ChildGenUML

java.lang.Object
  |
  +--org.argouml.uml.cognitive.critics.ChildGenUML
All Implemented Interfaces:
org.tigris.gef.util.ChildGenerator, java.io.Serializable

public class ChildGenUML
extends java.lang.Object
implements org.tigris.gef.util.ChildGenerator

This class gives critics access to parts of the UML model of the design. It defines a gen() function that returns the "children" of any given part of the UML model. Basically, it goes from Project, to Models, to ModelElements. Argo's critic Agency uses this to apply critics where appropriate.

See Also:
Agency, Serialized Form

Field Summary
static ChildGenUML SINGLETON
           
 
Constructor Summary
ChildGenUML()
           
 
Method Summary
 java.util.Enumeration gen(java.lang.Object o)
          Reply a java.util.Enumeration of the children of the given Object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SINGLETON

public static ChildGenUML SINGLETON
Constructor Detail

ChildGenUML

public ChildGenUML()
Method Detail

gen

public java.util.Enumeration gen(java.lang.Object o)
Reply a java.util.Enumeration of the children of the given Object
Specified by:
gen in interface org.tigris.gef.util.ChildGenerator


ArgoUML (c) 1996-2002
ArgoUML Project Home
ArgoUML Cookbook