org.argouml.model
Interface CommonBehaviorFactory

All Superinterfaces:
Factory

public interface CommonBehaviorFactory
extends Factory

The interface for the factory of the CommonBehavior.


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

Method Detail

createActionSequence

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

Returns:
an initialized UML ActionSequence instance.

createArgument

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

Returns:
an initialized UML Argument instance.

createAttributeLink

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

Returns:
an initialized UML AttributeLink instance.

createCallAction

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

Returns:
an initialized UML CallAction instance.

createComponentInstance

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

Returns:
an initialized UML ComponentInstance instance.

createCreateAction

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

Returns:
an initialized UML CreateAction instance.

createDataValue

java.lang.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

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

Returns:
an initialized UML DestroyAction instance.

createException

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

Returns:
an initialized UML Exception instance.

createLink

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

Returns:
an initialized UML Link instance.

createLinkEnd

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

Returns:
an initialized UML LinkEnd instance.

createLinkObject

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

Returns:
an initialized UML LinkObject instance.

createNodeInstance

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

Returns:
an initialized UML NodeInstance instance.

createObject

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

Returns:
an initialized UML Object instance.

createReception

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

Returns:
an initialized UML Reception instance.

createReturnAction

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

Returns:
an initialized UML ReturnAction instance.

createSendAction

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

Returns:
an initialized UML SendAction instance.

createSignal

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

Returns:
an initialized UML Signal instance.

createStimulus

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

Returns:
an initialized UML Stimulus instance.

createSubsystemInstance

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

Returns:
an initialized SubsystemInstance instance.
Since:
UML 1.4

createTerminateAction

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

Returns:
an initialized UML TerminateAction instance.

createUninterpretedAction

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

Returns:
an initialized UML UninterpretedAction instance.

buildCallAction

java.lang.Object buildCallAction(java.lang.Object oper,
                                 java.lang.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

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

java.lang.Object buildLink(java.lang.Object fromInstance,
                           java.lang.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

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

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

buildSignal

java.lang.Object buildSignal(java.lang.Object element)
Builds a signal belonging to a BehavioralFeature, SignalEvent, SendAction, or Reception.

Parameters:
element - target ModelElement of appropriate type
Returns:
the newly build Signal

buildStimulus

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

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