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

All Superinterfaces:
DataType, org.eclipse.emf.ecore.EModelElement, org.eclipse.emf.ecore.ENamedElement, org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier, NumericalDataType, PredefinedDataType, SQLDataType, SQLObject
All Known Subinterfaces:
FixedPrecisionDataType, IntegerDataType
All Known Implementing Classes:
ExactNumericDataTypeImpl

public interface ExactNumericDataType
extends NumericalDataType

A representation of the model object 'Exact Numeric Data Type'.

The following features are supported:

See Also:
SQLDataTypesPackage.getExactNumericDataType()

Method Summary
 int getScale()
          Returns the value of the 'Scale' attribute.
 void setScale(int value)
          Sets the value of the 'Scale' attribute.
 
Methods inherited from interface org.eclipse.wst.rdb.internal.models.sql.datatypes.NumericalDataType
getPrecision, setPrecision
 
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, getDependencies, getDescription, getEAnnotation, getEAnnotationDetail, getLabel, removeEAnnotationDetail, setAnnotationDetail, setDescription, setLabel
 
Methods inherited from interface org.eclipse.emf.ecore.ENamedElement
getName, setName
 
Methods inherited from interface org.eclipse.emf.ecore.EModelElement
getEAnnotations
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Method Detail

getScale

public int getScale()
Returns the value of the 'Scale' attribute.

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

Returns:
the value of the 'Scale' attribute.
See Also:
setScale(int), SQLDataTypesPackage.getExactNumericDataType_Scale()

setScale

public void setScale(int value)
Sets the value of the 'Scale' attribute.
Parameters:
value - the new value of the 'Scale' attribute.
See Also:
getScale()