org.eclipse.ocl.examples.pivot
Interface OpaqueExpression

All Superinterfaces:
DomainElement, DomainNamedElement, DomainTypedElement, Element, org.eclipse.emf.ecore.EObject, Nameable, NamedElement, org.eclipse.emf.common.notify.Notifier, ParameterableElement, PivotObject, TypedElement, ValueSpecification, Visitable
All Known Subinterfaces:
ExpressionInOCL
All Known Implementing Classes:
ExpressionInOCLImpl, OpaqueExpressionImpl

public interface OpaqueExpression
extends ValueSpecification

A representation of the model object 'Opaque Expression'. An opaque expression is an uninterpreted textual statement that denotes a (possibly empty) set of values when evaluated in a context.

The following features are supported:

See Also:
PivotPackage.getOpaqueExpression()
Generated
Model

Method Summary
 org.eclipse.emf.common.util.EList<java.lang.String> getBody()
          Returns the value of the 'Body' attribute list.
 org.eclipse.emf.common.util.EList<java.lang.String> getLanguage()
          Returns the value of the 'Language' attribute list.
 org.eclipse.emf.common.util.EList<java.lang.String> getMessage()
          Returns the value of the 'Message' attribute list.
 ExpressionInOCL getValueExpression()
          Returns the value of the 'Value Expression' reference.
 void setValueExpression(ExpressionInOCL value)
          Sets the value of the 'Value Expression' reference.
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.ValueSpecification
booleanValue, integerValue, isComputable, isNull, stringValue, unlimitedValue
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.TypedElement
getType, setType
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.NamedElement
createOwnedAnnotation, createOwnedRule, getName, getOwnedAnnotation, getOwnedRule, isStatic, setIsStatic, setName
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.Element
allOwnedElements, createOwnedComment, getETarget, getOwnedComment, validateNotOwnSelf
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.util.Visitable
accept, eClass
 
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
 
Methods inherited from interface org.eclipse.ocl.examples.domain.elements.DomainNamedElement
getName
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.ParameterableElement
getOwningTemplateParameter, getTemplateParameter, isCompatibleWith, isTemplateParameter, setOwningTemplateParameter, setTemplateParameter
 

Method Detail

getBody

org.eclipse.emf.common.util.EList<java.lang.String> getBody()
Returns the value of the 'Body' attribute list. The list contents are of type String. The text of the expression, possibly in multiple languages.

Returns:
the value of the 'Body' attribute list.
See Also:
PivotPackage.getOpaqueExpression_Body()
Generated
Model
unique="false" dataType="org.eclipse.ocl.examples.pivot.String" annotation="http://www.eclipse.org/emf/2002/GenModel get='throw new UnsupportedOperationException(); // FIXME Unimplemented http://www.eclipse.org/ocl/3.1.0/Pivot!OpaqueExpression!body'"

getLanguage

org.eclipse.emf.common.util.EList<java.lang.String> getLanguage()
Returns the value of the 'Language' attribute list. The list contents are of type 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.

Returns:
the value of the 'Language' attribute list.
See Also:
PivotPackage.getOpaqueExpression_Language()
Generated
Model
dataType="org.eclipse.ocl.examples.pivot.String" annotation="http://www.eclipse.org/emf/2002/GenModel get='throw new UnsupportedOperationException(); // FIXME Unimplemented http://www.eclipse.org/ocl/3.1.0/Pivot!OpaqueExpression!language'"

getMessage

org.eclipse.emf.common.util.EList<java.lang.String> getMessage()
Returns the value of the 'Message' attribute list. The list contents are of type String.

If the meaning of the 'Message' attribute list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Message' attribute list.
See Also:
PivotPackage.getOpaqueExpression_Message()
Generated
Model
unique="false" dataType="org.eclipse.ocl.examples.pivot.String" annotation="http://www.eclipse.org/emf/2002/GenModel get='throw new UnsupportedOperationException(); // FIXME Unimplemented http://www.eclipse.org/ocl/3.1.0/Pivot!OpaqueExpression!message'"

getValueExpression

ExpressionInOCL getValueExpression()
Returns the value of the 'Value Expression' reference.

If the meaning of the 'Value Expression' reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Value Expression' reference.
See Also:
setValueExpression(ExpressionInOCL), PivotPackage.getOpaqueExpression_ValueExpression()
Generated
Model
transient="true" ordered="false" annotation="http://www.eclipse.org/emf/2002/GenModel get='throw new UnsupportedOperationException(); // FIXME Unimplemented http://www.eclipse.org/ocl/3.1.0/Pivot!OpaqueExpression!valueExpression'"

setValueExpression

void setValueExpression(ExpressionInOCL value)
Sets the value of the 'Value Expression' reference.

Parameters:
value - the new value of the 'Value Expression' reference.
See Also:
getValueExpression()
Generated