|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.introspection.TableInfo
TableInfo is the class for providing database table meta-data
WTIntrospector
,
ClassInfo
,
BaseTableInfo
,
DatabaseViewInfo
,
ColumnDescriptor
,
Serialized FormField Summary | |
protected static int |
COLUMN_NAME_MAX_LENGTH
|
protected ColumnDescriptor[] |
columns
|
static long |
externalizationVersionUID
Version identifier for managing compatibility and evolution of externalizable classes. |
protected ClassInfo |
owner
|
private static String |
RESOURCE
|
(package private) static long |
serialVersionUID
|
private String |
tablename
|
(package private) static boolean |
VERBOSE
|
Constructor Summary | |
TableInfo()
Constructor |
|
TableInfo(String table_name)
|
Method Summary | |
protected abstract void |
accumulateColumns()
|
abstract ColumnDescriptor |
getColumnDescriptor(String name)
Obtain a column descriptor by name |
ColumnDescriptor[] |
getColumnDescriptors()
Answer an array of column descriptors |
String |
getTablename()
Answer database table name. |
void |
readExternal(ObjectInput input)
Reads the non-transient fields of this class from an external source. |
void |
setOwner(ClassInfo owner_info)
|
void |
writeExternal(ObjectOutput output)
Writes the non-transient fields of this class to an external source. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final long externalizationVersionUID
static final long serialVersionUID
static boolean VERBOSE
private static final String RESOURCE
protected static final int COLUMN_NAME_MAX_LENGTH
private String tablename
protected ClassInfo owner
protected transient ColumnDescriptor[] columns
Constructor Detail |
public TableInfo()
public TableInfo(String table_name)
Method Detail |
protected abstract void accumulateColumns() throws WTIntrospectionException
WTIntrospectionException
public abstract ColumnDescriptor getColumnDescriptor(String name) throws WTIntrospectionException
WTIntrospectionException
public ColumnDescriptor[] getColumnDescriptors() throws WTIntrospectionException
WTIntrospectionException
public String getTablename()
public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
input
-
IOException
ClassNotFoundException
public void setOwner(ClassInfo owner_info)
public void writeExternal(ObjectOutput output) throws IOException
writeExternal
in interface Externalizable
output
-
IOException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |