net.sf.farrago.cwm.relational
Interface CwmSqlsimpleType

All Superinterfaces:
CwmClassifier, CwmDataType, CwmElement, CwmModelElement, CwmNamespace, CwmSqldataType, RefBaseObject, RefFeatured, RefObject
All Known Implementing Classes:
CwmSqlsimpleType$Hib

public interface CwmSqlsimpleType
extends CwmSqldataType, CwmDataType

SQLSimpleType object instance interface. A simple datatype used with an SQL column. Examples are Integer, Varchar, LOB, CLOB, etc...

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 getCharacterMaximumLength()
          Returns the value of attribute characterMaximumLength.
 Integer getCharacterOctetLength()
          Returns the value of attribute characterOctetLength.
 Integer getDateTimePrecision()
          Returns the value of attribute dateTimePrecision.
 Integer getNumericPrecision()
          Returns the value of attribute numericPrecision.
 Integer getNumericPrecisionRadix()
          Returns the value of attribute numericPrecisionRadix.
 Integer getNumericScale()
          Returns the value of attribute numericScale.
 void setCharacterMaximumLength(Integer newValue)
          Sets the value of characterMaximumLength attribute.
 void setCharacterOctetLength(Integer newValue)
          Sets the value of characterOctetLength attribute.
 void setDateTimePrecision(Integer newValue)
          Sets the value of dateTimePrecision attribute.
 void setNumericPrecision(Integer newValue)
          Sets the value of numericPrecision attribute.
 void setNumericPrecisionRadix(Integer newValue)
          Sets the value of numericPrecisionRadix attribute.
 void setNumericScale(Integer newValue)
          Sets the value of numericScale attribute.
 
Methods inherited from interface net.sf.farrago.cwm.relational.CwmSqldataType
getTypeNumber, setTypeNumber
 
Methods inherited from interface net.sf.farrago.cwm.core.CwmClassifier
getFeature, isAbstract, setAbstract
 
Methods inherited from interface net.sf.farrago.cwm.core.CwmNamespace
getOwnedElement
 
Methods inherited from interface net.sf.farrago.cwm.core.CwmModelElement
getClientDependency, getConstraint, getImporter, getName, getNamespace, getVisibility, setName, setNamespace, setVisibility
 
Methods inherited from interface javax.jmi.reflect.RefObject
refClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostComposite
 
Methods inherited from interface javax.jmi.reflect.RefFeatured
refGetValue, refGetValue, refInvokeOperation, refInvokeOperation, refSetValue, refSetValue
 
Methods inherited from interface javax.jmi.reflect.RefBaseObject
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints
 
Methods inherited from interface net.sf.farrago.cwm.core.CwmClassifier
getFeature, isAbstract, setAbstract
 
Methods inherited from interface net.sf.farrago.cwm.core.CwmNamespace
getOwnedElement
 
Methods inherited from interface net.sf.farrago.cwm.core.CwmModelElement
getClientDependency, getConstraint, getImporter, getName, getNamespace, getVisibility, setName, setNamespace, setVisibility
 
Methods inherited from interface javax.jmi.reflect.RefObject
refClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostComposite
 
Methods inherited from interface javax.jmi.reflect.RefFeatured
refGetValue, refGetValue, refInvokeOperation, refInvokeOperation, refSetValue, refSetValue
 
Methods inherited from interface javax.jmi.reflect.RefBaseObject
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints
 

Method Detail

getCharacterMaximumLength

Integer getCharacterMaximumLength()
Returns the value of attribute characterMaximumLength. See [SQL], corresponding field in DATA_TYPE_DESCRIPTOR

Returns:
Value of attribute characterMaximumLength.

setCharacterMaximumLength

void setCharacterMaximumLength(Integer newValue)
Sets the value of characterMaximumLength attribute. See getCharacterMaximumLength() for description on the attribute.

Parameters:
newValue - New value to be set.

getCharacterOctetLength

Integer getCharacterOctetLength()
Returns the value of attribute characterOctetLength. See [SQL], corresponding field in DATA_TYPE_DESCRIPTOR

Returns:
Value of attribute characterOctetLength.

setCharacterOctetLength

void setCharacterOctetLength(Integer newValue)
Sets the value of characterOctetLength attribute. See getCharacterOctetLength() for description on the attribute.

Parameters:
newValue - New value to be set.

getNumericPrecision

Integer getNumericPrecision()
Returns the value of attribute numericPrecision. See [SQL], corresponding field in DATA_TYPE_DESCRIPTOR

Returns:
Value of attribute numericPrecision.

setNumericPrecision

void setNumericPrecision(Integer newValue)
Sets the value of numericPrecision attribute. See getNumericPrecision() for description on the attribute.

Parameters:
newValue - New value to be set.

getNumericPrecisionRadix

Integer getNumericPrecisionRadix()
Returns the value of attribute numericPrecisionRadix. See [SQL], corresponding field in DATA_TYPE_DESCRIPTOR

Returns:
Value of attribute numericPrecisionRadix.

setNumericPrecisionRadix

void setNumericPrecisionRadix(Integer newValue)
Sets the value of numericPrecisionRadix attribute. See getNumericPrecisionRadix() for description on the attribute.

Parameters:
newValue - New value to be set.

getNumericScale

Integer getNumericScale()
Returns the value of attribute numericScale. See [SQL], corresponding field in DATA_TYPE_DESCRIPTOR

Returns:
Value of attribute numericScale.

setNumericScale

void setNumericScale(Integer newValue)
Sets the value of numericScale attribute. See getNumericScale() for description on the attribute.

Parameters:
newValue - New value to be set.

getDateTimePrecision

Integer getDateTimePrecision()
Returns the value of attribute dateTimePrecision. See [SQL], corresponding field in DATA_TYPE_DESCRIPTOR

Returns:
Value of attribute dateTimePrecision.

setDateTimePrecision

void setDateTimePrecision(Integer newValue)
Sets the value of dateTimePrecision attribute. See getDateTimePrecision() for description on the attribute.

Parameters:
newValue - New value to be set.