org.eclipse.datatools.modelbase.sql.datatypes.impl
Class ExactNumericDataTypeImpl

java.lang.Object
  extended byENamedElementImpl
      extended byorg.eclipse.datatools.modelbase.sql.schema.impl.SQLObjectImpl
          extended byorg.eclipse.datatools.modelbase.sql.datatypes.impl.DataTypeImpl
              extended byorg.eclipse.datatools.modelbase.sql.datatypes.impl.SQLDataTypeImpl
                  extended byorg.eclipse.datatools.modelbase.sql.datatypes.impl.PredefinedDataTypeImpl
                      extended byorg.eclipse.datatools.modelbase.sql.datatypes.impl.NumericalDataTypeImpl
                          extended byorg.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:

See Also:
Serialized Form

Method Summary
 java.lang.Object eGet(EStructuralFeature eFeature, boolean resolve)
           
 NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, java.lang.Class baseClass, NotificationChain msgs)
           
 NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, java.lang.Class baseClass, NotificationChain msgs)
           
 boolean eIsSet(EStructuralFeature eFeature)
           
 void eSet(EStructuralFeature eFeature, java.lang.Object newValue)
           
 void eUnset(EStructuralFeature eFeature)
           
 int getScale()
           
 void setScale(int newScale)
           
 java.lang.String toString()
           
 
Methods inherited from class org.eclipse.datatools.modelbase.sql.datatypes.impl.NumericalDataTypeImpl
getPrecision, setPrecision
 
Methods inherited from class org.eclipse.datatools.modelbase.sql.datatypes.impl.PredefinedDataTypeImpl
getPrimitiveType, setPrimitiveType
 
Methods inherited from class org.eclipse.datatools.modelbase.sql.datatypes.impl.DataTypeImpl
setContainer
 
Methods inherited from class org.eclipse.datatools.modelbase.sql.schema.impl.SQLObjectImpl
addEAnnotation, addEAnnotationDetail, createDataObject, createDataObject, createDataObject, createDataObject, createDataObject, delete, get, get, getBigDecimal, getBigDecimal, getBigInteger, getBigInteger, getBoolean, getBoolean, getByte, getByte, getBytes, getBytes, getChar, getChar, getContainer, getContainmentProperty, getDataGraph, getDataObject, getDataObject, getDate, getDate, getDependencies, getDescription, getDouble, getDouble, getEAnnotation, getEAnnotationDetail, getFloat, getFloat, getInstanceProperties, getInt, getInt, getLabel, getList, getList, getLong, getLong, getSequence, getSequence, getShort, getShort, getString, getString, getType, isSet, isSet, removeEAnnotationDetail, set, set, setAnnotationDetail, setBigDecimal, setBigDecimal, setBigInteger, setBigInteger, setBoolean, setBoolean, setByte, setByte, setBytes, setBytes, setChar, setChar, setDataObject, setDataObject, setDate, setDate, setDescription, setDouble, setDouble, setFloat, setFloat, setInt, setInt, setLabel, setList, setList, setLong, setLong, setShort, setShort, setString, setString, unset, unset, writeReplace
 
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.NumericalDataType
getPrecision, setPrecision
 
Methods inherited from interface org.eclipse.datatools.modelbase.sql.datatypes.PredefinedDataType
getPrimitiveType, setPrimitiveType
 
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, getDependencies, getDescription, getEAnnotation, getEAnnotationDetail, getLabel, removeEAnnotationDetail, setAnnotationDetail, setDescription, setLabel
 

Method Detail

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()

eInverseAdd

public NotificationChain eInverseAdd(InternalEObject otherEnd,
                                     int featureID,
                                     java.lang.Class baseClass,
                                     NotificationChain msgs)

Overrides:
eInverseAdd in class NumericalDataTypeImpl

eInverseRemove

public NotificationChain eInverseRemove(InternalEObject otherEnd,
                                        int featureID,
                                        java.lang.Class baseClass,
                                        NotificationChain msgs)

Overrides:
eInverseRemove in class NumericalDataTypeImpl

eGet

public java.lang.Object eGet(EStructuralFeature eFeature,
                             boolean resolve)

Overrides:
eGet in class NumericalDataTypeImpl

eSet

public void eSet(EStructuralFeature eFeature,
                 java.lang.Object newValue)

Overrides:
eSet in class NumericalDataTypeImpl

eUnset

public void eUnset(EStructuralFeature eFeature)

Overrides:
eUnset in class NumericalDataTypeImpl

eIsSet

public boolean eIsSet(EStructuralFeature eFeature)

Overrides:
eIsSet in class NumericalDataTypeImpl

toString

public java.lang.String toString()

Overrides:
toString in class NumericalDataTypeImpl


Copyright © 2006 Actuate, IBM Corporation, Sybase, Inc. and others. All rights reserved.