org.eclipse.ocl.examples.pivot
Interface Variable

All Superinterfaces:
DomainElement, DomainNamedElement, DomainTypedElement, Element, org.eclipse.emf.ecore.EObject, 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

Method Summary
 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.
 boolean validateCompatibleInitialiserType(org.eclipse.emf.common.util.DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)
           
 
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
 

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

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

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

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

validateCompatibleInitialiserType

boolean validateCompatibleInitialiserType(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                          java.util.Map<java.lang.Object,java.lang.Object> context)

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

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