org.argouml.uml.cognitive
Class ChildGenFind
java.lang.Object
org.argouml.uml.cognitive.ChildGenFind
- All Implemented Interfaces:
- org.tigris.gef.util.ChildGenerator, Serializable
- public class ChildGenFind
- extends 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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SINGLETON
private static final ChildGenFind SINGLETON
ChildGenFind
public ChildGenFind()
gen
public Enumeration gen(Object o)
- Reply a Collection of the children of the given Object
- Specified by:
gen
in interface org.tigris.gef.util.ChildGenerator
- See Also:
ChildGenerator.gen(java.lang.Object)
getSingleton
public static ChildGenFind getSingleton()
- Returns:
- Returns the sINGLETON.