org.eclipse.ocl.examples.pivot
Interface OpaqueExpression

All Superinterfaces:
DomainElement, DomainExpression, 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, DomainExpression

A representation of the model object 'Opaque Expression'.

See Also:
PivotPackage.getOpaqueExpression()
Extends:
org.eclipse.ocl.examples.domain.elements.DomainExpression 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:

Generated

Method Summary
 java.util.List<java.lang.String> getBody()
          Returns the value of the 'Body' attribute list.
 ExpressionInOCL getExpressionInOCL()
          Returns the value of the 'Expression In OCL' containment reference.
 java.util.List<java.lang.String> getLanguage()
          Returns the value of the 'Language' attribute list.
 ExpressionInOCL getValidExpressionInOCL()
           
 void setExpressionInOCL(ExpressionInOCL value)
          Sets the value of the 'Expression In OCL' containment 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, isRequired, setIsRequired, setType
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.NamedElement
getName, isStatic, setIsStatic, setName
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.Element
allOwnedElements, getETarget, getExtension, getOwnedAnnotation, getOwnedComment, getValue
 
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.pivot.util.Visitable
accept, eClass
 
Methods inherited from interface org.eclipse.ocl.examples.domain.elements.DomainTypedElement
getTypeId
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.ParameterableElement
getOwningTemplateParameter, getTemplateParameter, isCompatibleWith, isTemplateParameter, setOwningTemplateParameter, setTemplateParameter
 

Method Detail

getBody

java.util.List<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

getExpressionInOCL

@Nullable
ExpressionInOCL getExpressionInOCL()
Returns the value of the 'Expression In OCL' containment reference.

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

Returns:
the value of the 'Expression In OCL' containment reference.
See Also:
setExpressionInOCL(ExpressionInOCL), PivotPackage.getOpaqueExpression_ExpressionInOCL()
Generated

setExpressionInOCL

void setExpressionInOCL(ExpressionInOCL value)
Sets the value of the 'Expression In OCL' containment reference.

Parameters:
value - the new value of the 'Expression In OCL' containment reference.
See Also:
getExpressionInOCL()
Generated

getLanguage

java.util.List<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

getValidExpressionInOCL

@NonNull
ExpressionInOCL getValidExpressionInOCL()
                                        throws ParserException
Throws:
ParserException
Generated
NOT