|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DataType
The DataType api represents the type of data a particular Element or Procedure is. The MetaMatrix standard types are called Runtime Types. Simple Types are called User Defined Types. Additionally, a complex data type can be defined to support a structure. This data type, called ResultSet, which can be defined by specifying the elements and their order.
Method Summary | |
---|---|
java.lang.String |
getDescription()
Return the description. |
java.util.List |
getElements()
Returns a list of type DataTypeElement . |
boolean |
getFixedPrecisionLength()
Returns a boolean indicating whether precision length is fixed. |
java.lang.String |
getForm()
|
java.lang.String |
getJavaClassName()
|
int |
getLength()
If the data type is numeric, the length is the total number of significant digits used to express the number. |
java.lang.String |
getMaximumRange()
eturns the maximum value that the element can represent. |
java.lang.String |
getMinimumRange()
Returns the minimum value that the element can represent. |
java.lang.String |
getNativeType()
|
short |
getNullType()
Returns a short indicating if the element can be set to null. |
java.lang.String |
getPath()
Returns a string indicating the path. |
int |
getPrecisionLength()
Returns an int indicating the precision length. |
DataType |
getPreferredDataType()
if the data type is not a standard type, then this should return the MetaMatrix standard data type that is considered the preferred internal type to which this data type corresponds. |
int |
getRadix()
Returns an int indicating the radix. |
DataType |
getRuntimeType()
Returns Runtime type that this datatype is mapped to. |
int |
getScale()
Returns the scale, which is the number of significant digits to the right of the decimal point. |
short |
getSearchType()
Returns a short indicating the serach typr. |
short |
getType()
Return short indicating the type. |
boolean |
isAutoIncrement()
Returns a boolean indicating if the element is auto incremented by the database. |
boolean |
isCaseSensitive()
Returns a boolean indicating if the element data is case sensitive. |
boolean |
isLengthFixed()
Returns a boolean indicating if the length is fixed. |
boolean |
isPhysical()
Returns a boolean indicating if this a physical data type. |
boolean |
isRuntimeType()
Returns true if this datatype is Runtime Type, false otherwise. |
boolean |
isSigned()
Returns a boolean indicating if the element data is signed. |
boolean |
isStandard()
Returns a boolean indicating if this is a MetaMatrix standard type. |
boolean |
supportsSelect()
Returns a boolean indicating if the element can be selected |
Methods inherited from interface com.metamatrix.metadata.runtime.api.MetadataObject |
---|
clone, compareTo, equals, getFullName, getID, getName, getProperties, getVirtualDatabaseID, toString |
Method Detail |
---|
java.lang.String getDescription()
boolean isStandard()
DataType getPreferredDataType()
java.lang.String getForm()
int getScale()
int getLength()
boolean isLengthFixed()
short getNullType()
MetadataConstants.NULL_TYPES
boolean supportsSelect()
boolean isCaseSensitive()
boolean isSigned()
boolean isAutoIncrement()
java.lang.String getMinimumRange()
java.lang.String getMaximumRange()
short getType()
MetadataConstants.DATATYPE_TYPES
java.lang.String getJavaClassName()
java.lang.String getNativeType()
boolean isPhysical()
int getPrecisionLength()
int getRadix()
boolean getFixedPrecisionLength()
short getSearchType()
java.lang.String getPath()
java.util.List getElements()
DataTypeElement
.
DataType getRuntimeType()
boolean isRuntimeType()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |