org.eclipse.ocl.uml.impl
Class RealLiteralExpImpl
java.lang.Object
TypedElementImpl
org.eclipse.ocl.uml.impl.OCLExpressionImpl
org.eclipse.ocl.uml.impl.LiteralExpImpl
org.eclipse.ocl.uml.impl.PrimitiveLiteralExpImpl
org.eclipse.ocl.uml.impl.NumericLiteralExpImpl
org.eclipse.ocl.uml.impl.RealLiteralExpImpl
- All Implemented Interfaces:
- LiteralExp<Classifier>, NumericLiteralExp<Classifier>, OCLExpression<Classifier>, PrimitiveLiteralExp<Classifier>, RealLiteralExp<Classifier>, ASTNode, TypedElement<Classifier>, Visitable
public class RealLiteralExpImpl
- extends NumericLiteralExpImpl
- implements RealLiteralExp
An implementation of the model object 'Real Literal Exp'.
The following features are implemented:
Method Summary |
<T,U extends Visitor<T,?,?,?,?,?,?,?,?,?>>
T |
|
accept(U v)
|
boolean |
checkRealType(DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
|
int |
eBaseStructuralFeatureID(int derivedFeatureID,
java.lang.Class<?> baseClass)
|
int |
eDerivedStructuralFeatureID(int baseFeatureID,
java.lang.Class<?> baseClass)
|
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType)
|
boolean |
eIsSet(int featureID)
|
void |
eSet(int featureID,
java.lang.Object newValue)
|
protected EClass |
eStaticClass()
|
void |
eUnset(int featureID)
|
java.lang.Double |
getRealSymbol()
|
void |
setRealSymbol(java.lang.Double newRealSymbol)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
REAL_SYMBOL_EDEFAULT
protected static final java.lang.Double REAL_SYMBOL_EDEFAULT
- The default value of the '
Real Symbol
' attribute.
- See Also:
getRealSymbol()
realSymbol
protected java.lang.Double realSymbol
- The cached value of the '
Real Symbol
' attribute.
- See Also:
getRealSymbol()
RealLiteralExpImpl
protected RealLiteralExpImpl()
-
eStaticClass
protected EClass eStaticClass()
-
- Overrides:
eStaticClass
in class NumericLiteralExpImpl
getRealSymbol
public java.lang.Double getRealSymbol()
-
- Specified by:
getRealSymbol
in interface RealLiteralExp<Classifier>
- Returns:
- the value of the 'Real Symbol' attribute.
- See Also:
RealLiteralExp.setRealSymbol(Double)
,
ExpressionsPackage.getRealLiteralExp_RealSymbol()
setRealSymbol
public void setRealSymbol(java.lang.Double newRealSymbol)
-
- Specified by:
setRealSymbol
in interface RealLiteralExp<Classifier>
- Parameters:
newRealSymbol
- the new value of the 'Real Symbol' attribute.- See Also:
RealLiteralExp.getRealSymbol()
checkRealType
public boolean checkRealType(DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
-
eGet
public java.lang.Object eGet(int featureID,
boolean resolve,
boolean coreType)
-
- Overrides:
eGet
in class OCLExpressionImpl
eSet
public void eSet(int featureID,
java.lang.Object newValue)
-
- Overrides:
eSet
in class OCLExpressionImpl
eUnset
public void eUnset(int featureID)
-
- Overrides:
eUnset
in class OCLExpressionImpl
eIsSet
public boolean eIsSet(int featureID)
-
- Overrides:
eIsSet
in class OCLExpressionImpl
eBaseStructuralFeatureID
public int eBaseStructuralFeatureID(int derivedFeatureID,
java.lang.Class<?> baseClass)
-
- Overrides:
eBaseStructuralFeatureID
in class OCLExpressionImpl
eDerivedStructuralFeatureID
public int eDerivedStructuralFeatureID(int baseFeatureID,
java.lang.Class<?> baseClass)
-
- Overrides:
eDerivedStructuralFeatureID
in class OCLExpressionImpl
toString
public java.lang.String toString()
-
- Overrides:
toString
in class OCLExpressionImpl
accept
public <T,U extends Visitor<T,?,?,?,?,?,?,?,?,?>> T accept(U v)
-
- Specified by:
accept
in interface Visitable
- Overrides:
accept
in class OCLExpressionImpl