public interface OpaqueExpression extends ValueSpecification
The following features are supported:
UMLPackage.getOpaqueExpression()
SEPARATOR
Modifier and Type | Method and Description |
---|---|
Behavior |
getBehavior()
Returns the value of the 'Behavior' reference
|
MDWEList<String> |
getBodies()
Returns the value of the 'Body' attribute list.
|
MDWEList<String> |
getLanguages()
Returns the value of the 'Language' attribute list.
|
Parameter |
getResult()
Returns the value of the 'Result' reference
|
boolean |
isIntegral()
The query isIntegral() tells whether an expression is intended to produce an integer.
|
boolean |
isNonNegative()
The query isNonNegative() tells whether an integer expression has a non-negative value.
|
boolean |
isPositive()
The query isPositive() tells whether an integer expression has a positive value.
|
boolean |
isSetBodies()
Returns whether the value of the '
Body ' attribute list is set |
boolean |
isSetLanguages()
Returns whether the value of the '
Language ' attribute list is
set |
void |
setBehavior(Behavior value)
Sets the value of the '
Behavior ' reference |
void |
unsetBodies()
Unsets the value of the '
Body ' attribute list |
void |
unsetLanguages()
Unsets the value of the '
Language ' attribute list |
boolean |
validateLanguageBodySize(DiagnosticChain diagnostics,
Map context)
If the language attribute is not empty, then the size of the body and language arrays must be the same.
|
boolean |
validateOneReturnResultParameter(DiagnosticChain diagnostics,
Map context)
The behavior must have exactly one return result parameter.
|
boolean |
validateOnlyReturnResultParameters(DiagnosticChain diagnostics,
Map context)
The behavior may only have return result parameters.
|
int |
value()
The query value() gives an integer value for an expression intended to produce one.
|
booleanValue, integerValue, isComputable, isNull, stringValue, unlimitedValue
getOwningTemplateParameter, getTemplateParameter, isCompatibleWith, isTemplateParameter, setOwningTemplateParameter, setTemplateParameter
getType, setType
allNamespaces, allOwningPackages, createDependency, createNameExpression, getClientDependencies, getClientDependency, getClientDependency, getLabel, getLabel, getName, getNameExpression, getNamespace, getQualifiedName, getVisibility, isDistinguishableFrom, isSetName, isSetVisibility, separator, setName, setNameExpression, setVisibility, unsetName, unsetVisibility, validateHasNoQualifiedName, validateHasQualifiedName, validateVisibilityNeedsOwnership
addKeyword, allOwnedElements, applyStereotype, createEAnnotation, createOwnedComment, destroy, getApplicableStereotype, getApplicableStereotypes, getAppliedStereotype, getAppliedStereotypes, getAppliedSubstereotype, getAppliedSubstereotypes, getKeywords, getModel, getNearestPackage, getOwnedComments, getOwnedElements, getOwner, getRelationships, getRelationships, getRequiredStereotype, getRequiredStereotypes, getSourceDirectedRelationships, getSourceDirectedRelationships, getStereotypeApplication, getStereotypeApplications, getTargetDirectedRelationships, getTargetDirectedRelationships, getValue, hasKeyword, hasValue, isStereotypeApplicable, isStereotypeApplied, isStereotypeRequired, mustBeOwned, removeKeyword, setValue, unapplyStereotype, validateHasOwner, validateNotOwnSelf
compareTo, eExtendedClass, eIsInstanceOf, eIsInstanceOf, eIsProfiled, eIsRemoved, eMetamodel, eMetaTypeName, eModel, eRemove, eSetUniqueID, eUniqueID, superScript, superScript, toBoolean, toBoolean, toByte, toByte, toChar, toChar, toDouble, toDouble, toFloat, toFloat, toInt, toInt, toList, toList, toList, toList, toList, toLong, toLong, toObject, toObject, toSet, toSet, toShort, toShort, toString, toString
getEAnnotation, getEAnnotations
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
eAdapters, eDeliver, eNotify, eSetDeliver
MDWEList<String> getBodies()
String
.
The text of the expression, possibly in multiple languages.
isSetBodies()
,
unsetBodies()
,
UMLPackage.getOpaqueExpression_Body()
void unsetBodies()
Body
' attribute list.
isSetBodies()
,
getBodies()
boolean isSetBodies()
Body
' attribute list is set.
unsetBodies()
,
getBodies()
MDWEList<String> getLanguages()
String
.
Specifies the languages in which the expression is stated. The interpretation of the expression body depends on the languages. If the languages
are unspecified, they might be implicit from the expression body or the context. Languages are matched to body strings by order.
isSetLanguages()
,
unsetLanguages()
,
UMLPackage.getOpaqueExpression_Language()
void unsetLanguages()
Language
' attribute list.
isSetLanguages()
,
getLanguages()
boolean isSetLanguages()
Language
' attribute list is
set.
unsetLanguages()
,
getLanguages()
Parameter getResult()
UMLPackage.getOpaqueExpression_Result()
Behavior getBehavior()
setBehavior(Behavior)
,
UMLPackage.getOpaqueExpression_Behavior()
void setBehavior(Behavior value)
Behavior
' reference.
value
- the new value of the 'Behavior' reference.getBehavior()
boolean validateLanguageBodySize(DiagnosticChain diagnostics, Map context)
boolean validateOnlyReturnResultParameters(DiagnosticChain diagnostics, Map context)
boolean validateOneReturnResultParameter(DiagnosticChain diagnostics, Map context)
int value()
boolean isIntegral()
boolean isPositive()
boolean isNonNegative()