|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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 MetadataRecord
getName
in class AbstractMetadataRecord
MetadataRecord.getName()
public java.lang.String getModelName()
MetadataRecord
getModelName
in interface MetadataRecord
getModelName
in class AbstractMetadataRecord
MetadataRecord.getModelName()
public int getLength()
DatatypeRecord
getLength
in interface DatatypeRecord
DatatypeRecord.getLength()
public int getPrecisionLength()
DatatypeRecord
getPrecisionLength
in interface DatatypeRecord
DatatypeRecord.getPrecisionLength()
public int getScale()
DatatypeRecord
getScale
in interface DatatypeRecord
DatatypeRecord.getScale()
public int getRadix()
DatatypeRecord
getRadix
in interface DatatypeRecord
DatatypeRecord.getRadix()
public boolean isSigned()
DatatypeRecord
isSigned
in interface DatatypeRecord
DatatypeRecord.isSigned()
public boolean isAutoIncrement()
DatatypeRecord
isAutoIncrement
in interface DatatypeRecord
DatatypeRecord.isAutoIncrement()
public boolean isCaseSensitive()
DatatypeRecord
isCaseSensitive
in interface DatatypeRecord
DatatypeRecord.isCaseSensitive()
public short getType()
DatatypeRecord
getType
in interface DatatypeRecord
DatatypeRecord.getType()
public boolean isBuiltin()
DatatypeRecord
isBuiltin
in interface DatatypeRecord
DatatypeRecord.isBuiltin()
public short getSearchType()
DatatypeRecord
getSearchType
in interface DatatypeRecord
DatatypeRecord.getSearchType()
public short getNullType()
DatatypeRecord
getNullType
in interface DatatypeRecord
DatatypeRecord.getNullType()
public java.lang.String getJavaClassName()
DatatypeRecord
getJavaClassName
in interface DatatypeRecord
DatatypeRecord.getJavaClassName()
public java.lang.String getRuntimeTypeName()
DatatypeRecord
getRuntimeTypeName
in interface DatatypeRecord
DatatypeRecord.getRuntimeTypeName()
public java.lang.String getDatatypeID()
DatatypeRecord
1. the base URI of the XML Schema namespace 2. the fragment identifier defining the name of the datatype
getDatatypeID
in interface DatatypeRecord
DatatypeRecord.getDatatypeID()
public java.lang.String getBasetypeID()
DatatypeRecord
1. the base URI of the XML Schema namespace 2. the fragment identifier defining the name of the datatype
getBasetypeID
in interface DatatypeRecord
DatatypeRecord.getBasetypeID()
public java.lang.String getBasetypeName()
DatatypeRecord
The implementation simply computes the fragment from the DatatypeRecord.getBasetypeID()
.
getBasetypeName
in interface DatatypeRecord
DatatypeRecord.getBasetypeName()
public java.lang.String getPrimitiveTypeID()
DatatypeRecord
1. the base URI of the XML Schema namespace 2. the fragment identifier defining the name of the datatype
getPrimitiveTypeID
in interface DatatypeRecord
DatatypeRecord.getPrimitiveTypeID()
public short getVarietyType()
DatatypeRecord
getVarietyType
in interface DatatypeRecord
DatatypeRecord.getVarietyType()
public java.util.List getVarietyProps()
DatatypeRecord
getVarietyProps
in interface DatatypeRecord
DatatypeRecord.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 |