|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.introspection.ColumnDescriptor
ColumnDescriptor supplies meta-data information for an attribute
Supported API: false
Extendable: false
AttributeDescriptor
,
WTIntrospector
,
ClassInfo
,
LinkInfo
,
Serialized FormField Summary | |
private static String |
CLASSNAME
|
private String |
dbColumnName
|
static boolean |
DEBUG
|
private static int |
DEBUG_LEVEL
|
static long |
externalizationVersionUID
Version identifier for managing compatibility and evolution of externalizable classes. |
private boolean |
indexed
|
private String |
javaType
|
private int |
length
|
private static DebugWriter |
LOG
|
static int |
MAX_BYTES_PER_CHAR
|
static int |
MAX_SQL_STRING_SIZE
|
protected String |
name
|
private ClassInfo |
ownerClassInfo
|
private boolean |
pdInitialized
|
private PropertyDescriptor |
propertyDescriptor
|
static String |
REF_DELIMETER
|
private boolean |
required
|
(package private) static long |
serialVersionUID
|
private static String |
SIMPLE_CLASSNAME
|
private int |
sqlType
|
private String |
tableSize
|
private String |
tableSpaceName
|
private boolean |
unique
|
private boolean |
updatable
|
Constructor Summary | |
ColumnDescriptor()
|
|
ColumnDescriptor(String attributeName,
String aJavaType,
String columnName,
int aSqlType,
int aLength,
boolean isRequired,
boolean isIndexed,
boolean isUnique,
boolean isUpdatable,
String aTableSpaceName,
String aTableSize)
|
Method Summary | |
Object |
clone()
|
String |
getBaseColumnName()
Answer my source table's column name |
String |
getColumnName()
Answer my database column name |
String |
getJavaType()
Answer my Java type |
int |
getLength()
Length of the attribute. |
String |
getName()
Answer my name |
PropertyDescriptor |
getPropertyDescriptor()
Answer my PropertyDescriptor. |
int |
getSQLType()
Answer my SQL type |
String |
getTableSize()
Get the table size. |
String |
getTableSpaceName()
Get the table space name. |
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 |
void |
readExternal(ObjectInput input)
Reads the non-transient fields of this class from an external source. |
(package private) void |
setColumnName(String newName)
Set my database column name Only to be used by ClassInfo, in qualifying names for composites. |
(package private) void |
setName(String newName)
Set my name Only to be used by ClassInfo, in qualifying names for composites. |
(package private) void |
setOwnerClassInfo(ClassInfo info)
Set my owning ClassInfo Only to be used when BaseTableInfo initializes it. |
(package private) void |
setPropertyDescriptor(PropertyDescriptor pd)
Set my PropertyDescriptor Only to be used when ClassInfo initializes it. |
String |
toString()
|
void |
writeExternal(ObjectOutput output)
Writes the non-transient fields of this class to an external source. |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final String CLASSNAME
private static final String SIMPLE_CLASSNAME
public static final boolean DEBUG
private static final DebugWriter LOG
public static final long externalizationVersionUID
static final long serialVersionUID
private static final int DEBUG_LEVEL
public static final String REF_DELIMETER
public static final int MAX_BYTES_PER_CHAR
public static final int MAX_SQL_STRING_SIZE
protected String name
private String javaType
private String dbColumnName
private int sqlType
private int length
private boolean required
private boolean indexed
private boolean unique
private boolean updatable
private String tableSpaceName
private String tableSize
private boolean pdInitialized
private PropertyDescriptor propertyDescriptor
private ClassInfo ownerClassInfo
Constructor Detail |
public ColumnDescriptor()
public ColumnDescriptor(String attributeName, String aJavaType, String columnName, int aSqlType, int aLength, boolean isRequired, boolean isIndexed, boolean isUnique, boolean isUpdatable, String aTableSpaceName, String aTableSize)
Method Detail |
public Object clone()
public String getBaseColumnName()
public String getColumnName()
public String getJavaType()
public int getLength()
public String getName()
public int getSQLType()
public String getTableSize()
public String getTableSpaceName()
public boolean isIndexed()
public boolean isRequired()
public boolean isUnique()
public boolean isUpdatable()
public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
input
-
IOException
ClassNotFoundException
void setColumnName(String newName)
void setName(String newName)
public String toString()
public PropertyDescriptor getPropertyDescriptor()
void setPropertyDescriptor(PropertyDescriptor pd)
void setOwnerClassInfo(ClassInfo 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 |