|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OpaqueExpression
A representation of the model object 'Opaque Expression'.
UMLPackage.getOpaqueExpression()
Field Summary |
---|
Fields inherited from interface org.eclipse.uml2.uml.NamedElement |
---|
SEPARATOR |
Method Summary | |
---|---|
Behavior |
getBehavior()
Returns the value of the 'Behavior' reference |
org.eclipse.emf.common.util.EList<java.lang.String> |
getBodies()
Returns the value of the 'Body' attribute list. |
org.eclipse.emf.common.util.EList<java.lang.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(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
If the language attribute is not empty, then the size of the body and language arrays must be the same. |
boolean |
validateOneReturnResultParameter(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
The behavior must have exactly one return result parameter. |
boolean |
validateOnlyReturnResultParameters(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> 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. |
Methods inherited from interface org.eclipse.uml2.uml.ValueSpecification |
---|
booleanValue, integerValue, isComputable, isNull, realValue, stringValue, unlimitedValue |
Methods inherited from interface org.eclipse.uml2.uml.PackageableElement |
---|
validateNamespaceNeedsVisibility |
Methods inherited from interface org.eclipse.uml2.uml.ParameterableElement |
---|
getOwningTemplateParameter, getTemplateParameter, isCompatibleWith, isTemplateParameter, setOwningTemplateParameter, setTemplateParameter |
Methods inherited from interface org.eclipse.uml2.uml.TypedElement |
---|
getType, setType |
Methods inherited from interface org.eclipse.uml2.uml.NamedElement |
---|
allNamespaces, allOwningPackages, createDependency, createNameExpression, createUsage, getClientDependencies, getClientDependency, getClientDependency, getLabel, getLabel, getName, getNameExpression, getNamespace, getQualifiedName, getVisibility, isDistinguishableFrom, isSetName, isSetVisibility, separator, setName, setNameExpression, setVisibility, unsetName, unsetVisibility, validateHasNoQualifiedName, validateHasQualifiedName, validateVisibilityNeedsOwnership |
Methods inherited from interface org.eclipse.emf.ecore.EModelElement |
---|
getEAnnotation, getEAnnotations |
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 org.eclipse.emf.common.notify.Notifier |
---|
eAdapters, eDeliver, eNotify, eSetDeliver |
Method Detail |
---|
org.eclipse.emf.common.util.EList<java.lang.String> getBodies()
String
.
A textual definition of the behavior of the OpaqueExpression, possibly in multiple languages.
From package UML::Values.
getBodies
in interface BodyOwner
isSetBodies()
,
unsetBodies()
,
UMLPackage.getOpaqueExpression_Body()
void unsetBodies()
Body
' attribute list.
isSetBodies()
,
getBodies()
boolean isSetBodies()
Body
' attribute list is set.
unsetBodies()
,
getBodies()
org.eclipse.emf.common.util.EList<java.lang.String> getLanguages()
String
.
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.
From package UML::Values.
getLanguages
in interface BodyOwner
isSetLanguages()
,
unsetLanguages()
,
UMLPackage.getOpaqueExpression_Language()
void unsetLanguages()
Language
' attribute list.
isSetLanguages()
,
getLanguages()
boolean isSetLanguages()
Language
' attribute list is set.
unsetLanguages()
,
getLanguages()
Parameter getResult()
From package UML::Values.
UMLPackage.getOpaqueExpression_Result()
Behavior getBehavior()
From package UML::Values.
setBehavior(Behavior)
,
UMLPackage.getOpaqueExpression_Behavior()
void setBehavior(Behavior value)
Behavior
' reference.
value
- the new value of the 'Behavior' reference.getBehavior()
boolean validateLanguageBodySize(org.eclipse.emf.common.util.DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)
diagnostics
- The chain of diagnostics to which problems are to be appended.context
- The cache of context-specific information.
boolean validateOnlyReturnResultParameters(org.eclipse.emf.common.util.DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)
diagnostics
- The chain of diagnostics to which problems are to be appended.context
- The cache of context-specific information.
boolean validateOneReturnResultParameter(org.eclipse.emf.common.util.DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)
diagnostics
- The chain of diagnostics to which problems are to be appended.context
- The cache of context-specific information.
int value()
From package UML::Values.
boolean isIntegral()
From package UML::Values.
boolean isPositive()
From package UML::Values.
boolean isNonNegative()
From package UML::Values.
|
Copyright 2003, 2014 IBM Corporation, CEA, and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |