|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DatatypeRecord
ColumnRecord
Nested Class Summary | |
---|---|
static interface |
DatatypeRecord.MetadataFieldNames
Constants for names of accessor methods that map to fields stored on the DatatypeRecords. |
Nested classes/interfaces inherited from interface com.metamatrix.modeler.core.metadata.runtime.MetadataRecord |
---|
MetadataRecord.MetadataRecordProperties |
Method Summary | |
---|---|
java.lang.String |
getBasetypeID()
Return a string that uniquely identifies the datatype for which this datatype is an extension/restriction. |
java.lang.String |
getBasetypeName()
Return the name of the datatype for which this datatype is an extension/restriction. |
java.lang.String |
getDatatypeID()
Return a string that uniquely identifies the datatype. |
java.lang.String |
getJavaClassName()
Returns the name of the Java class that represents this datatype |
int |
getLength()
If the data type is numeric, the length is the total number of significant digits used to express the number. |
short |
getNullType()
Returns a short indicating if the element can be set to null. |
int |
getPrecisionLength()
Returns an int indicating the precision length. |
java.lang.String |
getPrimitiveTypeID()
Return a string that uniquely identifies the built-in primitive datatype for which this datatype is an extension/restriction. |
int |
getRadix()
Returns an int indicating the radix. |
java.lang.String |
getRuntimeTypeName()
Returns the name of the 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. |
java.util.List |
getVarietyProps()
Depending on the value of the variety type additional properties may be defined. |
short |
getVarietyType()
Returns the variety used to characterize the |
boolean |
isAutoIncrement()
Returns a boolean indicating if the element is auto incremented by the database. |
boolean |
isBuiltin()
Return whether this type represents a built-in. |
boolean |
isCaseSensitive()
Returns a boolean indicating if the element data is case sensitive. |
boolean |
isSigned()
Returns a boolean indicating if the element data is signed. |
Methods inherited from interface com.metamatrix.modeler.core.metadata.runtime.MetadataRecord |
---|
getEObject, getFullName, getModelName, getName, getNameInSource, getParentFullName, getParentPathString, getParentUUID, getPath, getPathString, getPropertyValue, getRecordType, getResourcePath, getUUID, setPropertyValue |
Method Detail |
---|
int getLength()
int getPrecisionLength()
int getScale()
int getRadix()
boolean isSigned()
boolean isAutoIncrement()
boolean isCaseSensitive()
short getType()
MetadataConstants.DATATYPE_TYPES
boolean isBuiltin()
getType()
short getSearchType()
MetadataConstants.SEARCH_TYPES
short getNullType()
MetadataConstants.NULL_TYPES
java.lang.String getJavaClassName()
java.lang.String getRuntimeTypeName()
java.lang.String getDatatypeID()
1. the base URI of the XML Schema namespace 2. the fragment identifier defining the name of the datatype
java.lang.String getBasetypeID()
1. the base URI of the XML Schema namespace 2. the fragment identifier defining the name of the datatype
java.lang.String getPrimitiveTypeID()
1. the base URI of the XML Schema namespace 2. the fragment identifier defining the name of the datatype
java.lang.String getBasetypeName()
The implementation simply computes the fragment from the getBasetypeID()
.
short getVarietyType()
eObject
- The EObject
to check
com.metamatrix.modeler.core.metadata.runtime.MetadataConstants.DATATYPES_VARIETIES
java.util.List getVarietyProps()
eObject
- The EObject
to check
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |