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

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

public interface CGReal
extends CGConstant

A representation of the model object 'CG Real'. CGReal represents a real value.

The following features are supported:

See Also:
CGModelPackage.getCGReal()
Generated
Model

Field Summary
 
Fields inherited from interface org.eclipse.ocl.examples.codegen.cgmodel.CGElement
EMPTY_LIST
 
Method Summary
 java.lang.Number getRealValue()
          Returns the value of the 'Real Value' attribute.
 void setRealValue(java.lang.Number value)
          Sets the value of the 'Real Value' attribute.
 
Methods inherited from interface org.eclipse.ocl.examples.codegen.cgmodel.CGConstant
getConstantValue
 
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

getRealValue

java.lang.Number getRealValue()
Returns the value of the 'Real Value' attribute.

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

the real value

Returns:
the value of the 'Real Value' attribute.
See Also:
setRealValue(Number), CGModelPackage.getCGReal_RealValue()
Generated
Model
dataType="org.eclipse.ocl.examples.codegen.cgmodel.Number" required="true"

setRealValue

void setRealValue(java.lang.Number value)
Sets the value of the 'Real Value' attribute.

Parameters:
value - the new value of the 'Real Value' attribute.
See Also:
getRealValue()
Generated