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 createBodyExpression(org.eclipse.emf.ecore.EClass eClass)
          Creates a new OCLExpression and sets the 'Body Expression' containment reference.
 Variable createContextVariable()
          Creates a new Variable and sets the 'Context Variable' containment reference.
 OCLExpression createMessageExpression(org.eclipse.emf.ecore.EClass eClass)
          Creates a new OCLExpression and sets the 'Message Expression' containment reference.
 Variable createParameterVariable()
          Creates a new Variable and appends it to the 'Parameter Variable' containment reference list.
 Variable createResultVariable()
          Creates a new Variable and sets the 'Result Variable' containment reference.
 OCLExpression getBodyExpression()
          Returns the value of the 'Body Expression' containment reference.
 Variable getContextVariable()
          Returns the value of the 'Context Variable' containment reference.
 OCLExpression getMessageExpression()
          Returns the value of the 'Message Expression' 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 setMessageExpression(OCLExpression value)
          Sets the value of the 'Message Expression' 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, getLanguage, getMessage
 
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
createOwnedAnnotation, getName, getOwnedAnnotation, isStatic, setIsStatic, setName
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.Element
allOwnedElements, createExtension, createOwnedComment, getETarget, getExtension, 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

createBodyExpression

OCLExpression createBodyExpression(org.eclipse.emf.ecore.EClass eClass)
Creates a new OCLExpression and sets the 'Body Expression' containment reference.

Parameters:
eClass - The Ecore class of the OCLExpression to create.
Returns:
The new OCLExpression.
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

createContextVariable

Variable createContextVariable()
Creates a new Variable and sets the 'Context Variable' containment reference.

Returns:
The new Variable.
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

createResultVariable

Variable createResultVariable()
Creates a new Variable and sets the 'Result Variable' containment reference.

Returns:
The new Variable.
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

createParameterVariable

Variable createParameterVariable()
Creates a new Variable and appends it to the 'Parameter Variable' containment reference list.

Returns:
The new Variable.
See Also:
getParameterVariable()
Generated

getMessageExpression

OCLExpression getMessageExpression()
Returns the value of the 'Message Expression' containment reference.

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

Returns:
the value of the 'Message Expression' containment reference.
See Also:
setMessageExpression(OCLExpression), PivotPackage.getExpressionInOCL_MessageExpression()
Generated

setMessageExpression

void setMessageExpression(OCLExpression value)
Sets the value of the 'Message Expression' containment reference.

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

createMessageExpression

OCLExpression createMessageExpression(org.eclipse.emf.ecore.EClass eClass)
Creates a new OCLExpression and sets the 'Message Expression' containment reference.

Parameters:
eClass - The Ecore class of the OCLExpression to create.
Returns:
The new OCLExpression.
See Also:
getMessageExpression()
Generated