org.eclipse.datatools.modelbase.sql.datatypes.impl
Class ExactNumericDataTypeImpl
java.lang.Object
ENamedElementImpl
org.eclipse.datatools.modelbase.sql.schema.impl.SQLObjectImpl
org.eclipse.datatools.modelbase.sql.datatypes.impl.DataTypeImpl
org.eclipse.datatools.modelbase.sql.datatypes.impl.SQLDataTypeImpl
org.eclipse.datatools.modelbase.sql.datatypes.impl.PredefinedDataTypeImpl
org.eclipse.datatools.modelbase.sql.datatypes.impl.NumericalDataTypeImpl
org.eclipse.datatools.modelbase.sql.datatypes.impl.ExactNumericDataTypeImpl
- All Implemented Interfaces:
- DataType, ExactNumericDataType, NumericalDataType, PredefinedDataType, SQLDataType, SQLObject
- Direct Known Subclasses:
- FixedPrecisionDataTypeImpl, IntegerDataTypeImpl
public abstract class ExactNumericDataTypeImpl
- extends NumericalDataTypeImpl
- implements ExactNumericDataType
An implementation of the model object 'Exact Numeric Data Type'.
The following features are implemented:
Method Summary |
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType)
|
boolean |
eIsSet(int featureID)
|
void |
eSet(int featureID,
java.lang.Object newValue)
|
void |
eUnset(int featureID)
|
int |
getScale()
|
void |
setScale(int newScale)
|
java.lang.String |
toString()
|
Methods inherited from class org.eclipse.datatools.modelbase.sql.schema.impl.SQLObjectImpl |
addEAnnotation, addEAnnotationDetail, eInverseAdd, eInverseRemove, getComments, getDependencies, getDescription, getEAnnotation, getEAnnotationDetail, getLabel, getPrivileges, removeEAnnotationDetail, setAnnotationDetail, setDescription, setLabel |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.eclipse.datatools.modelbase.sql.datatypes.DataType |
setContainer |
Methods inherited from interface org.eclipse.datatools.modelbase.sql.schema.SQLObject |
addEAnnotation, addEAnnotationDetail, getComments, getDependencies, getDescription, getEAnnotation, getEAnnotationDetail, getLabel, getPrivileges, removeEAnnotationDetail, setAnnotationDetail, setDescription, setLabel |
getScale
public int getScale()
-
- Specified by:
getScale
in interface ExactNumericDataType
- Returns:
- the value of the 'Scale' attribute.
- See Also:
ExactNumericDataType.setScale(int)
,
SQLDataTypesPackage.getExactNumericDataType_Scale()
setScale
public void setScale(int newScale)
-
- Specified by:
setScale
in interface ExactNumericDataType
- Parameters:
newScale
- the new value of the 'Scale' attribute.- See Also:
ExactNumericDataType.getScale()
eGet
public java.lang.Object eGet(int featureID,
boolean resolve,
boolean coreType)
-
- Overrides:
eGet
in class NumericalDataTypeImpl
eSet
public void eSet(int featureID,
java.lang.Object newValue)
-
- Overrides:
eSet
in class NumericalDataTypeImpl
eUnset
public void eUnset(int featureID)
-
- Overrides:
eUnset
in class NumericalDataTypeImpl
eIsSet
public boolean eIsSet(int featureID)
-
- Overrides:
eIsSet
in class NumericalDataTypeImpl
toString
public java.lang.String toString()
-
- Overrides:
toString
in class NumericalDataTypeImpl
Copyright © 2006 -- 2008 Actuate, IBM Corporation, Sybase, Inc. and others. All rights reserved.