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

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
All Implemented Interfaces:
DataType, NumericalDataType, PredefinedDataType, SQLDataType, SQLObject
Direct Known Subclasses:
ApproximateNumericDataTypeImpl, ExactNumericDataTypeImpl

public abstract class NumericalDataTypeImpl
extends PredefinedDataTypeImpl
implements NumericalDataType

An implementation of the model object 'Numerical Data Type'.

The following features are implemented:

See Also:
Serialized Form

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 getPrecision()
           
 void setPrecision(int newPrecision)
           
 java.lang.String toString()
           
 
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, eInverseAdd, eInverseRemove, get, get, getBigDecimal, getBigDecimal, getBigInteger, getBigInteger, getBoolean, getBoolean, getByte, getByte, getBytes, getBytes, getChar, getChar, getComments, getContainer, getContainmentProperty, getDataGraph, getDataObject, getDataObject, getDate, getDate, getDependencies, getDescription, getDouble, getDouble, getEAnnotation, getEAnnotationDetail, getFloat, getFloat, getInstanceProperties, getInt, getInt, getLabel, getList, getList, getLong, getLong, getPrivileges, 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.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, getComments, getDependencies, getDescription, getEAnnotation, getEAnnotationDetail, getLabel, getPrivileges, removeEAnnotationDetail, setAnnotationDetail, setDescription, setLabel
 

Method Detail

getPrecision

public int getPrecision()

Specified by:
getPrecision in interface NumericalDataType
Returns:
the value of the 'Precision' attribute.
See Also:
NumericalDataType.setPrecision(int), SQLDataTypesPackage.getNumericalDataType_Precision()

setPrecision

public void setPrecision(int newPrecision)

Specified by:
setPrecision in interface NumericalDataType
Parameters:
newPrecision - the new value of the 'Precision' attribute.
See Also:
NumericalDataType.getPrecision()

eGet

public java.lang.Object eGet(int featureID,
                             boolean resolve,
                             boolean coreType)

Overrides:
eGet in class PredefinedDataTypeImpl

eSet

public void eSet(int featureID,
                 java.lang.Object newValue)

Overrides:
eSet in class PredefinedDataTypeImpl

eUnset

public void eUnset(int featureID)

Overrides:
eUnset in class PredefinedDataTypeImpl

eIsSet

public boolean eIsSet(int featureID)

Overrides:
eIsSet in class PredefinedDataTypeImpl

toString

public java.lang.String toString()

Overrides:
toString in class PredefinedDataTypeImpl


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