org.argouml.model
Interface CommonBehaviorFactory

All Superinterfaces:
Factory

public interface CommonBehaviorFactory
extends Factory

The interface for the factory of the CommonBehavior.


Method Summary
 Object buildAction(Object message)
          Builds an action (actually an CallAction) for some message.
 Object buildCallAction(Object oper, String name)
          Builds a CallAction belonging to operation oper with a given name.
 Object buildLink(Object fromInstance, Object toInstance)
          Builds a Link between two Instances.
 Object buildReception(Object aClassifier)
          Builds a reception belonging to some classifier.
 Object buildSignal(Object feature)
          Builds a signal belonging to some behavioralfeature.
 Object buildStimulus(Object link)
          Builds a stimulus based on a given link.
 Object buildUninterpretedAction(Object actionState)
          Builds a new uninterpreted action.
 Object createActionSequence()
          Create an empty but initialized instance of a UML ActionSequence.
 Object createArgument()
          Create an empty but initialized instance of a UML Argument.
 Object createAttributeLink()
          Create an empty but initialized instance of a UML AttributeLink.
 Object createCallAction()
          Create an empty but initialized instance of a UML CallAction.
 Object createComponentInstance()
          Create an empty but initialized instance of a UML ComponentInstance.
 Object createCreateAction()
          Create an empty but initialized instance of a UML CreateAction.
 Object createDataValue()
          Create an empty but initialized instance of a UML DataValue.
 Object createDestroyAction()
          Create an empty but initialized instance of a UML DestroyAction.
 Object createException()
          Create an empty but initialized instance of a UML Exception.
 Object createLink()
          Create an empty but initialized instance of a UML Link.
 Object createLinkEnd()
          Create an empty but initialized instance of a UML LinkEnd.
 Object createLinkObject()
          Create an empty but initialized instance of a UML LinkObject.
 Object createNodeInstance()
          Create an empty but initialized instance of a UML NodeInstance.
 Object createObject()
          Create an empty but initialized instance of a UML Object.
 Object createReception()
          Create an empty but initialized instance of a UML Reception.
 Object createReturnAction()
          Create an empty but initialized instance of a UML ReturnAction.
 Object createSendAction()
          Create an empty but initialized instance of a UML SendAction.
 Object createSignal()
          Create an empty but initialized instance of a UML Signal.
 Object createStimulus()
          Create an empty but initialized instance of a UML Stimulus.
 Object createSubsystemInstance()
          Create an empty but initialized instance of a SubsystemInstance.
 Object createTerminateAction()
          Create an empty but initialized instance of a UML TerminateAction.
 Object createUninterpretedAction()
          Create an empty but initialized instance of a UML UninterpretedAction.
 

Method Detail

createActionSequence

public Object createActionSequence()
Create an empty but initialized instance of a UML ActionSequence.

Returns:
an initialized UML ActionSequence instance.

createArgument

public Object createArgument()
Create an empty but initialized instance of a UML Argument.

Returns:
an initialized UML Argument instance.

createAttributeLink

public Object createAttributeLink()
Create an empty but initialized instance of a UML AttributeLink.

Returns:
an initialized UML AttributeLink instance.

createCallAction

public Object createCallAction()
Create an empty but initialized instance of a UML CallAction.

Returns:
an initialized UML CallAction instance.

createComponentInstance

public Object createComponentInstance()
Create an empty but initialized instance of a UML ComponentInstance.

Returns:
an initialized UML ComponentInstance instance.

createCreateAction

public Object createCreateAction()
Create an empty but initialized instance of a UML CreateAction.

Returns:
an initialized UML CreateAction instance.

createDataValue

public Object createDataValue()
Create an empty but initialized instance of a UML DataValue.

Returns:
an initialized UML DataValue instance.
Since:
Argo 0.21.1 - UML 1.3 type, but not introduced to Model interface until after UML 1.4 work was done.

createDestroyAction

