net.sf.farrago.cwm.relational
Interface CwmSqldistinctType

All Superinterfaces:
CwmClassifier, CwmDataType, CwmElement, CwmModelElement, CwmNamespace, CwmSqldataType, CwmTypeAlias, RefBaseObject, RefFeatured, RefObject
All Known Subinterfaces:
FemSqldistinguishedType
All Known Implementing Classes:
CwmSqldistinctType$Hib, FemSqldistinguishedType$Hib

public interface CwmSqldistinctType
extends CwmSqldataType, CwmTypeAlias

SQLDistinctType object instance interface. A datatype defined as a Distinct Type, per [SQL] standard.

Note: This type should not be subclassed, implemented or directly instantiated by clients. It is generated from a MOF metamodel and implemented by Enki or MDR.


Method Summary
 Integer getLength()
          Returns the value of attribute length.
 Integer getPrecision()
          Returns the value of attribute precision.
 Integer getScale()
          Returns the value of attribute scale.
 CwmSqlsimpleType getSqlSimpleType()
          Returns the value of reference sqlSimpleType.
 void setLength(Integer newValue)
          Sets the value of length attribute.
 void setPrecision(Integer newValue)
          Sets the value of precision attribute.
 void setScale(Integer newValue)
          Sets the value of scale attribute.
 void setSqlSimpleType(CwmSqlsimpleType newValue)
          Sets the value of sqlSimpleType reference.
 
Methods inherited from interface net.sf.farrago.cwm.relational.CwmSqldataType
getTypeNumber, setTypeNumber
 
Methods inherited from interface net.sf.farrago.cwm.datatypes.CwmTypeAlias
getType, setType
 

Method Detail

getLength

Integer getLength()
Returns the value of attribute length. The length of fixed length character or byte strings. Maximum length if length is variable.

Returns:
Value of attribute length.

setLength

void setLength(Integer newValue)
Sets the value of length attribute. See getLength() for description on the attribute.

Parameters:
newValue - New value to be set.

getPrecision

Integer getPrecision()
Returns the value of attribute precision. The total number of digits in the field

Returns:
Value of attribute precision.

setPrecision

void setPrecision(Integer newValue)
Sets the value of precision attribute. See getPrecision() for description on the attribute.

Parameters:
newValue - New value to be set.

getScale

Integer getScale()
Returns the value of attribute scale. The number of digits on the right of the decimal separator.

Returns:
Value of attribute scale.

setScale

void setScale(Integer newValue)
Sets the value of scale attribute. See getScale() for description on the attribute.

Parameters:
newValue - New value to be set.

getSqlSimpleType

CwmSqlsimpleType getSqlSimpleType()
Returns the value of reference sqlSimpleType.

Returns:
Value of reference sqlSimpleType.

setSqlSimpleType

void setSqlSimpleType(CwmSqlsimpleType newValue)
Sets the value of sqlSimpleType reference. See getSqlSimpleType() for description on the attribute.

Parameters:
newValue - New value to be set.