com.metamatrix.metadata.runtime.impl
Class ColumnRecordImpl

java.lang.Object
  extended by com.metamatrix.metadata.runtime.impl.AbstractMetadataRecord
      extended by com.metamatrix.metadata.runtime.impl.ColumnRecordImpl
All Implemented Interfaces:
ColumnRecord, MetadataRecord, java.io.Serializable

public class ColumnRecordImpl
extends AbstractMetadataRecord
implements ColumnRecord

ColumnRecordImpl

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.metamatrix.modeler.core.metadata.runtime.MetadataRecord
MetadataRecord.MetadataFieldNames, MetadataRecord.MetadataRecordProperties
 
Field Summary
 
Fields inherited from class com.metamatrix.metadata.runtime.impl.AbstractMetadataRecord
delegate, eObject
 
Constructor Summary
  ColumnRecordImpl()
           
protected ColumnRecordImpl(MetadataRecordDelegate delegate)
           
 
Method Summary
 int getCharOctetLength()
          Get the charOctetLength of the column
 java.lang.String getDatatypeUUID()
          Get the UUID of the datatype associated with the column
 java.lang.Object getDefaultValue()
          Get the default value of the column
 int getDistinctValues()
          Get the number of distinct values this column has in the table.
 java.lang.String getFormat()
          Get the format of the column
 int getLength()
          Get the column's length
 java.lang.Object getMaxValue()
          Get the maximum value of the column
 java.lang.Object getMinValue()
          Get the minimum value of the column
 java.lang.String getNativeType()
          Get the native type name of the column
 int getNullType()
          Check if the column is nullable
 int getNullValues()
          Get the number of null values this column has in the table.
 int getPosition()
          Get the position of the column within its parent
 int getPrecision()
          Get the precision of the column
 int getRadix()
          Get the column's radix
 java.lang.String getRuntimeType()
          Get the runtime type name of the column
 int getScale()
          Get the column's length
 int getSearchType()
          Check if the column is searcheable in a LIKE clause
 boolean isAutoIncrementable()
          Check if the column is autoincrementable
 boolean isCaseSensitive()
          Check if the column is casesensitive
 boolean isCurrency()
          Check if the column is a currency type
 boolean isFixedLength()
          Check if the column is of a fixed length
 boolean isSelectable()
          Check if the column is selectable
 boolean isSigned()
          Check if the column is signed type.
 boolean isTranformationInputParameter()
          Check if the column represents a column on a virtual group that is mapped to a procedure's input parameter that is a transformation source.
 boolean isUpdatable()
          Check if the column is updatable
 void setAutoIncrementable(boolean b)
           
 void setCaseSensitive(boolean b)
           
 void setCharOctetLength(int i)
           
 void setCurrency(boolean b)
           
 void setDatatypeUUID(java.lang.String string)
           
 void setDefaultValue(java.lang.Object object)
           
 void setDistinctValues(int distinctValues)
           
 void setFixedLength(boolean b)
           
 void setFormat(java.lang.String string)
           
 void setLength(int i)
           
 void setMaxValue(java.lang.Object object)
           
 void setMinValue(java.lang.Object object)
           
 void setNativeType(java.lang.String nativeType)
           
 void setNullType(int i)
           
 void setNullValues(int nullValues)
           
 void setPosition(int i)
           
 void setPrecision(int i)
           
 void setRadix(int i)
           
 void setRuntimeType(java.lang.String string)
           
 void setScale(int i)
           
 void setSearchType(int s)
           
 void setSelectable(boolean b)
           
 void setSigned(boolean b)
           
 void setTransformationInputParameter(boolean b)
           
 void setUpdatable(boolean b)
           
 java.lang.String toString()
           
 
Methods inherited from class com.metamatrix.metadata.runtime.impl.AbstractMetadataRecord
equals, getEObject, getFullName, getIndexVersion, getModelName, getName, 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, getModelName, getName, getNameInSource, getParentFullName, getParentPathString, getParentUUID, getPath, getPathString, getPropertyValue, getRecordType, getResourcePath, getUUID, setPropertyValue
 

Constructor Detail

ColumnRecordImpl

public ColumnRecordImpl()

ColumnRecordImpl

protected ColumnRecordImpl(MetadataRecordDelegate delegate)
Method Detail

getCharOctetLength

public int getCharOctetLength()
Description copied from interface: ColumnRecord
Get the charOctetLength of the column

Specified by:
getCharOctetLength in interface ColumnRecord
Returns:
column's char octet length

getRuntimeType

public java.lang.String getRuntimeType()
Description copied from interface: ColumnRecord
Get the runtime type name of the column

Specified by:
getRuntimeType in interface ColumnRecord
Returns:
column's runtime type

getDatatypeUUID

public java.lang.String getDatatypeUUID()
Description copied from interface: ColumnRecord
Get the UUID of the datatype associated with the column

Specified by:
getDatatypeUUID in interface ColumnRecord
Returns:
the UUID of the datatype

getDefaultValue

public java.lang.Object getDefaultValue()
Description copied from interface: ColumnRecord
Get the default value of the column

Specified by:
getDefaultValue in interface ColumnRecord
Returns:
column's default value

getLength

public int getLength()
Description copied from interface: ColumnRecord
Get the column's length

Specified by:
getLength in interface ColumnRecord
Returns:
length of the column

getMaxValue

public java.lang.Object getMaxValue()
Description copied from interface: ColumnRecord
Get the maximum value of the column

Specified by:
getMaxValue in interface ColumnRecord
Returns:
column's maximum value

getMinValue

public java.lang.Object getMinValue()
Description copied from interface: ColumnRecord
Get the minimum value of the column

Specified by:
getMinValue in interface ColumnRecord
Returns:
column's minimum value

getPrecision

public int getPrecision()
Description copied from interface: ColumnRecord
Get the precision of the column

Specified by:
getPrecision in interface ColumnRecord
Returns:
column's precision

getPosition

public int getPosition()
Description copied from interface: ColumnRecord
Get the position of the column within its parent

Specified by:
getPosition in interface ColumnRecord
Returns:
column's position

getScale

public int getScale()
Description copied from interface: ColumnRecord
Get the column's length

Specified by:
getScale in interface ColumnRecord
Returns:
length of the column

getSearchType

public int getSearchType()
Description copied from interface: ColumnRecord
Check if the column is searcheable in a LIKE clause

Specified by:
getSearchType in interface ColumnRecord
Returns:
true if the column is searcheable in a LIKE clause

getFormat

public java.lang.String getFormat()
Description copied from interface: ColumnRecord
Get the format of the column

Specified by:
getFormat in interface ColumnRecord
Returns:
column's format

isAutoIncrementable

public boolean isAutoIncrementable()
Description copied from interface: ColumnRecord
Check if the column is autoincrementable

Specified by:
isAutoIncrementable in interface ColumnRecord
Returns:
true if the column is autoincrementable else false

isCaseSensitive

public boolean isCaseSensitive()
Description copied from interface: ColumnRecord
Check if the column is casesensitive

Specified by:
isCaseSensitive in interface ColumnRecord
Returns:
true if the column is casesensitive else false

isCurrency

public boolean isCurrency()
Description copied from interface: ColumnRecord
Check if the column is a currency type

Specified by:
isCurrency in interface ColumnRecord
Returns:
true if the column is of a fixed length

isFixedLength

public boolean isFixedLength()
Description copied from interface: ColumnRecord
Check if the column is of a fixed length

Specified by:
isFixedLength in interface ColumnRecord
Returns:
true if the column is of a fixed length

isTranformationInputParameter

public boolean isTranformationInputParameter()
Description copied from interface: ColumnRecord
Check if the column represents a column on a virtual group that is mapped to a procedure's input parameter that is a transformation source. In this sense, the virtual column is an input parameter to the tranformation.

Specified by:
isTranformationInputParameter in interface ColumnRecord
Returns:
true if the column is a tranformation input parameter
Since:
4.2
See Also:
ColumnRecord.isTranformationInputParameter()

getNullType

public int getNullType()
Description copied from interface: ColumnRecord
Check if the column is nullable

Specified by:
getNullType in interface ColumnRecord
Returns:

isSelectable

public boolean isSelectable()
Description copied from interface: ColumnRecord
Check if the column is selectable

Specified by:
isSelectable in interface ColumnRecord
Returns:
true if the column is selectable elese false

isSigned

public boolean isSigned()
Description copied from interface: ColumnRecord
Check if the column is signed type.

Specified by:
isSigned in interface ColumnRecord
Returns:
true if the column is of a fixed length

isUpdatable

public boolean isUpdatable()
Description copied from interface: ColumnRecord
Check if the column is updatable

Specified by:
isUpdatable in interface ColumnRecord
Returns:
true if the column is updatable else false

getRadix

public int getRadix()
Description copied from interface: ColumnRecord
Get the column's radix

Specified by:
getRadix in interface ColumnRecord
Returns:
the column's radix

getNativeType

public java.lang.String getNativeType()
Description copied from interface: ColumnRecord
Get the native type name of the column

Specified by:
getNativeType in interface ColumnRecord
Returns:
column's native type
Since:
4.2
See Also:
ColumnRecord.getNativeType()

getDistinctValues

public int getDistinctValues()
Description copied from interface: ColumnRecord
Get the number of distinct values this column has in the table.

Specified by:
getDistinctValues in interface ColumnRecord
Returns:
distinct values for the column
Since:
4.3
See Also:
ColumnRecord.getDistinctValues()

getNullValues

public int getNullValues()
Description copied from interface: ColumnRecord
Get the number of null values this column has in the table.

Specified by:
getNullValues in interface ColumnRecord
Returns:
null values for the column
Since:
4.3
See Also:
ColumnRecord.getNullValues()

setAutoIncrementable

public void setAutoIncrementable(boolean b)
Parameters:
b -

setCaseSensitive

public void setCaseSensitive(boolean b)
Parameters:
b -

setCharOctetLength

public void setCharOctetLength(int i)
Parameters:
i -

setCurrency

public void setCurrency(boolean b)
Parameters:
b -

setRuntimeType

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

setDatatypeUUID

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

setDefaultValue

public void setDefaultValue(java.lang.Object object)
Parameters:
object -

setFixedLength

public void setFixedLength(boolean b)
Parameters:
b -

setLength

public void setLength(int i)
Parameters:
i -

setNullType

public void setNullType(int i)
Parameters:
i -

setMaxValue

public void setMaxValue(java.lang.Object object)
Parameters:
object -

setMinValue

public void setMinValue(java.lang.Object object)
Parameters:
object -

setPrecision

public void setPrecision(int i)
Parameters:
i -

setPosition

public void setPosition(int i)
Parameters:
i -

setScale

public void setScale(int i)
Parameters:
i -

setSearchType

public void setSearchType(int s)
Parameters:
s -

setSelectable

public void setSelectable(boolean b)
Parameters:
b -

setSigned

public void setSigned(boolean b)
Parameters:
b -

setUpdatable

public void setUpdatable(boolean b)
Parameters:
b -

setRadix

public void setRadix(int i)
Parameters:
i -

setFormat

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

setDistinctValues

public void setDistinctValues(int distinctValues)
Parameters:
distinctValues - The distinctValues to set.
Since:
4.3

setNullValues

public void setNullValues(int nullValues)
Parameters:
nullValues - The nullValues to set.
Since:
4.3

setNativeType

public void setNativeType(java.lang.String nativeType)
Parameters:
nativeType - The nativeType to set.
Since:
4.2

setTransformationInputParameter

public void setTransformationInputParameter(boolean b)
Parameters:
b -

toString

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


Copyright © 2009. All Rights Reserved.