|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.metamatrix.metadata.runtime.impl.AbstractMetadataRecord
com.metamatrix.metadata.runtime.impl.DatatypeRecordImpl
public class DatatypeRecordImpl
ColumnRecordImpl
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.metamatrix.modeler.core.metadata.runtime.DatatypeRecord |
|---|
DatatypeRecord.MetadataFieldNames |
| Nested classes/interfaces inherited from interface com.metamatrix.modeler.core.metadata.runtime.MetadataRecord |
|---|
MetadataRecord.MetadataRecordProperties |
| Field Summary |
|---|
| Fields inherited from class com.metamatrix.metadata.runtime.impl.AbstractMetadataRecord |
|---|
delegate, eObject |
| Constructor Summary | |
|---|---|
|
DatatypeRecordImpl()
|
protected |
DatatypeRecordImpl(MetadataRecordDelegate delegate)
|
| 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. |
java.lang.String |
getModelName()
Return the name of the model in which this entity exists. |
java.lang.String |
getName()
Get entity short name |
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. |
void |
setAutoIncrement(boolean b)
|
void |
setBasetypeID(java.lang.String string)
|
void |
setCaseSensitive(boolean b)
|
void |
setDatatypeID(java.lang.String string)
|
void |
setJavaClassName(java.lang.String string)
|
void |
setLength(int i)
|
void |
setNullType(short s)
|
void |
setPrecisionLength(int i)
|
void |
setPrimitiveTypeID(java.lang.String string)
|
void |
setRadix(int i)
|
void |
setRuntimeTypeName(java.lang.String string)
|
void |
setScale(int i)
|
void |
setSearchType(short s)
|
void |
setSigned(boolean b)
|
void |
setType(short s)
|
void |
setVarietyProps(java.util.List list)
|
void |
setVarietyType(short s)
|
java.lang.String |
toString()
|
| Methods inherited from class com.metamatrix.metadata.runtime.impl.AbstractMetadataRecord |
|---|
equals, getEObject, getFullName, getIndexVersion, getNameInSource, getParentFullName, getParentPathString, getParentUUID, getPath, getPathString, getPropertyValue, getRecordType, getResourcePath, getUUID, hashCode, setEObjectFinder, setFullName, setIndexVersion, setName, setNameInSource, setParentUUID, setPropertyValue, setRecordType, setResourcePath, setUUID |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.metamatrix.modeler.core.metadata.runtime.MetadataRecord |
|---|
getEObject, getFullName, getNameInSource, getParentFullName, getParentPathString, getParentUUID, getPath, getPathString, getPropertyValue, getRecordType, getResourcePath, getUUID, setPropertyValue |
| Constructor Detail |
|---|
public DatatypeRecordImpl()
protected DatatypeRecordImpl(MetadataRecordDelegate delegate)
| Method Detail |
|---|
public java.lang.String getName()
MetadataRecord
getName in interface MetadataRecordgetName in class AbstractMetadataRecordMetadataRecord.getName()public java.lang.String getModelName()
MetadataRecord
getModelName in interface MetadataRecordgetModelName in class AbstractMetadataRecordMetadataRecord.getModelName()public int getLength()
DatatypeRecord
getLength in interface DatatypeRecordDatatypeRecord.getLength()public int getPrecisionLength()
DatatypeRecord
getPrecisionLength in interface DatatypeRecordDatatypeRecord.getPrecisionLength()public int getScale()
DatatypeRecord
getScale in interface DatatypeRecordDatatypeRecord.getScale()public int getRadix()
DatatypeRecord
getRadix in interface DatatypeRecordDatatypeRecord.getRadix()public boolean isSigned()
DatatypeRecord
isSigned in interface DatatypeRecordDatatypeRecord.isSigned()public boolean isAutoIncrement()
DatatypeRecord
isAutoIncrement in interface DatatypeRecordDatatypeRecord.isAutoIncrement()public boolean isCaseSensitive()
DatatypeRecord
isCaseSensitive in interface DatatypeRecordDatatypeRecord.isCaseSensitive()public short getType()
DatatypeRecord
getType in interface DatatypeRecordDatatypeRecord.getType()public boolean isBuiltin()
DatatypeRecord
isBuiltin in interface DatatypeRecordDatatypeRecord.isBuiltin()public short getSearchType()
DatatypeRecord
getSearchType in interface DatatypeRecordDatatypeRecord.getSearchType()public short getNullType()
DatatypeRecord
getNullType in interface DatatypeRecordDatatypeRecord.getNullType()public java.lang.String getJavaClassName()
DatatypeRecord
getJavaClassName in interface DatatypeRecordDatatypeRecord.getJavaClassName()public java.lang.String getRuntimeTypeName()
DatatypeRecord
getRuntimeTypeName in interface DatatypeRecordDatatypeRecord.getRuntimeTypeName()public java.lang.String getDatatypeID()
DatatypeRecord1. the base URI of the XML Schema namespace 2. the fragment identifier defining the name of the datatype
getDatatypeID in interface DatatypeRecordDatatypeRecord.getDatatypeID()public java.lang.String getBasetypeID()
DatatypeRecord1. the base URI of the XML Schema namespace 2. the fragment identifier defining the name of the datatype
getBasetypeID in interface DatatypeRecordDatatypeRecord.getBasetypeID()public java.lang.String getBasetypeName()
DatatypeRecord
The implementation simply computes the fragment from the DatatypeRecord.getBasetypeID().
getBasetypeName in interface DatatypeRecordDatatypeRecord.getBasetypeName()public java.lang.String getPrimitiveTypeID()
DatatypeRecord1. the base URI of the XML Schema namespace 2. the fragment identifier defining the name of the datatype
getPrimitiveTypeID in interface DatatypeRecordDatatypeRecord.getPrimitiveTypeID()public short getVarietyType()
DatatypeRecord
getVarietyType in interface DatatypeRecordDatatypeRecord.getVarietyType()public java.util.List getVarietyProps()
DatatypeRecord
getVarietyProps in interface DatatypeRecordDatatypeRecord.getVarietyProps()public void setBasetypeID(java.lang.String string)
string - public void setPrimitiveTypeID(java.lang.String string)
string - public void setAutoIncrement(boolean b)
b - public void setCaseSensitive(boolean b)
b - public void setSigned(boolean b)
b - public void setJavaClassName(java.lang.String string)
string - public void setLength(int i)
i - public void setNullType(short s)
s - public void setPrecisionLength(int i)
i - public void setRadix(int i)
i - public void setRuntimeTypeName(java.lang.String string)
string - public void setScale(int i)
i - public void setSearchType(short s)
s - public void setType(short s)
s - public void setDatatypeID(java.lang.String string)
string - public void setVarietyProps(java.util.List list)
list - public void setVarietyType(short s)
s - public java.lang.String toString()
toString in class AbstractMetadataRecord
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||