org.argouml.model
Interface ActivityGraphsFactory

All Superinterfaces:
Factory

public interface ActivityGraphsFactory
extends Factory

The interface for the factory for ActivityGraphs.


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

Method Detail

createActionState

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

Returns:
an initialized UML ActionState instance.

createActivityGraph

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

Returns:
an initialized UML ActivityGraph instance.

createCallState

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

Returns:
an initialized UML CallState instance.

createClassifierInState

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

Returns:
an initialized UML ClassifierInState instance.

createObjectFlowState

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

Returns:
an initialized UML ObjectFlowState instance.

createPartition

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

Returns:
an initialized UML Partition instance.

createSubactivityState

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

Returns:
an initialized UML SubactivityState instance.

buildActivityGraph

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

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

buildObjectFlowState

java.lang.Object buildObjectFlowState(java.lang.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

java.lang.Object buildClassifierInState(java.lang.Object classifier,
                                        java.util.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