|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A representation of the model object 'Opaque Expression'. An expression contains a language-specific text string used to describe a value or values, and an optional specification of the language. One predefined language for specifying expressions is OCL. Natural language or programming languages may also be used.
The following features are supported:
UML2Package.getOpaqueExpression()
Field Summary | |
static String |
copyright
|
Fields inherited from interface org.eclipse.uml2.NamedElement |
SEPARATOR |
Method Summary | |
Behavior |
getBehavior()
Returns the value of the 'Behavior' reference |
String |
getBody()
Returns the value of the 'Body' attribute. |
String |
getLanguage()
Returns the value of the 'Language' attribute. |
Parameter |
getResult()
Returns the value of the 'Result' reference |
void |
setBehavior(Behavior value)
Sets the value of the ' Behavior ' reference |
void |
setBody(String value)
Sets the value of the ' Body ' attribute |
void |
setLanguage(String value)
Sets the value of the ' Language ' attribute |
Methods inherited from interface org.eclipse.uml2.ValueSpecification |
booleanValue, integerValue, isComputable, isNull, stringValue, unlimitedValue |
Methods inherited from interface org.eclipse.uml2.TypedElement |
getType, setType |
Methods inherited from interface org.eclipse.uml2.NamedElement |
allNamespaces, createNameExpression, getClientDependencies, getClientDependency, getName, getNameExpression, getNamespace, getOwnedElements, getOwner, getQualifiedName, getVisibility, isDistinguishableFrom, qualifiedName, separator, setName, setNameExpression, setVisibility, validateNoName, validateQualifiedName, validateVisibilityNeedsOwnership |
Methods inherited from interface org.eclipse.uml2.TemplateableElement |
createOwnedTemplateSignature, createTemplateBinding, getOwnedTemplateSignature, getTemplateBindings, parameterableElements, setOwnedTemplateSignature |
Methods inherited from interface org.eclipse.uml2.Element |
addKeyword, allOwnedElements, apply, createEAnnotation, createOwnedComment, destroy, getApplicableStereotype, getApplicableStereotypes, getAppliedStereotype, getAppliedStereotypes, getAppliedVersion, getKeywords, getModel, getNearestPackage, getOwnedComments, getValue, hasKeyword, isApplied, isRequired, mustBeOwned, removeKeyword, setValue, unapply, validateHasOwner, validateNotOwnSelf |
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, eIsProxy, eIsSet, eResource, eSet, eUnset |
Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
eAdapters, eDeliver, eNotify, eSetDeliver |
Methods inherited from interface org.eclipse.uml2.ParameterableElement |
getOwner, getOwningParameter, getTemplateParameter, setOwningParameter, setTemplateParameter |
Field Detail |
public static final String copyright
Method Detail |
public String getBody()
""
.
If the meaning of the 'Body' attribute isn't clear, there really should be more of a description here...
The text of the expression.
setBody(String)
,
UML2Package.getOpaqueExpression_Body()
public void setBody(String value)
Body
' attribute.
value
- the new value of the 'Body' attribute.getBody()
public String getLanguage()
""
.
If the meaning of the 'Language' attribute isn't clear, there really should be more of a description here...
Specifies the language in which the expression is stated. The interpretation of the expression body depends on the language. If language is unspecified, it might be implicit from the expression body or the context.
setLanguage(String)
,
UML2Package.getOpaqueExpression_Language()
public void setLanguage(String value)
Language
' attribute.
value
- the new value of the 'Language' attribute.getLanguage()
public Parameter getResult()
If the meaning of the 'Result' reference isn't clear, there really should be more of a description here...
Restricts an opaque expression to return exactly one return result. When the invocation of the opaque expression completes, a single set of values is returned to its owner. This association is derived from the single return result parameter of the associated behavior.
UML2Package.getOpaqueExpression_Result()
public Behavior getBehavior()
If the meaning of the 'Behavior' reference isn't clear, there really should be more of a description here...
Specifies the behavior of the opaque expression.
setBehavior(Behavior)
,
UML2Package.getOpaqueExpression_Behavior()
public void setBehavior(Behavior value)
Behavior
' reference.
value
- the new value of the 'Behavior' reference.getBehavior()
|
Copyright 2003, 2004 IBM Corporation and others. All Rights Reserved. |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |