org.eclipse.ocl.examples.pivot
Interface ExpressionInOCL

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

public interface ExpressionInOCL
extends OpaqueExpression

A representation of the model object 'Expression In Ocl'.

The following features are supported:

See Also:
PivotPackage.getExpressionInOCL()
Generated

Method Summary
 OCLExpression getBodyExpression()
          Returns the value of the 'Body Expression' containment reference.
 Variable getContextVariable()
          Returns the value of the 'Context Variable' containment reference.
 java.util.List<Variable> getParameterVariable()
          Returns the value of the 'Parameter Variable' containment reference list.
 Variable getResultVariable()
          Returns the value of the 'Result Variable' containment reference.
 void setBodyExpression(OCLExpression value)
          Sets the value of the 'Body Expression' containment reference.
 void setContextVariable(Variable value)
          Sets the value of the 'Context Variable' containment reference.
 void setResultVariable(Variable value)
          Sets the value of the 'Result Variable' containment reference.
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.OpaqueExpression
getBody, getExpressionInOCL, getLanguage, getValidExpressionInOCL, setExpressionInOCL
 
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

getBodyExpression

OCLExpression getBodyExpression()
Returns the value of the 'Body Expression' containment reference.

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

Returns:
the value of the 'Body Expression' containment reference.
See Also:
setBodyExpression(OCLExpression), PivotPackage.getExpressionInOCL_BodyExpression()
Generated

setBodyExpression

void setBodyExpression(OCLExpression value)
Sets the value of the 'Body Expression' containment reference.

Parameters:
value - the new value of the 'Body Expression' containment reference.
See Also:
getBodyExpression()
Generated

getContextVariable

Variable getContextVariable()
Returns the value of the 'Context Variable' containment reference.

If the meaning of the 'Context Variable' containment reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Context Variable' containment reference.
See Also:
setContextVariable(Variable), PivotPackage.getExpressionInOCL_ContextVariable()
Generated

setContextVariable

void setContextVariable(Variable value)
Sets the value of the 'Context Variable' containment reference.

Parameters:
value - the new value of the 'Context Variable' containment reference.
See Also:
getContextVariable()
Generated

getResultVariable

Variable getResultVariable()
Returns the value of the 'Result Variable' containment reference.

If the meaning of the 'Result Variable' containment reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Result Variable' containment reference.
See Also:
setResultVariable(Variable), PivotPackage.getExpressionInOCL_ResultVariable()
Generated

setResultVariable

void setResultVariable(Variable value)
Sets the value of the 'Result Variable' containment reference.

Parameters:
value - the new value of the 'Result Variable' containment reference.
See Also:
getResultVariable()
Generated

getParameterVariable

@NonNull
java.util.List<Variable> getParameterVariable()
Returns the value of the 'Parameter Variable' containment reference list. The list contents are of type Variable.

If the meaning of the 'Parameter Variable' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Parameter Variable' containment reference list.
See Also:
PivotPackage.getExpressionInOCL_ParameterVariable()
Generated