org.argouml.uml.cognitive.critics
Class ChildGenUML

java.lang.Object
  extended byorg.argouml.uml.cognitive.critics.ChildGenUML
All Implemented Interfaces:
org.tigris.gef.util.ChildGenerator, Serializable

public class ChildGenUML
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, Designer, Serialized Form

Field Summary
private static Logger LOG
           
 
Constructor Summary
ChildGenUML()
           
 
Method Summary
 Enumeration gen(Object o)
          Reply a java.util.Enumeration of the children of the given Object TODO: GEF has moved away from vectors to collections returning an iterator would now seem better.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

private static final Logger LOG
Constructor Detail

ChildGenUML

public ChildGenUML()
Method Detail

gen

public Enumeration gen(Object o)
Reply a java.util.Enumeration of the children of the given Object TODO: GEF has moved away from vectors to collections returning an iterator would now seem better.

Specified by:
gen in interface org.tigris.gef.util.ChildGenerator
See Also:
ChildGenerator.gen(java.lang.Object)


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