|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.introspection.ColumnDescriptor
wt.introspection.AliasDescriptor
AliasDescriptor supplies meta-data information for a database view,
over a particular table column.
Supported API: false
Extendable: false
ColumnDescriptor
,
DatabaseViewInfo
,
WTIntrospector
,
Serialized FormField Summary | |
private String |
aliasName
|
private static int |
DEBUG_LEVEL
|
private String |
tableAlias
|
private ColumnDescriptor |
wrappedColumn
|
Fields inherited from class wt.introspection.ColumnDescriptor |
DEBUG, externalizationVersionUID, MAX_BYTES_PER_CHAR, MAX_SQL_STRING_SIZE, name, REF_DELIMETER, serialVersionUID |
Constructor Summary | |
protected |
AliasDescriptor()
|
|
AliasDescriptor(ColumnDescriptor col_descr,
String table_alias)
|
|
AliasDescriptor(ColumnDescriptor col_descr,
String the_name,
String the_alias_name,
String the_table_alias)
|
Method Summary | |
String |
getBaseColumnName()
Answer my source table's column name |
String |
getColumnName()
Answer my database column name, or alias of the column name, if different |
String |
getJavaType()
Answer my Java type |
int |
getLength()
Length of the attribute |
PropertyDescriptor |
getPropertyDescriptor()
Answer my PropertyDescriptor. |
int |
getSQLType()
Answer my SQL type |
String |
getTableAlias()
Answer the alias name of the base table, which is the source of the base column |
String |
getTableSize()
Get the table size. |
String |
getTableSpaceName()
Get the table space name. |
(package private) ColumnDescriptor |
getWrappedColumnDescriptor()
|
boolean |
isIndexed()
Answer whether attribute is indexed |
boolean |
isRequired()
Answer true | false - attribute is required |
boolean |
isUnique()
Answer whether attribute must be unique, among all instances |
boolean |
isUpdatable()
Answer whether column may be updatable |
(package private) void |
setPropertyDescriptor(PropertyDescriptor pd)
Set my PropertyDescriptor Only to be used when ClassInfo initializes it. |
Methods inherited from class wt.introspection.ColumnDescriptor |
clone, getName, readExternal, setColumnName, setName, setOwnerClassInfo, toString, writeExternal |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final int DEBUG_LEVEL
private String aliasName
private String tableAlias
private ColumnDescriptor wrappedColumn
Constructor Detail |
protected AliasDescriptor()
public AliasDescriptor(ColumnDescriptor col_descr, String table_alias)
public AliasDescriptor(ColumnDescriptor col_descr, String the_name, String the_alias_name, String the_table_alias)
Method Detail |
public String getBaseColumnName()
getBaseColumnName
in class ColumnDescriptor
public String getColumnName()
getColumnName
in class ColumnDescriptor
public String getJavaType()
getJavaType
in class ColumnDescriptor
public int getLength()
getLength
in class ColumnDescriptor
public int getSQLType()
getSQLType
in class ColumnDescriptor
public String getTableAlias()
public String getTableSize()
getTableSize
in class ColumnDescriptor
public String getTableSpaceName()
getTableSpaceName
in class ColumnDescriptor
ColumnDescriptor getWrappedColumnDescriptor()
public boolean isIndexed()
isIndexed
in class ColumnDescriptor
public boolean isRequired()
isRequired
in class ColumnDescriptor
public boolean isUnique()
isUnique
in class ColumnDescriptor
public boolean isUpdatable()
isUpdatable
in class ColumnDescriptor
public PropertyDescriptor getPropertyDescriptor()
getPropertyDescriptor
in class ColumnDescriptor
void setPropertyDescriptor(PropertyDescriptor pd)
setPropertyDescriptor
in class ColumnDescriptor
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |