org.eclipse.wst.rdb.internal.models.sql.datatypes
Interface NumericalDataType

All Superinterfaces:
commonj.sdo.DataObject, DataType, org.eclipse.emf.ecore.sdo.EDataObject, org.eclipse.emf.ecore.EModelElement, org.eclipse.emf.ecore.ENamedElement, org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier, PredefinedDataType, java.io.Serializable, SQLDataType, SQLObject
All Known Subinterfaces:
ApproximateNumericDataType, ExactNumericDataType, FixedPrecisionDataType, IntegerDataType
All Known Implementing Classes:
ApproximateNumericDataTypeImpl, ExactNumericDataTypeImpl, FixedPrecisionDataTypeImpl, IntegerDataTypeImpl, NumericalDataTypeImpl

public interface NumericalDataType
extends PredefinedDataType

A representation of the model object 'Numerical Data Type'. Reference: 5WD-02-Foundation-2002-12 4.4 Numbers

The following features are supported:

See Also:
SQLDataTypesPackage.getNumericalDataType()

Method Summary
 int getPrecision()
          Returns the value of the 'Precision' attribute.
 void setPrecision(int value)
          Sets the value of the 'Precision' attribute.
 
Methods inherited from interface org.eclipse.wst.rdb.internal.models.sql.datatypes.PredefinedDataType
getPrimitiveType, setPrimitiveType
 
Methods inherited from interface org.eclipse.wst.rdb.internal.models.sql.datatypes.DataType
setContainer
 
Methods inherited from interface org.eclipse.wst.rdb.internal.models.sql.schema.SQLObject
addEAnnotation, addEAnnotationDetail, getComments, getDependencies, getDescription, getEAnnotation, getEAnnotationDetail, getLabel, getPrivileges, removeEAnnotationDetail, setAnnotationDetail, setDescription, setLabel
 
Methods inherited from interface org.eclipse.emf.ecore.sdo.EDataObject
getInstanceProperties
 
Methods inherited from interface commonj.sdo.DataObject
createDataObject, createDataObject, createDataObject, createDataObject, createDataObject, createDataObject, delete, get, get, get, getBigDecimal, getBigDecimal, getBigDecimal, getBigInteger, getBigInteger, getBigInteger, getBoolean, getBoolean, getBoolean, getByte, getByte, getByte, getBytes, getBytes, getBytes, getChar, getChar, getChar, getContainer, getContainmentProperty, getDataGraph, getDataObject, getDataObject, getDataObject, getDate, getDate, getDate, getDouble, getDouble, getDouble, getFloat, getFloat, getFloat, getInt, getInt, getInt, getList, getList, getList, getLong, getLong, getLong, getSequence, getSequence, getSequence, getShort, getShort, getShort, getString, getString, getString, getType, isSet, isSet, isSet, set, set, set, setBigDecimal, setBigDecimal, setBigDecimal, setBigInteger, setBigInteger, setBigInteger, setBoolean, setBoolean, setBoolean, setByte, setByte, setByte, setBytes, setBytes, setBytes, setChar, setChar, setChar, setDataObject, setDataObject, setDataObject, setDate, setDate, setDate, setDouble, setDouble, setDouble, setFloat, setFloat, setFloat, setInt, setInt, setInt, setList, setList, setList, setLong, setLong, setLong, setShort, setShort, setShort, setString, setString, setString, unset, unset, unset
 
Methods inherited from interface org.eclipse.emf.ecore.ENamedElement
getName, setName
 
Methods inherited from interface org.eclipse.emf.ecore.EModelElement
getEAnnotations
 

Method Detail

getPrecision

int getPrecision()
Returns the value of the 'Precision' attribute.

If the meaning of the 'Precision' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Precision' attribute.
See Also:
setPrecision(int), SQLDataTypesPackage.getNumericalDataType_Precision()

setPrecision

void setPrecision(int value)
Sets the value of the 'Precision' attribute.

Parameters:
value - the new value of the 'Precision' attribute.
See Also:
getPrecision()