org.eclipse.ocl.examples.codegen.cgmodel
Interface CGConstantExp

All Superinterfaces:
CGElement, CGNamedElement, CGTypedElement, CGValuedElement, org.eclipse.emf.ecore.EObject, Nameable, org.eclipse.emf.common.notify.Notifier
All Known Implementing Classes:
CGConstantExpImpl

public interface CGConstantExp
extends CGValuedElement

A representation of the model object 'CG Literal Exp'. A CGConstantExp is a constant valued expression that references a constant value.

The following features are supported:

See Also:
CGModelPackage.getCGConstantExp()
Generated
Model

Field Summary
 
Fields inherited from interface org.eclipse.ocl.examples.codegen.cgmodel.CGElement
EMPTY_LIST
 
Method Summary
 CGValuedElement getReferredConstant()
          Returns the value of the 'Referred Constant' reference.
 void setReferredConstant(CGValuedElement value)
          Sets the value of the 'Referred Constant' reference.
 
Methods inherited from interface org.eclipse.ocl.examples.codegen.cgmodel.CGValuedElement
getDependsOn, getReferredValuedElement, getValue, getValueName, isBoxed, isCaught, isConstant, isFalse, isGlobal, isInlineable, isInvalid, isNonInvalid, isNonNull, isNull, isSettable, isTrue, isUnboxed, setCaught, setNonInvalid, setNonNull, setValueName
 
Methods inherited from interface org.eclipse.ocl.examples.codegen.cgmodel.CGTypedElement
getPivotTypeId, getTypeId, isRequired, setRequired, setTypeId
 
Methods inherited from interface org.eclipse.ocl.examples.codegen.cgmodel.CGNamedElement
getName, getPivot, setName, setPivot
 
Methods inherited from interface org.eclipse.ocl.examples.codegen.cgmodel.CGElement
accept, getChildren, getParent
 
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
 

Method Detail

getReferredConstant

CGValuedElement getReferredConstant()
Returns the value of the 'Referred Constant' reference.

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

The shared constant providing the value.

Returns:
the value of the 'Referred Constant' reference.
See Also:
setReferredConstant(CGValuedElement), CGModelPackage.getCGConstantExp_ReferredConstant()
Generated
Model
resolveProxies="false" required="true"

setReferredConstant

void setReferredConstant(CGValuedElement value)
Sets the value of the 'Referred Constant' reference.

Parameters:
value - the new value of the 'Referred Constant' reference.
See Also:
getReferredConstant()
Generated