Interface OpaqueExpression
-
- All Superinterfaces:
BaseElement
,java.lang.Cloneable
,java.lang.Comparable
,Element
,org.eclipse.emf.ecore.EObject
,MDObject
,ModelObject
,NamedElement
,org.eclipse.emf.common.notify.Notifier
,PackageableElement
,ParameterableElement
,javax.jmi.reflect.RefBaseObject
,javax.jmi.reflect.RefFeatured
,javax.jmi.reflect.RefObject
,TypedElement
,ValueSpecification
public interface OpaqueExpression extends ValueSpecification
A representation of the model object 'Opaque Expression'.An OpaqueExpression is a ValueSpecification that specifies the computation of a collection of values either in terms of a UML Behavior or based on a textual statement in a language other than UML
The following features are supported:
- See Also:
UMLPackage.getOpaqueExpression()
- Model:
- annotation="MOF package='classes.mdkernel'"
- Generated:
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Abstraction
get_abstractionOfMapping()
Returns the value of the 'abstraction Of Mapping' container reference.Behavior
getBehavior()
Returns the value of the 'Behavior' reference.java.util.List<java.lang.String>
getBody()
Returns the value of the 'Body' attribute list.java.util.List<java.lang.String>
getLanguage()
Returns the value of the 'Language' attribute list.Parameter
getResult()
Returns the value of the 'Result' reference.boolean
hasBody()
boolean
hasLanguage()
void
set_abstractionOfMapping(Abstraction value)
Sets the value of the 'abstraction Of Mapping
' container reference.void
setBehavior(Behavior value)
Sets the value of the 'Behavior
' reference.-
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.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, has_considerIgnoreFragmentOfMessage, has_durationObservationOfEvent, has_informationFlowOfInformationSource, has_informationFlowOfInformationTarget, has_messageOfSignature, has_namespaceOfMember, has_timeObservationOfEvent, hasClientDependency, hasSupplierDependency, setName, setNameExpression, setNamespace
-
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, getTemplateParameter, has_templateParameterOfDefault, has_templateParameterSubstitutionOfActual, set_templateParameterOfOwnedDefault, set_templateParameterSubstitutionOfOwnedActual, setOwningTemplateParameter, setTemplateParameter
-
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
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.ValueSpecification
get_activityEdgeOfGuard, get_activityEdgeOfWeight, get_changeEventOfChangeExpression, get_durationOfExpr, get_interactionConstraintOfMaxint, get_interactionConstraintOfMinint, get_interactionUseOfArgument, get_interactionUseOfReturnValue, get_intervalOfMax, get_intervalOfMin, get_joinNodeOfJoinSpec, get_lifelineOfSelector, get_messageOfArgument, get_messageOfTarget, get_objectNodeOfUpperBound, get_timeExpressionOfExpr, get_valuePinOfValue, get_valueSpecificationActionOfValue, getExpression, getOwningConstraint, getOwningInstanceSpec, getOwningLower, getOwningParameter, getOwningProperty, getOwningSlot, getOwningUpper, has_intervalOfMax, has_intervalOfMin, set_activityEdgeOfGuard, set_activityEdgeOfWeight, set_changeEventOfChangeExpression, set_durationOfExpr, set_interactionConstraintOfMaxint, set_interactionConstraintOfMinint, set_interactionUseOfArgument, set_interactionUseOfReturnValue, set_joinNodeOfJoinSpec, set_lifelineOfSelector, set_messageOfArgument, set_messageOfTarget, set_objectNodeOfUpperBound, set_timeExpressionOfExpr, set_valuePinOfValue, set_valueSpecificationActionOfValue, setExpression, setOwningConstraint, setOwningInstanceSpec, setOwningLower, setOwningParameter, setOwningProperty, setOwningSlot, setOwningUpper
-
-
-
-
Method Detail
-
getBody
java.util.List<java.lang.String> getBody()
Returns the value of the 'Body' attribute list. The list contents are of typeString
. A textual definition of the behavior of the OpaqueExpression, possibly in multiple languages.- Returns:
- the value of the 'Body' attribute list.
- See Also:
UMLPackage.getOpaqueExpression_Body()
- Model:
- unique="false" dataType="com.nomagic.uml2.ext.magicdraw.String"
- Generated:
-
getLanguage
java.util.List<java.lang.String> getLanguage()
Returns the value of the 'Language' attribute list. The list contents are of typeString
. Specifies the languages used to express the textual bodies of the OpaqueExpression. Languages are matched to body Strings by order. The interpretation of the body depends on the languages. If the languages are unspecified, they may be implicit from the expression body or the context.- Returns:
- the value of the 'Language' attribute list.
- See Also:
UMLPackage.getOpaqueExpression_Language()
- Model:
- dataType="com.nomagic.uml2.ext.magicdraw.String"
- Generated:
-
getResult
@CheckForNull Parameter getResult()
Returns the value of the 'Result' reference. It is bidirectional and its opposite is 'opaque Expression Of Result
'. If an OpaqueExpression is specified using a UML Behavior, then this refers to the single required return Parameter of that Behavior. When the Behavior completes execution, the values on this Parameter give the result of evaluating the OpaqueExpression.- Returns:
- the value of the 'Result' reference.
- See Also:
UMLPackage.getOpaqueExpression_Result()
,com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Parameter#get_opaqueExpressionOfResult
- Model:
- opposite="_opaqueExpressionOfResult" transient="true" changeable="false" volatile="true" derived="true" ordered="false"
- Generated:
-
get_abstractionOfMapping
@CheckForNull Abstraction get_abstractionOfMapping()
Returns the value of the 'abstraction Of Mapping' container reference. It is bidirectional and its opposite is 'Mapping
'.If the meaning of the 'abstraction Of Mapping' container reference isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'abstraction Of Mapping' container reference.
- See Also:
set_abstractionOfMapping(Abstraction)
,UMLPackage.getOpaqueExpression__abstractionOfMapping()
,Abstraction.getMapping()
- Model:
- opposite="mapping" transient="false" ordered="false"
- Generated:
-
set_abstractionOfMapping
void set_abstractionOfMapping(@CheckForNull Abstraction value)
Sets the value of the 'abstraction Of Mapping
' container reference.- Parameters:
value
- the new value of the 'abstraction Of Mapping' container reference.- See Also:
get_abstractionOfMapping()
- Generated:
-
getBehavior
@CheckForNull Behavior getBehavior()
Returns the value of the 'Behavior' reference. It is bidirectional and its opposite is 'opaque Expression Of Behavior
'. Specifies the behavior of the OpaqueExpression as a UML Behavior.- Returns:
- the value of the 'Behavior' reference.
- See Also:
setBehavior(Behavior)
,UMLPackage.getOpaqueExpression_Behavior()
,Behavior.get_opaqueExpressionOfBehavior()
- Model:
- opposite="_opaqueExpressionOfBehavior" ordered="false"
- Generated:
-
setBehavior
void setBehavior(@CheckForNull Behavior value)
Sets the value of the 'Behavior
' reference.- Parameters:
value
- the new value of the 'Behavior' reference.- See Also:
getBehavior()
- Generated:
-
hasBody
boolean hasBody() throws javax.jmi.reflect.JmiException
- Throws:
javax.jmi.reflect.JmiException
- Generated:
-
hasLanguage
boolean hasLanguage() throws javax.jmi.reflect.JmiException
- Throws:
javax.jmi.reflect.JmiException
- Generated:
-
-