|
SPT RWT Application API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sptci.rwt.MetaData
com.sptci.rwt.ObjectMetaData
com.sptci.rwt.ColumnMetaData
public class ColumnMetaData
A value object that represents metadata for columns.
© Copyright 2007 Sans Pareil Technologies, Inc.
DatabaseMetaData.getColumns(java.lang.String, java.lang.String, java.lang.String, java.lang.String),
Serialized Form| Field Summary | |
|---|---|
private String |
defaultValue
The default value for this column. |
private String |
nullable
Defines whether the column takes null values or not. |
private int |
size
The size or precision of the column. |
private TableTypeMetaData |
table
A reference to the table/view in which this column belongs. |
private int |
type
The data type for the column as values defined in Types. |
private String |
typeName
The database specific name of the column type. |
| Constructor Summary | |
|---|---|
ColumnMetaData()
|
|
| Method Summary | |
|---|---|
String |
getDefaultValue()
Returns defaultValue. |
String |
getNullable()
Returns nullable. |
int |
getSize()
Returns size. |
TableTypeMetaData |
getTable()
Returns table. |
int |
getType()
Returns type. |
String |
getTypeName()
Returns typeName. |
protected void |
setDefaultValue(String defaultValue)
Set defaultValue. |
protected void |
setNullable(String nullable)
Set nullable. |
protected void |
setSize(int size)
Set size. |
protected void |
setTable(TableTypeMetaData table)
Set table. |
protected void |
setType(int type)
Set type. |
protected void |
setTypeName(String typeName)
Set typeName. |
| Methods inherited from class com.sptci.rwt.ObjectMetaData |
|---|
getCatalogue, getComment, getRoot, setCatalogue, setComment, setRoot |
| Methods inherited from class com.sptci.rwt.MetaData |
|---|
equals, getName, hashCode, setName, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private int type
Types.
private String typeName
private String defaultValue
private int size
private String nullable
null values or not.
private TableTypeMetaData table
| Constructor Detail |
|---|
public ColumnMetaData()
| Method Detail |
|---|
public int getType()
type.
protected void setType(int type)
type.
type - The value to set.public String getTypeName()
typeName.
protected void setTypeName(String typeName)
typeName.
typeName - The value to set.public int getSize()
size.
protected void setSize(int size)
size.
size - The value to set.public String getNullable()
nullable.
protected void setNullable(String nullable)
nullable.
nullable - The value to set.public String getDefaultValue()
defaultValue.
protected void setDefaultValue(String defaultValue)
defaultValue.
defaultValue - The value to set.public TableTypeMetaData getTable()
table.
protected void setTable(TableTypeMetaData table)
table.
table - The value to set.
|
SPT RWT Application API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||