com.metamatrix.modeler.core.metadata.runtime
Interface ColumnRecord

All Superinterfaces:
MetadataRecord, java.io.Serializable
All Known Implementing Classes:
ColumnRecordImpl

public interface ColumnRecord
extends MetadataRecord

ColumnRecord


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.metamatrix.modeler.core.metadata.runtime.MetadataRecord
MetadataRecord.MetadataFieldNames, MetadataRecord.MetadataRecordProperties
 
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
 
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

isSelectable

boolean isSelectable()
Check if the column is selectable

Returns:
true if the column is selectable elese false

isUpdatable

boolean isUpdatable()
Check if the column is updatable

Returns:
true if the column is updatable else false

getNullType

int getNullType()
Check if the column is nullable

Returns:
nulltype of the column

isAutoIncrementable

boolean isAutoIncrementable()
Check if the column is autoincrementable

Returns:
true if the column is autoincrementable else false

isCaseSensitive

boolean isCaseSensitive()
Check if the column is casesensitive

Returns:
true if the column is casesensitive else false

isSigned

boolean isSigned()
Check if the column is signed type.

Returns:
true if the column is of a fixed length

isCurrency

boolean isCurrency()
Check if the column is a currency type

Returns:
true if the column is of a fixed length

isFixedLength

boolean isFixedLength()
Check if the column is of a fixed length

Returns:
true if the column is of a fixed length

isTranformationInputParameter

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. In this sense, the virtual column is an input parameter to the tranformation.

Returns:
true if the column is a tranformation input parameter

getSearchType

int getSearchType()
Check if the column is searcheable in a LIKE clause

Returns:
true if the column is searcheable in a LIKE clause

getDefaultValue

java.lang.Object getDefaultValue()
Get the default value of the column

Returns:
column's default value

getMinValue

java.lang.Object getMinValue()
Get the minimum value of the column

Returns:
column's minimum value

getMaxValue

java.lang.Object getMaxValue()
Get the maximum value of the column

Returns:
column's maximum value

getFormat

java.lang.String getFormat()
Get the format of the column

Returns:
column's format

getLength

int getLength()
Get the column's length

Returns:
length of the column

getScale

int getScale()
Get the column's length

Returns:
length of the column

getRuntimeType

java.lang.String getRuntimeType()
Get the runtime type name of the column

Returns:
column's runtime type

getNativeType

java.lang.String getNativeType()
Get the native type name of the column

Returns:
column's native type

getDatatypeUUID

java.lang.String getDatatypeUUID()
Get the UUID of the datatype associated with the column

Returns:
the UUID of the datatype

getPrecision

int getPrecision()
Get the precision of the column

Returns:
column's precision

getPosition

int getPosition()
Get the position of the column within its parent

Returns:
column's position

getCharOctetLength

int getCharOctetLength()
Get the charOctetLength of the column

Returns:
column's char octet length

getRadix

int getRadix()
Get the column's radix

Returns:
the column's radix

getDistinctValues

int getDistinctValues()
Get the number of distinct values this column has in the table.

Returns:
distinct values for the column
Since:
4.3

getNullValues

int getNullValues()
Get the number of null values this column has in the table.

Returns:
null values for the column
Since:
4.3


Copyright © 2009. All Rights Reserved.