org.teiid.connector.metadata.runtime
Class DatatypeRecordImpl

java.lang.Object
  extended by org.teiid.connector.metadata.runtime.AbstractMetadataRecord
      extended by org.teiid.connector.metadata.runtime.DatatypeRecordImpl
All Implemented Interfaces:
java.io.Serializable

public class DatatypeRecordImpl
extends AbstractMetadataRecord

ColumnRecordImpl

See Also:
Serialized Form

Nested Class Summary
static interface DatatypeRecordImpl.MetadataFieldNames
          Constants for names of accessor methods that map to fields stored on the DatatypeRecords.
 
Field Summary
static java.lang.String URI_REFERENCE_DELIMITER
          Delimiter used to separate the URI string from the URI fragment
 
Fields inherited from class org.teiid.connector.metadata.runtime.AbstractMetadataRecord
NAME_DELIM_CHAR
 
Constructor Summary
DatatypeRecordImpl()
           
 
Method Summary
 java.lang.String getBasetypeID()
           
 java.lang.String getBasetypeName()
           
 java.lang.String getDatatypeID()
           
 java.lang.String getJavaClassName()
           
 int getLength()
           
 java.lang.String getModelName()
           
 java.lang.String getName()
           
 short getNullType()
           
 int getPrecisionLength()
           
 java.lang.String getPrimitiveTypeID()
           
 int getRadix()
           
 java.lang.String getRuntimeTypeName()
           
 int getScale()
           
 short getSearchType()
           
 short getType()
           
 java.util.List getVarietyProps()
           
 short getVarietyType()
           
 boolean isAutoIncrement()
           
 boolean isBuiltin()
           
 boolean isCaseSensitive()
           
 boolean isSigned()
           
 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 org.teiid.connector.metadata.runtime.AbstractMetadataRecord
equals, getAnnotation, getExtensionProperties, getFullName, getNameInSource, getParentFullName, getParentPathString, getParentUUID, getPath, getPathString, getProperties, getRecordType, getUUID, hashCode, setAnnotation, setExtensionProperties, setFullName, setName, setNameInSource, setParentUUID, setProperties, setRecordType, setUUID
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

URI_REFERENCE_DELIMITER

public static final java.lang.String URI_REFERENCE_DELIMITER
Delimiter used to separate the URI string from the URI fragment

See Also:
Constant Field Values
Constructor Detail

DatatypeRecordImpl

public DatatypeRecordImpl()
Method Detail

getName

public java.lang.String getName()
Overrides:
getName in class AbstractMetadataRecord
See Also:
com.metamatrix.modeler.core.metadata.runtime.MetadataRecord#getName()

getModelName

public java.lang.String getModelName()
Overrides:
getModelName in class AbstractMetadataRecord
See Also:
com.metamatrix.modeler.core.metadata.runtime.MetadataRecord#getModelName()

getLength

public int getLength()
See Also:
com.metamatrix.modeler.core.metadata.runtime.DatatypeRecord#getLength()

getPrecisionLength

public int getPrecisionLength()
See Also:
com.metamatrix.modeler.core.metadata.runtime.DatatypeRecord#getPrecisionLength()

getScale

public int getScale()
See Also:
com.metamatrix.modeler.core.metadata.runtime.DatatypeRecord#getScale()

getRadix

public int getRadix()
See Also:
com.metamatrix.modeler.core.metadata.runtime.DatatypeRecord#getRadix()

isSigned

public boolean isSigned()
See Also:
com.metamatrix.modeler.core.metadata.runtime.DatatypeRecord#isSigned()

isAutoIncrement

public boolean isAutoIncrement()
See Also:
com.metamatrix.modeler.core.metadata.runtime.DatatypeRecord#isAutoIncrement()

isCaseSensitive

public boolean isCaseSensitive()
See Also:
com.metamatrix.modeler.core.metadata.runtime.DatatypeRecord#isCaseSensitive()

getType

public short getType()
See Also:
com.metamatrix.modeler.core.metadata.runtime.DatatypeRecord#getType()

isBuiltin

public boolean isBuiltin()
See Also:
com.metamatrix.modeler.core.metadata.runtime.DatatypeRecord#isBuiltin()

getSearchType

public short getSearchType()
See Also:
com.metamatrix.modeler.core.metadata.runtime.DatatypeRecord#getSearchType()

getNullType

public short getNullType()
See Also:
com.metamatrix.modeler.core.metadata.runtime.DatatypeRecord#getNullType()

getJavaClassName

public java.lang.String getJavaClassName()
See Also:
com.metamatrix.modeler.core.metadata.runtime.DatatypeRecord#getJavaClassName()

getRuntimeTypeName

public java.lang.String getRuntimeTypeName()
See Also:
com.metamatrix.modeler.core.metadata.runtime.DatatypeRecord#getRuntimeTypeName()

getDatatypeID

public java.lang.String getDatatypeID()
See Also:
com.metamatrix.modeler.core.metadata.runtime.DatatypeRecord#getDatatypeID()

getBasetypeID

public java.lang.String getBasetypeID()
See Also:
com.metamatrix.modeler.core.metadata.runtime.DatatypeRecord#getBasetypeID()

getBasetypeName

public java.lang.String getBasetypeName()
See Also:
com.metamatrix.modeler.core.metadata.runtime.DatatypeRecord#getBasetypeName()

getPrimitiveTypeID

public java.lang.String getPrimitiveTypeID()
Since:
4.3
See Also:
com.metamatrix.modeler.core.metadata.runtime.DatatypeRecord#getPrimitiveTypeID()

getVarietyType

public short getVarietyType()
See Also:
com.metamatrix.modeler.core.metadata.runtime.DatatypeRecord#getVarietyType()

getVarietyProps

public java.util.List getVarietyProps()
See Also:
com.metamatrix.modeler.core.metadata.runtime.DatatypeRecord#getVarietyProps()

setBasetypeID

public void setBasetypeID(java.lang.String string)
Parameters:
string -

setPrimitiveTypeID

public void setPrimitiveTypeID(java.lang.String string)
Parameters:
string -

setAutoIncrement

public void setAutoIncrement(boolean b)
Parameters:
b -

setCaseSensitive

public void setCaseSensitive(boolean b)
Parameters:
b -

setSigned

public void setSigned(boolean b)
Parameters:
b -

setJavaClassName

public void setJavaClassName(java.lang.String string)
Parameters:
string -

setLength

public void setLength(int i)
Parameters:
i -

setNullType

public void setNullType(short s)
Parameters:
s -

setPrecisionLength

public void setPrecisionLength(int i)
Parameters:
i -

setRadix

public void setRadix(int i)
Parameters:
i -

setRuntimeTypeName

public void setRuntimeTypeName(java.lang.String string)
Parameters:
string -

setScale

public void setScale(int i)
Parameters:
i -

setSearchType

public void setSearchType(short s)
Parameters:
s -

setType

public void setType(short s)
Parameters:
s -

setDatatypeID

public void setDatatypeID(java.lang.String string)
Parameters:
string -

setVarietyProps

public void setVarietyProps(java.util.List list)
Parameters:
list -

setVarietyType

public void setVarietyType(short s)
Parameters:
s -

toString

public java.lang.String toString()
Overrides:
toString in class AbstractMetadataRecord


Copyright © 2009. All Rights Reserved.