org.eclipse.ocl.examples.pivot
Interface Variable

All Superinterfaces:
Element, org.eclipse.emf.ecore.EObject, MonikeredElement, Nameable, NamedElement, org.eclipse.emf.common.notify.Notifier, PivotObject, TypedElement, VariableDeclaration, Visitable
All Known Implementing Classes:
VariableImpl

public interface Variable
extends VariableDeclaration

A representation of the model object 'Variable'.

The following features are supported:

See Also:
PivotPackage.getVariable()
Generated
Model

Method Summary
 OclExpression createInitExpression(org.eclipse.emf.ecore.EClass eClass)
          Creates a new OclExpression and sets the 'Init Expression' containment reference.
 OclExpression getInitExpression()
          Returns the value of the 'Init Expression' containment reference.
 Parameter getRepresentedParameter()
          Returns the value of the 'Represented Parameter' reference.
 boolean isImplicit()
          Returns the value of the 'Implicit' attribute.
 void setImplicit(boolean value)
          Sets the value of the 'Implicit' attribute.
 void setInitExpression(OclExpression value)
          Sets the value of the 'Init Expression' containment reference.
 void setRepresentedParameter(Parameter value)
          Sets the value of the 'Represented Parameter' reference.
 
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, getOwnedAnnotations, getOwnedRules, isStatic, setIsStatic, setName
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.MonikeredElement
getMoniker, hasMoniker, setMoniker
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.Element
createOwnedComment, getETarget, getOwnedComments
 
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
 

Method Detail

getInitExpression

OclExpression getInitExpression()
Returns the value of the 'Init Expression' containment reference.

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

Returns:
the value of the 'Init Expression' containment reference.
See Also:
setInitExpression(OclExpression), PivotPackage.getVariable_InitExpression()
Generated
Model
containment="true" ordered="false"

setInitExpression

void setInitExpression(OclExpression value)
Sets the value of the 'Init Expression' containment reference.

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

createInitExpression

OclExpression createInitExpression(org.eclipse.emf.ecore.EClass eClass)
Creates a new OclExpression and sets the 'Init Expression' containment reference.

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

getRepresentedParameter

Parameter getRepresentedParameter()
Returns the value of the 'Represented Parameter' reference.

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

Returns:
the value of the 'Represented Parameter' reference.
See Also:
setRepresentedParameter(Parameter), PivotPackage.getVariable_RepresentedParameter()
Generated
Model
ordered="false"

setRepresentedParameter

void setRepresentedParameter(Parameter value)
Sets the value of the 'Represented Parameter' reference.

Parameters:
value - the new value of the 'Represented Parameter' reference.
See Also:
getRepresentedParameter()
Generated

isImplicit

boolean isImplicit()
Returns the value of the 'Implicit' attribute. The default value is "false".

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

Returns:
the value of the 'Implicit' attribute.
See Also:
setImplicit(boolean), PivotPackage.getVariable_Implicit()
Generated
Model
default="false" dataType="org.eclipse.ocl.examples.pivot.Boolean" ordered="false"

setImplicit

void setImplicit(boolean value)
Sets the value of the 'Implicit' attribute.

Parameters:
value - the new value of the 'Implicit' attribute.
See Also:
isImplicit()
Generated