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

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


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, 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.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 © 2006 -- 2008 Actuate, IBM Corporation, Sybase, Inc. and others. All rights reserved.