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

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

public interface CGNumber
extends CGConstant

A representation of the model object 'CG Number'. CGNumber represents a numeric value.

The following features are supported:

See Also:
CGModelPackage.getCGNumber()
Generated

Method Summary
 java.lang.Number getNumericValue()
          Returns the value of the 'Numeric Value' attribute.
 void setNumericValue(java.lang.Number value)
          Sets the value of the 'Numeric 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, getInvalidValue, getNamedValue, getOwns, getReferredValue, getSourceValue, getThisValue, getTypedValue, getValueName, isAssertedNonNull, isBoxed, isCaught, isCommonable, isConstant, isEquivalentTo, isEquivalentToInternal, isFalse, isGlobal, isInlined, isInvalid, isNonInvalid, isNonNull, isNull, isSettable, isTrue, isUnboxed, isUncommonable, setCaught, setValueName
 
Methods inherited from interface org.eclipse.ocl.examples.codegen.cgmodel.CGTypedElement
getASTypeId, getTypeId, isRequired, setRequired, setTypeId
 
Methods inherited from interface org.eclipse.ocl.examples.codegen.cgmodel.CGNamedElement
getAst, getName, setAst, setName
 
Methods inherited from interface org.eclipse.ocl.examples.codegen.cgmodel.CGElement
accept, getChildren, getParent, getPlace, isContext, rewriteAs
 
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

getNumericValue

java.lang.Number getNumericValue()
Returns the value of the 'Numeric Value' attribute. the numeric value

Returns:
the value of the 'Numeric Value' attribute.
See Also:
setNumericValue(Number), CGModelPackage.getCGNumber_NumericValue()
Generated

setNumericValue

void setNumericValue(java.lang.Number value)
Sets the value of the 'Numeric Value' attribute.

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