org.argouml.model
Interface ActivityGraphsFactory

All Superinterfaces:
Factory

public interface ActivityGraphsFactory
extends Factory

The interface for the factory for ActivityGraphs.


Method Summary
 Object buildActivityGraph(Object theContext)
          Builds an activity graph owned by the given context.
 Object buildClassifierInState(Object classifier, Collection state)
          Builds a ClassifierInState.
 Object buildObjectFlowState(Object compositeState)
          Builds an ObjectFlowState.
 Object createActionState()
          Create an empty but initialized instance of a UML ActionState.
 Object createActivityGraph()
          Create an empty but initialized instance of a UML ActivityGraph.
 Object createCallState()
          Create an empty but initialized instance of a UML CallState.
 Object createClassifierInState()
          Create an empty but initialized instance of a UML ClassifierInState.
 Object createObjectFlowState()
          Create an empty but initialized instance of a UML ObjectFlowState.
 Object createPartition()
          Create an empty but initialized instance of a UML Partition.
 Object createSubactivityState()
          Create an empty but initialized instance of a UML SubactivityState.
 

Method Detail

createActionState

public Object createActionState()
Create an empty but initialized instance of a UML ActionState.

Returns:
an initialized UML ActionState instance.

createActivityGraph

public Object createActivityGraph()
Create an empty but initialized instance of a UML ActivityGraph.

Returns:
an initialized UML ActivityGraph instance.

createCallState

public Object createCallState()
Create an empty but initialized instance of a UML CallState.

Returns:
an initialized UML CallState instance.

createClassifierInState

public Object createClassifierInState()
Create an empty but initialized instance of a UML ClassifierInState.

Returns:
an initialized UML ClassifierInState instance.

createObjectFlowState

public Object createObjectFlowState()
Create an empty but initialized instance of a UML ObjectFlowState.

Returns:
an initialized UML ObjectFlowState instance.

createPartition

public Object createPartition()
Create an empty but initialized instance of a UML Partition.

Returns:
an initialized UML Partition instance.

createSubactivityState

public Object createSubactivityState()
Create an empty but initialized instance of a UML SubactivityState.

Returns:
an initialized UML SubactivityState instance.

buildActivityGraph

public Object buildActivityGraph(Object theContext)
Builds an activity graph owned by the given context.

Parameters:
theContext - is a ModelElement that will own the graph.
Returns:
the new MActivityGraph as Object

buildObjectFlowState

public Object buildObjectFlowState(Object compositeState)
Builds an ObjectFlowState. The ObjectFlowState will be a subvertex of the given compositestate. The parameter compositeState is of type Object to decouple the factory and model implementation as much as possible from the rest of ArgoUML.

Parameters:
compositeState - the given compositestate
Returns:
Object the newly build objectflow state.

buildClassifierInState

public Object buildClassifierInState(Object classifier,
                                     Collection state)
Builds a ClassifierInState. Links it to the 2 required objects: the classifier that forms the type of this classifierInState, and a collection of one or more states.

Parameters:
classifier - the classifier (type)
state - the collection of states (inState)
Returns:
the newly build classifierInState


ArgoUML © 1996-2006ArgoUML HomepageArgoUML Cookbook