public Object createDestroyAction()
Create an empty but initialized instance of a UML DestroyAction.

Returns:
an initialized UML DestroyAction instance.

createException

public Object createException()
Create an empty but initialized instance of a UML Exception.

Returns:
an initialized UML Exception instance.

createLink

public Object createLink()
Create an empty but initialized instance of a UML Link.

Returns:
an initialized UML Link instance.

createLinkEnd

public Object createLinkEnd()
Create an empty but initialized instance of a UML LinkEnd.

Returns:
an initialized UML LinkEnd instance.

createLinkObject

public Object createLinkObject()
Create an empty but initialized instance of a UML LinkObject.

Returns:
an initialized UML LinkObject instance.

createNodeInstance

public Object createNodeInstance()
Create an empty but initialized instance of a UML NodeInstance.

Returns:
an initialized UML NodeInstance instance.

createObject

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

Returns:
an initialized UML Object instance.

createReception

public Object createReception()
Create an empty but initialized instance of a UML Reception.

Returns:
an initialized UML Reception instance.

createReturnAction

public Object createReturnAction()
Create an empty but initialized instance of a UML ReturnAction.

Returns:
an initialized UML ReturnAction instance.

createSendAction

public Object createSendAction()
Create an empty but initialized instance of a UML SendAction.

Returns:
an initialized UML SendAction instance.

createSignal

public Object createSignal()
Create an empty but initialized instance of a UML Signal.

Returns:
an initialized UML Signal instance.

createStimulus

public Object createStimulus()
Create an empty but initialized instance of a UML Stimulus.

Returns:
an initialized UML Stimulus instance.

createSubsystemInstance

public Object createSubsystemInstance()
Create an empty but initialized instance of a SubsystemInstance.

Returns:
an initialized SubsystemInstance instance.
Since:
UML 1.4

createTerminateAction

public Object createTerminateAction()
Create an empty but initialized instance of a UML TerminateAction.

Returns:
an initialized UML TerminateAction instance.

createUninterpretedAction

public Object createUninterpretedAction()
Create an empty but initialized instance of a UML UninterpretedAction.

Returns:
an initialized UML UninterpretedAction instance.

buildCallAction

public Object buildCallAction(Object oper,
                              String name)
Builds a CallAction belonging to operation oper with a given name.

Ownership of this modelelement is not set! It is unwise to build a callaction without an operation since the multiplicity according to the UML 1.3 spec is 1..1. Therefore precondition is that there is an operation.

Parameters:
oper - the given operation
name - the name for the CallAction
Returns:
MCallAction

buildUninterpretedAction

public Object buildUninterpretedAction(Object actionState)
Builds a new uninterpreted action.

If the argument is an action state, the new action is set as the entry action.

Parameters:
actionState - the given action state or null
Returns:
the newly build UninterpretedAction

buildLink

public Object buildLink(Object fromInstance,
                        Object toInstance)
Builds a Link between two Instances.

Parameters:
fromInstance - the first given instance
toInstance - the second given instance
Returns:
the newly build link

buildAction

public Object buildAction(Object message)
Builds an action (actually an CallAction) for some message.

Parameters:
message - the given message
Returns:
the newly build callAction

buildSignal

public Object buildSignal(Object feature)
Builds a signal belonging to some behavioralfeature.

Parameters:
feature - the given behaviouralfeature
Returns:
the newly build Signal

buildStimulus

public Object buildStimulus(Object link)
Builds a stimulus based on a given link.

The link must have two linkends that are connected to an instance. These instances are used as sender and receiver of the stimulus. The source will become the sender, the destination the receiver.

Parameters:
link - the link
Returns:
the stimulus

buildReception

public Object buildReception(Object aClassifier)
Builds a reception belonging to some classifier.

Parameters:
aClassifier - the given classifier (or null)
Returns:
the newly created reception


ArgoUML © 1996-2006ArgoUML HomepageArgoUML Cookbook