public interface Parameter extends ConnectableElement, MultiplicityElement
A Parameter is a specification of an argument used to pass information into or out of an invocation of a BehavioralFeature. Parameters can be treated as ConnectableElements within Collaborations.
The following features are supported:
UMLPackage.getParameter()
Modifier and Type | Method and Description |
---|---|
java.util.Collection<ActivityParameterNode> |
get_activityParameterNodeOfParameter()
Returns the value of the 'activity Parameter Node Of Parameter' reference list.
|
Behavior |
get_behaviorOfOwnedParameter()
Returns the value of the 'behavior Of Owned Parameter' container reference.
|
java.lang.String |
getDefault()
Returns the value of the 'Default' attribute.
|
ValueSpecification |
getDefaultValue()
Returns the value of the 'Default Value' containment reference.
|
ParameterDirectionKind |
getDirection()
Returns the value of the 'Direction' attribute.
|
ParameterEffectKind |
getEffect()
Returns the value of the 'Effect' attribute.
|
Operation |
getOperation()
Returns the value of the 'Operation' container reference.
|
BehavioralFeature |
getOwnerFormalParam()
Returns the value of the 'Owner Formal Param' container reference.
|
java.util.Collection<ParameterSet> |
getParameterSet()
Returns the value of the 'Parameter Set' reference list.
|
boolean |
has_activityParameterNodeOfParameter() |
boolean |
hasParameterSet() |
boolean |
isException()
Returns the value of the 'Exception' attribute.
|
boolean |
isStream()
Returns the value of the 'Stream' attribute.
|
void |
set_behaviorOfOwnedParameter(Behavior value)
Sets the value of the '
behavior Of Owned Parameter '
container reference. |
void |
setDefaultValue(ValueSpecification value)
Sets the value of the '
Default Value ' containment reference. |
void |
setDirection(ParameterDirectionKind value)
Sets the value of the '
Direction ' attribute. |
void |
setEffect(ParameterEffectKind value)
Sets the value of the '
Effect ' attribute. |
void |
setException(boolean value)
Sets the value of the '
Exception ' attribute. |
void |
setOperation(Operation value)
Sets the value of the '
Operation ' container reference. |
void |
setOwnerFormalParam(BehavioralFeature value)
Sets the value of the '
Owner Formal Param ' container reference. |
void |
setStream(boolean value)
Sets the value of the '
Stream ' attribute. |
get_collaborationOfCollaborationRole, get_lifelineOfRepresents, get_structuredClassifierOfRole, getEnd, getTemplateParameter, has_collaborationOfCollaborationRole, has_lifelineOfRepresents, has_structuredClassifierOfRole, hasEnd, setTemplateParameter
getType, setType
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
get_activityPartitionOfRepresents, get_commentOfAnnotatedElement, get_constraintOfConstrainedElement, get_diagramOfContext, get_directedRelationshipOfSource, get_directedRelationshipOfTarget, get_elementOfSyncElement, get_elementValueOfElement, get_relationshipOfRelatedElement, getAppliedStereotypeInstance, getOwnedComment, getOwnedElement, getOwner, getSyncElement, has_activityPartitionOfRepresents, has_commentOfAnnotatedElement, has_constraintOfConstrainedElement, has_diagramOfContext, has_directedRelationshipOfSource, has_directedRelationshipOfTarget, has_elementOfSyncElement, has_elementValueOfElement, has_relationshipOfRelatedElement, hasOwnedComment, hasOwnedElement, setAppliedStereotypeInstance, setOwner, setSyncElement
get_representationText, getLocalID, isInvalid, set_representationText, setLocalID, sGetLocalID
getID, getMDExtension, getMdExtensions, setID
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
eAdapters, eDeliver, eNotify, eSetDeliver
accept, addPropertyChangeListener, canAdd, canAdd, canAddChild, canBeDeleted, firePropertyChange, getClassType, getHumanName, getHumanType, getObjectParent, isEditable, removePropertyChangeListener, sGetID
refClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostComposite
refGetValue, refGetValue, refInvokeOperation, refInvokeOperation, refSetValue, refSetValue
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints
get_templateParameterOfDefault, get_templateParameterOfOwnedDefault, get_templateParameterSubstitutionOfActual, get_templateParameterSubstitutionOfOwnedActual, getOwningTemplateParameter, has_templateParameterOfDefault, has_templateParameterSubstitutionOfActual, set_templateParameterOfOwnedDefault, set_templateParameterSubstitutionOfOwnedActual, setOwningTemplateParameter, setTemplateParameter
getLower, getLowerValue, getUpper, getUpperValue, isOrdered, isUnique, setLowerValue, setOrdered, setUnique, setUpperValue
java.util.Collection<ParameterSet> getParameterSet()
ParameterSet
.
It is bidirectional and its opposite is 'Parameter
'.
The ParameterSets containing the parameter. See ParameterSet.
UMLPackage.getParameter_ParameterSet()
,
ParameterSet.getParameter()
@CheckForNull Behavior get_behaviorOfOwnedParameter()
Owned Parameter
'.
If the meaning of the 'behavior Of Owned Parameter' container reference isn't clear, there really should be more of a description here...
set_behaviorOfOwnedParameter(Behavior)
,
UMLPackage.getParameter__behaviorOfOwnedParameter()
,
Behavior.getOwnedParameter()
void set_behaviorOfOwnedParameter(@CheckForNull Behavior value)
behavior Of Owned Parameter
'
container reference.
value
- the new value of the 'behavior Of Owned Parameter' container reference.get_behaviorOfOwnedParameter()
java.util.Collection<ActivityParameterNode> get_activityParameterNodeOfParameter()
ActivityParameterNode
.
It is bidirectional and its opposite is
'Parameter
'.
If the meaning of the 'activity Parameter Node Of Parameter' reference list isn't clear, there really should be more of a description here...
UMLPackage.getParameter__activityParameterNodeOfParameter()
,
ActivityParameterNode.getParameter()
@CheckForNull ParameterDirectionKind getDirection()
"in"
.
The literals are from the enumeration ParameterDirectionKind
.
Indicates whether a parameter is being sent into or out of a behavioral element.
ParameterDirectionKind
,
setDirection(ParameterDirectionKind)
,
UMLPackage.getParameter_Direction()
void setDirection(@CheckForNull ParameterDirectionKind value)
Direction
' attribute.
value
- the new value of the 'Direction' attribute.ParameterDirectionKind
,
getDirection()
@CheckForNull java.lang.String getDefault()
""
.
A String that represents a value to be used when no argument is supplied for the Parameter.
UMLPackage.getParameter_Default()
@CheckForNull ValueSpecification getDefaultValue()
Owning Parameter
'.
Specifies a ValueSpecification that represents a value to be used when no argument is supplied for the Parameter.
setDefaultValue(ValueSpecification)
,
UMLPackage.getParameter_DefaultValue()
,
ValueSpecification.getOwningParameter()
void setDefaultValue(@CheckForNull ValueSpecification value)
Default Value
' containment reference.
value
- the new value of the 'Default Value' containment reference.getDefaultValue()
@CheckForNull Operation getOperation()
Owned Parameter
'.
The Operation owning this parameter.
setOperation(Operation)
,
UMLPackage.getParameter_Operation()
,
Operation.getOwnedParameter()
void setOperation(@CheckForNull Operation value)
Operation
' container reference.
value
- the new value of the 'Operation' container reference.getOperation()
@CheckForNull ParameterEffectKind getEffect()
setEffect(ParameterEffectKind)
,
UMLPackage.getParameter_Effect()
void setEffect(@CheckForNull ParameterEffectKind value)
Effect
' attribute.
value
- the new value of the 'Effect' attribute.getEffect()
boolean isException()
"false"
.
Tells whether an output parameter may emit a value to the exclusion of the other outputs.
setException(boolean)
,
UMLPackage.getParameter_Exception()
void setException(boolean value)
Exception
' attribute.
value
- the new value of the 'Exception' attribute.isException()
boolean isStream()
"false"
.
Tells whether an input parameter may accept values while its behavior is executing, or whether an output parameter may post values while the behavior is
executing.
setStream(boolean)
,
UMLPackage.getParameter_Stream()
void setStream(boolean value)
Stream
' attribute.
value
- the new value of the 'Stream' attribute.isStream()
@CheckForNull BehavioralFeature getOwnerFormalParam()
Owned Parameter
'.
If the meaning of the 'Owner Formal Param' container reference isn't clear, there really should be more of a description here...
setOwnerFormalParam(BehavioralFeature)
,
UMLPackage.getParameter_OwnerFormalParam()
,
BehavioralFeature.getOwnedParameter()
void setOwnerFormalParam(@CheckForNull BehavioralFeature value)
Owner Formal Param
' container reference.
value
- the new value of the 'Owner Formal Param' container reference.getOwnerFormalParam()
boolean hasParameterSet() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
boolean has_activityParameterNodeOfParameter() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException