|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.metamatrix.common.jdbc.metadata.JDBCObject
com.metamatrix.common.jdbc.metadata.Column
public class Column
Field Summary |
---|
Fields inherited from class com.metamatrix.common.jdbc.metadata.JDBCObject |
---|
DELIMITER |
Constructor Summary | |
---|---|
Column()
|
|
Column(java.lang.String name)
|
|
Column(java.lang.String name,
int sqlType)
|
Method Summary | |
---|---|
boolean |
getAutoIncremented()
Gets the autoIncremented. |
int |
getCharOctetLength()
|
java.lang.String |
getClassMapping()
|
ColumnType |
getColumnType()
Gets the columnType. |
int |
getDataType()
Returns the JDBC sql data type |
java.lang.String |
getDataTypeName()
|
int |
getDecimalDigits()
|
java.lang.String |
getDefaultValue()
|
java.lang.String |
getLabel()
|
Nullability |
getNullability()
|
int |
getPosition()
|
int |
getRadix()
|
java.lang.String |
getRemarks()
|
int |
getSize()
|
boolean |
hasDefaultValue(java.lang.String defaultValue)
|
void |
setAutoIncremented(boolean autoIncremented)
Sets the autoIncremented. |
void |
setCharOctetLength(int charOctetLength)
|
void |
setClassMapping(java.lang.String className)
|
void |
setColumnType(ColumnType columnType)
Sets the columnType. |
void |
setDataType(int dataType)
Sets the sqlType |
void |
setDataTypeName(java.lang.String dataTypeName)
|
void |
setDecimalDigits(int decimalDigits)
|
void |
setDefaultValue(java.lang.String defaultValue)
|
void |
setLabel(java.lang.String label)
|
void |
setNullability(Nullability nullability)
|
void |
setPosition(int position)
|
void |
setRadix(int radix)
|
void |
setRemarks(java.lang.String remarks)
|
void |
setSize(int size)
|
Methods inherited from class com.metamatrix.common.jdbc.metadata.JDBCObject |
---|
addFullName, getFullName, getFullName, getName, getOriginalNameNull, getOwner, getProperties, getProperty, hasName, hasOwner, hasProperties, isMarked, lookupJDBCObject, print, print, removeProperty, setMarked, setName, setOriginalNameNull, setProperty, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Column()
public Column(java.lang.String name)
public Column(java.lang.String name, int sqlType)
Method Detail |
---|
public int getDataType()
Types
public void setDataType(int dataType)
sqlType
- The sqlType to setTypes
public java.lang.String getDataTypeName()
public void setDataTypeName(java.lang.String dataTypeName)
public int getSize()
public void setSize(int size)
public int getDecimalDigits()
public void setDecimalDigits(int decimalDigits)
public int getRadix()
public void setRadix(int radix)
public java.lang.String getRemarks()
public void setRemarks(java.lang.String remarks)
public java.lang.String getDefaultValue()
public void setDefaultValue(java.lang.String defaultValue)
public boolean hasDefaultValue(java.lang.String defaultValue)
public int getCharOctetLength()
public void setCharOctetLength(int charOctetLength)
public int getPosition()
public void setPosition(int position)
public Nullability getNullability()
public void setNullability(Nullability nullability)
public void setClassMapping(java.lang.String className)
public java.lang.String getClassMapping()
public void setLabel(java.lang.String label)
public java.lang.String getLabel()
public ColumnType getColumnType()
public void setColumnType(ColumnType columnType)
columnType
- The columnType to setpublic boolean getAutoIncremented()
public void setAutoIncremented(boolean autoIncremented)
autoIncremented
- The autoIncremented to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |