Interface ObjectNode
-
- All Superinterfaces:
ActivityNode
,BaseElement
,java.lang.Cloneable
,java.lang.Comparable
,Element
,org.eclipse.emf.ecore.EObject
,MDObject
,ModelObject
,NamedElement
,org.eclipse.emf.common.notify.Notifier
,RedefinableElement
,javax.jmi.reflect.RefBaseObject
,javax.jmi.reflect.RefFeatured
,javax.jmi.reflect.RefObject
,TypedElement
- All Known Subinterfaces:
ActionInputPin
,ActivityParameterNode
,CentralBufferNode
,DataStoreNode
,ExpansionNode
,InputPin
,OutputPin
,Pin
,ValuePin
public interface ObjectNode extends ActivityNode, TypedElement
A representation of the model object 'Object Node'.An ObjectNode is an abstract ActivityNode that may hold tokens within the object flow in an Activity. ObjectNodes also support token selection, limitation on the number of tokens held, specification of the state required for tokens being held, and carrying control values.
The following features are supported:
- See Also:
UMLPackage.getObjectNode()
- Model:
- abstract="true" annotation="MOF package='activities.mdbasicactivities'"
- Generated:
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Collection<ExceptionHandler>
get_exceptionHandlerOfExceptionInput()
Returns the value of the 'exception Handler Of Exception Input' reference list.java.util.Collection<State>
getInState()
Returns the value of the 'In State' reference list.ObjectNodeOrderingKind
getOrdering()
Returns the value of the 'Ordering' attribute.Behavior
getSelection()
Returns the value of the 'Selection' reference.ValueSpecification
getUpperBound()
Returns the value of the 'Upper Bound' containment reference.boolean
has_exceptionHandlerOfExceptionInput()
boolean
hasInState()
boolean
isControlType()
Returns the value of the 'Control Type' attribute.void
setControlType(boolean value)
Sets the value of the 'Control Type
' attribute.void
setOrdering(ObjectNodeOrderingKind value)
Sets the value of the 'Ordering
' attribute.void
setSelection(Behavior value)
Sets the value of the 'Selection
' reference.void
setUpperBound(ValueSpecification value)
Sets the value of the 'Upper Bound
' containment reference.-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.activities.mdfundamentalactivities.ActivityNode
get_activityNodeOfRedefinedNode, getActivity, getIncoming, getInGroup, getInInterruptibleRegion, getInPartition, getInStructuredNode, getOutgoing, getRedefinedNode, has_activityNodeOfRedefinedNode, hasIncoming, hasInGroup, hasInInterruptibleRegion, hasInPartition, hasOutgoing, hasRedefinedNode, setActivity, setInStructuredNode
-
Methods inherited from interface com.nomagic.magicdraw.uml.BaseElement
accept, addPropertyChangeListener, canAdd, canAdd, canAddChild, canBeDeleted, firePropertyChange, getClassType, getHumanName, getHumanType, getObjectParent, isEditable, removePropertyChangeListener, sGetID
-
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 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, getVisibility, has_considerIgnoreFragmentOfMessage, has_durationObservationOfEvent, has_informationFlowOfInformationSource, has_informationFlowOfInformationTarget, has_messageOfSignature, has_namespaceOfMember, has_timeObservationOfEvent, hasClientDependency, hasSupplierDependency, setName, setNameExpression, setNamespace, setVisibility
-
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.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.classes.mdkernel.TypedElement
getType, setType
-
-
-
-
Method Detail
-
get_exceptionHandlerOfExceptionInput
java.util.Collection<ExceptionHandler> get_exceptionHandlerOfExceptionInput()
Returns the value of the 'exception Handler Of Exception Input' reference list. The list contents are of typeExceptionHandler
. It is bidirectional and its opposite is 'Exception Input
'.If the meaning of the 'exception Handler Of Exception Input' reference list isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'exception Handler Of Exception Input' reference list.
- See Also:
UMLPackage.getObjectNode__exceptionHandlerOfExceptionInput()
,ExceptionHandler.getExceptionInput()
- Model:
- opposite="exceptionInput" ordered="false"
- Generated:
-
getInState
java.util.Collection<State> getInState()
Returns the value of the 'In State' reference list. The list contents are of typeState
. It is bidirectional and its opposite is 'object Node Of In State
'. The States required to be associated with the values held by tokens on this ObjectNode.- Returns:
- the value of the 'In State' reference list.
- See Also:
UMLPackage.getObjectNode_InState()
,State.get_objectNodeOfInState()
- Model:
- opposite="_objectNodeOfInState" ordered="false"
- Generated:
-
isControlType
boolean isControlType()
Returns the value of the 'Control Type' attribute. The default value is"false"
. Indicates whether the type of the ObjectNode is to be treated as representing control values that may traverse ControlFlows.- Returns:
- the value of the 'Control Type' attribute.
- See Also:
setControlType(boolean)
,com.nomagic.uml2.ext.magicdraw.metadata.UMLPackage#getObjectNode_ControlType()
- Model:
- default="false" dataType="com.nomagic.uml2.ext.magicdraw.Boolean" required="true" ordered="false"
- Generated:
-
setControlType
void setControlType(boolean value)
Sets the value of the 'Control Type
' attribute.- Parameters:
value
- the new value of the 'Control Type' attribute.- See Also:
isControlType()
- Generated:
-
getSelection
@CheckForNull Behavior getSelection()
Returns the value of the 'Selection' reference. It is bidirectional and its opposite is 'object Node Of Selection
'. A Behavior used to select tokens to be offered on outgoing ActivityEdges.- Returns:
- the value of the 'Selection' reference.
- See Also:
setSelection(Behavior)
,UMLPackage.getObjectNode_Selection()
,Behavior.get_objectNodeOfSelection()
- Model:
- opposite="_objectNodeOfSelection" ordered="false"
- Generated:
-
setSelection
void setSelection(@CheckForNull Behavior value)
Sets the value of the 'Selection
' reference.- Parameters:
value
- the new value of the 'Selection' reference.- See Also:
getSelection()
- Generated:
-
getOrdering
@CheckForNull ObjectNodeOrderingKind getOrdering()
Returns the value of the 'Ordering' attribute. The default value is"FIFO"
. The literals are from the enumerationObjectNodeOrderingKind
. Indicates how the tokens held by the ObjectNode are ordered for selection to traverse ActivityEdges outgoing from the ObjectNode.- Returns:
- the value of the 'Ordering' attribute.
- See Also:
ObjectNodeOrderingKind
,setOrdering(ObjectNodeOrderingKind)
,UMLPackage.getObjectNode_Ordering()
- Model:
- default="FIFO" required="true" ordered="false"
- Generated:
-
setOrdering
void setOrdering(@CheckForNull ObjectNodeOrderingKind value)
Sets the value of the 'Ordering
' attribute.- Parameters:
value
- the new value of the 'Ordering' attribute.- See Also:
ObjectNodeOrderingKind
,getOrdering()
- Generated:
-
getUpperBound
@CheckForNull ValueSpecification getUpperBound()
Returns the value of the 'Upper Bound' containment reference. It is bidirectional and its opposite is 'object Node Of Upper Bound
'. The maximum number of tokens that may be held by this ObjectNode. Tokens cannot flow into the ObjectNode if the upperBound is reached. If no upperBound is specified, then there is no limit on how many tokens the ObjectNode can hold.- Returns:
- the value of the 'Upper Bound' containment reference.
- See Also:
setUpperBound(ValueSpecification)
,UMLPackage.getObjectNode_UpperBound()
,ValueSpecification.get_objectNodeOfUpperBound()
- Model:
- opposite="_objectNodeOfUpperBound" containment="true" resolveProxies="true" ordered="false"
- Generated:
-
setUpperBound
void setUpperBound(@CheckForNull ValueSpecification value)
Sets the value of the 'Upper Bound
' containment reference.- Parameters:
value
- the new value of the 'Upper Bound' containment reference.- See Also:
getUpperBound()
- Generated:
-
has_exceptionHandlerOfExceptionInput
boolean has_exceptionHandlerOfExceptionInput() throws javax.jmi.reflect.JmiException
- Throws:
javax.jmi.reflect.JmiException
- Generated:
-
hasInState
boolean hasInState() throws javax.jmi.reflect.JmiException
- Throws:
javax.jmi.reflect.JmiException
- Generated:
-
-