Interface Activity
-
- All Superinterfaces:
BaseElement
,Behavior
,BehavioredClassifier
,Class
,Classifier
,java.lang.Cloneable
,java.lang.Comparable
,Element
,EncapsulatedClassifier
,org.eclipse.emf.ecore.EObject
,MDObject
,ModelObject
,NamedElement
,Namespace
,org.eclipse.emf.common.notify.Notifier
,PackageableElement
,ParameterableElement
,RedefinableElement
,javax.jmi.reflect.RefBaseObject
,javax.jmi.reflect.RefFeatured
,javax.jmi.reflect.RefObject
,StructuredClassifier
,TemplateableElement
,Type
public interface Activity extends Behavior
A representation of the model object 'Activity'.An Activity is the specification of parameterized Behavior as the coordinated sequencing of subordinate units.
The following features are supported:
- See Also:
UMLPackage.getActivity()
- Model:
- annotation="MOF package='activities.mdfundamentalactivities'"
- Generated:
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Collection<ActivityEdge>
getEdge()
Returns the value of the 'Edge' containment reference list.java.util.Collection<ActivityGroup>
getGroup()
Returns the value of the 'Group' containment reference list.java.util.Collection<ActivityNode>
getNode()
Returns the value of the 'Node' containment reference list.java.util.Collection<ActivityPartition>
getPartition()
Returns the value of the 'Partition' reference list.java.util.Collection<StructuredActivityNode>
getStructuredNode()
Returns the value of the 'Structured Node' reference list.java.util.Collection<Variable>
getVariable()
Returns the value of the 'Variable' containment reference list.boolean
hasEdge()
boolean
hasGroup()
boolean
hasNode()
boolean
hasPartition()
boolean
hasStructuredNode()
boolean
hasVariable()
boolean
isReadOnly()
Returns the value of the 'Read Only' attribute.boolean
isSingleExecution()
Returns the value of the 'Single Execution' attribute.void
setReadOnly(boolean value)
Sets the value of the 'Read Only
' attribute.void
setSingleExecution(boolean value)
Sets the value of the 'Single Execution
' attribute.-
Methods inherited from interface com.nomagic.magicdraw.uml.BaseElement
accept, addPropertyChangeListener, atInsert, canAdd, canAdd, canAddChild, canAddInstance, canBeDeleted, canChangeParent, canDeleteChild, clone, dispose, firePropertyChange, getClassType, getHumanName, getHumanType, getObjectParent, isEditable, isParentOf, removeAllPropertyChangeListeners, removePropertyChangeListener, sGetID
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.commonbehaviors.mdbasicbehaviors.Behavior
get_behavioredClassifierOfClassifierBehavior, get_behavioredClassifierOfOwnedBehavior, get_behaviorExecutionSpecificationOfBehavior, get_behaviorOfRedefinedBehavior, get_callBehaviorActionOfBehavior, get_connectorOfContract, get_decisionNodeOfDecisionInput, get_objectFlowOfSelection, get_objectFlowOfTransformation, get_objectNodeOfSelection, get_opaqueExpressionOfBehavior, get_reduceActionOfReducer, get_stateOfDoActivity, get_stateOfEntry, get_stateOfExit, get_transitionOfEffect, getContext, getEvent, getObservation, getOwnedParameter, getOwnedParameterSet, getPostcondition, getPrecondition, getRedefinedBehavior, getSpecification, has_behaviorExecutionSpecificationOfBehavior, has_behaviorOfRedefinedBehavior, has_callBehaviorActionOfBehavior, has_connectorOfContract, has_decisionNodeOfDecisionInput, has_objectFlowOfSelection, has_objectFlowOfTransformation, has_objectNodeOfSelection, has_opaqueExpressionOfBehavior, has_reduceActionOfReducer, hasEvent, hasObservation, hasOwnedParameter, hasOwnedParameterSet, hasPostcondition, hasPrecondition, hasRedefinedBehavior, isReentrant, set_behavioredClassifierOfClassifierBehavior, set_behavioredClassifierOfOwnedBehavior, set_stateOfDoActivity, set_stateOfEntry, set_stateOfExit, set_transitionOfEffect, setReentrant, setSpecification
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.commonbehaviors.mdbasicbehaviors.BehavioredClassifier
getClassifierBehavior, getInterfaceRealization, getOwnedBehavior, hasInterfaceRealization, hasOwnedBehavior, setClassifierBehavior
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Class
getExtension, getNestedClassifier, getOwnedAttribute, getOwnedOperation, getOwnedReception, getSuperClass, hasExtension, hasNestedClassifier, hasOwnedOperation, hasOwnedReception, hasSuperClass, isAbstract, isActive, setAbstract, setActive
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Classifier
get_classifierOfRedefinedClassifier, get_classifierTemplateParameterOfConstrainingClassifier, get_componentRealizationOfRealizingClassifier, get_createObjectActionOfClassifier, get_exceptionHandlerOfExceptionType, get_generalizationOfGeneral, get_informationFlowOfConveyed, get_informationItemOfRepresented, get_instanceSpecificationOfClassifier, get_interfaceOfNestedClassifier, get_readExtentActionOfClassifier, get_readIsClassifiedObjectActionOfClassifier, get_reclassifyObjectActionOfNewClassifier, get_reclassifyObjectActionOfOldClassifier, get_redefinableElementOfRedefinitionContext, get_substitutionOfContract, get_unmarshallActionOfUnmarshallType, getAttribute, getCollaborationUse, getFeature, getGeneral, getGeneralization, getInheritedMember, getOwnedTemplateSignature, getOwnedUseCase, getPowertypeExtent, getRedefinedClassifier, getRepresentation, getSubstitution, getTemplateParameter, getUMLClass, getUseCase, has_classifierOfRedefinedClassifier, has_classifierTemplateParameterOfConstrainingClassifier, has_componentRealizationOfRealizingClassifier, has_createObjectActionOfClassifier, has_exceptionHandlerOfExceptionType, has_generalizationOfGeneral, has_informationFlowOfConveyed, has_informationItemOfRepresented, has_instanceSpecificationOfClassifier, has_readExtentActionOfClassifier, has_readIsClassifiedObjectActionOfClassifier, has_reclassifyObjectActionOfNewClassifier, has_reclassifyObjectActionOfOldClassifier, has_redefinableElementOfRedefinitionContext, has_substitutionOfContract, has_unmarshallActionOfUnmarshallType, hasAttribute, hasCollaborationUse, hasFeature, hasGeneral, hasGeneralization, hasInheritedMember, hasOwnedUseCase, hasPowertypeExtent, hasRedefinedClassifier, hasSubstitution, hasUseCase, isFinalSpecialization, set_interfaceOfNestedClassifier, setFinalSpecialization, setOwnedTemplateSignature, setRepresentation, setTemplateParameter, setUMLClass
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element
get_activityPartitionOfRepresents, get_commentOfAnnotatedElement, get_constraintOfConstrainedElement, get_diagramOfContext, get_directedRelationshipOfSource, get_directedRelationshipOfTarget, get_elementOfSyncElement, get_elementTaggedValue, get_elementValueOfElement, get_relationshipOfRelatedElement, getAppliedStereotype, getOwnedComment, getOwnedElement, getOwner, getSyncElement, getTaggedValue, has_activityPartitionOfRepresents, has_commentOfAnnotatedElement, has_constraintOfConstrainedElement, has_diagramOfContext, has_directedRelationshipOfSource, has_directedRelationshipOfTarget, has_elementOfSyncElement, has_elementValueOfElement, has_relationshipOfRelatedElement, hasAppliedStereotype, hasElementTaggedValue, hasOwnedComment, hasOwnedElement, hasTaggedValue, setOwner, setSyncElement
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.compositestructures.mdports.EncapsulatedClassifier
getOwnedPort, hasOwnedPort
-
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
-
Methods inherited from interface com.nomagic.magicdraw.foundation.MDObject
getID, getMDExtension, getMdExtensions, setID
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.base.ModelObject
get_representationText, getLocalID, ignoringRefGetValue, ignoringRefGetValue, isInvalid, isSet, refGetValue, refGetValue, refSetValue, refSetValue, set_representationText, setLocalID, sGetLocalID
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.NamedElement
get_considerIgnoreFragmentOfMessage, get_durationObservationOfEvent, get_informationFlowOfInformationSource, get_informationFlowOfInformationTarget, get_messageOfSignature, get_namespaceOfMember, get_timeObservationOfEvent, getClientDependency, getName, getNameExpression, getNamespace, getQualifiedName, getSupplierDependency, has_considerIgnoreFragmentOfMessage, has_durationObservationOfEvent, has_informationFlowOfInformationSource, has_informationFlowOfInformationTarget, has_messageOfSignature, has_namespaceOfMember, has_timeObservationOfEvent, hasClientDependency, hasSupplierDependency, setName, setNameExpression, setNamespace
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Namespace
getElementImport, getImportedMember, getMember, getOwnedDiagram, getOwnedMember, getOwnedRule, getPackageImport, hasElementImport, hasImportedMember, hasMember, hasOwnedDiagram, hasOwnedMember, hasOwnedRule, hasPackageImport
-
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.PackageableElement
get_componentOfPackagedElement, get_elementImportOfImportedElement, get_manifestationOfUtilizedElement, getOwningPackage, getVisibility, has_elementImportOfImportedElement, has_manifestationOfUtilizedElement, set_componentOfPackagedElement, setOwningPackage, setVisibility
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.auxiliaryconstructs.mdtemplates.ParameterableElement
get_templateParameterOfDefault, get_templateParameterOfOwnedDefault, get_templateParameterSubstitutionOfActual, get_templateParameterSubstitutionOfOwnedActual, getOwningTemplateParameter, has_templateParameterOfDefault, has_templateParameterSubstitutionOfActual, set_templateParameterOfOwnedDefault, set_templateParameterSubstitutionOfOwnedActual, setOwningTemplateParameter, setTemplateParameter
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.RedefinableElement
get_redefinableElementOfRedefinedElement, getRedefinedElement, getRedefinitionContext, has_redefinableElementOfRedefinedElement, hasRedefinedElement, hasRedefinitionContext, isLeaf, setLeaf
-
Methods inherited from interface javax.jmi.reflect.RefBaseObject
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints
-
Methods inherited from interface javax.jmi.reflect.RefFeatured
refGetValue, refInvokeOperation, refInvokeOperation, refSetValue
-
Methods inherited from interface javax.jmi.reflect.RefObject
refClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostComposite
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.compositestructures.mdinternalstructures.StructuredClassifier
getOwnedConnector, getPart, getRole, hasOwnedAttribute, hasOwnedConnector, hasPart, hasRole
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.auxiliaryconstructs.mdtemplates.TemplateableElement
getTemplateBinding, hasTemplateBinding, setOwnedTemplateSignature
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Type
get_associationOfEndType, get_behavioralFeatureOfRaisedException, get_operationOfRaisedException, get_typedElementOfType, getPackage, has_associationOfEndType, has_behavioralFeatureOfRaisedException, has_operationOfRaisedException, has_typedElementOfType, setPackage
-
-
-
-
Method Detail
-
getEdge
java.util.Collection<ActivityEdge> getEdge()
Returns the value of the 'Edge' containment reference list. The list contents are of typeActivityEdge
. It is bidirectional and its opposite is 'Activity
'. ActivityEdges expressing flow between the nodes of the Activity.- Returns:
- the value of the 'Edge' containment reference list.
- See Also:
UMLPackage.getActivity_Edge()
,ActivityEdge.getActivity()
- Model:
- opposite="activity" containment="true" resolveProxies="true" ordered="false"
- Generated:
-
getGroup
java.util.Collection<ActivityGroup> getGroup()
Returns the value of the 'Group' containment reference list. The list contents are of typeActivityGroup
. It is bidirectional and its opposite is 'In Activity
'. Top-level ActivityGroups in the Activity.- Returns:
- the value of the 'Group' containment reference list.
- See Also:
UMLPackage.getActivity_Group()
,ActivityGroup.getInActivity()
- Model:
- opposite="inActivity" containment="true" resolveProxies="true" ordered="false"
- Generated:
-
isReadOnly
boolean isReadOnly()
Returns the value of the 'Read Only' attribute. The default value is"false"
. If true, this Activity must not make any changes to objects. The default is false (an Activity may make nonlocal changes). (This is an assertion, not an executable property. It may be used by an execution engine to optimize model execution. If the assertion is violated by the Activity, then the model is ill-formed.)- Returns:
- the value of the 'Read Only' attribute.
- See Also:
setReadOnly(boolean)
,com.nomagic.uml2.ext.magicdraw.metadata.UMLPackage#getActivity_ReadOnly()
- Model:
- default="false" dataType="com.nomagic.uml2.ext.magicdraw.Boolean" required="true" ordered="false"
- Generated:
-
setReadOnly
void setReadOnly(boolean value)
Sets the value of the 'Read Only
' attribute.- Parameters:
value
- the new value of the 'Read Only' attribute.- See Also:
isReadOnly()
- Generated:
-
isSingleExecution
boolean isSingleExecution()
Returns the value of the 'Single Execution' attribute. The default value is"false"
. If true, all invocations of the Activity are handled by the same execution.- Returns:
- the value of the 'Single Execution' attribute.
- See Also:
setSingleExecution(boolean)
,com.nomagic.uml2.ext.magicdraw.metadata.UMLPackage#getActivity_SingleExecution()
- Model:
- default="false" dataType="com.nomagic.uml2.ext.magicdraw.Boolean" required="true" ordered="false"
- Generated:
-
setSingleExecution
void setSingleExecution(boolean value)
Sets the value of the 'Single Execution
' attribute.- Parameters:
value
- the new value of the 'Single Execution' attribute.- See Also:
isSingleExecution()
- Generated:
-
getPartition
java.util.Collection<ActivityPartition> getPartition()
Returns the value of the 'Partition' reference list. The list contents are of typeActivityPartition
. It is bidirectional and its opposite is 'activity Of Partition
'. Top-level ActivityPartitions in the Activity.- Returns:
- the value of the 'Partition' reference list.
- See Also:
UMLPackage.getActivity_Partition()
,ActivityPartition.get_activityOfPartition()
- Model:
- opposite="_activityOfPartition" ordered="false"
- Generated:
-
getVariable
java.util.Collection<Variable> getVariable()
Returns the value of the 'Variable' containment reference list. The list contents are of typeVariable
. It is bidirectional and its opposite is 'Activity Scope
'. Top-level Variables defined by the Activity.- Returns:
- the value of the 'Variable' containment reference list.
- See Also:
UMLPackage.getActivity_Variable()
,Variable.getActivityScope()
- Model:
- opposite="activityScope" containment="true" resolveProxies="true" ordered="false"
- Generated:
-
getStructuredNode
java.util.Collection<StructuredActivityNode> getStructuredNode()
Returns the value of the 'Structured Node' reference list. The list contents are of typeStructuredActivityNode
. It is bidirectional and its opposite is 'Activity
'. Top-level StructuredActivityNodes in the Activity.- Returns:
- the value of the 'Structured Node' reference list.
- See Also:
UMLPackage.getActivity_StructuredNode()
,StructuredActivityNode.getActivity()
- Model:
- opposite="activity" transient="true" changeable="false" volatile="true" derived="true" ordered="false"
- Generated:
-
getNode
java.util.Collection<ActivityNode> getNode()
Returns the value of the 'Node' containment reference list. The list contents are of typeActivityNode
. It is bidirectional and its opposite is 'Activity
'. ActivityNodes coordinated by the Activity.- Returns:
- the value of the 'Node' containment reference list.
- See Also:
UMLPackage.getActivity_Node()
,ActivityNode.getActivity()
- Model:
- opposite="activity" containment="true" resolveProxies="true" ordered="false"
- Generated:
-
hasEdge
boolean hasEdge() throws javax.jmi.reflect.JmiException
- Throws:
javax.jmi.reflect.JmiException
- Generated:
-
hasGroup
boolean hasGroup() throws javax.jmi.reflect.JmiException
- Throws:
javax.jmi.reflect.JmiException
- Generated:
-
hasPartition
boolean hasPartition() throws javax.jmi.reflect.JmiException
- Throws:
javax.jmi.reflect.JmiException
- Generated:
-
hasVariable
boolean hasVariable() throws javax.jmi.reflect.JmiException
- Throws:
javax.jmi.reflect.JmiException
- Generated:
-
hasStructuredNode
boolean hasStructuredNode() throws javax.jmi.reflect.JmiException
- Throws:
javax.jmi.reflect.JmiException
- Generated:
-
hasNode
boolean hasNode() throws javax.jmi.reflect.JmiException
- Throws:
javax.jmi.reflect.JmiException
- Generated:
-
-