|
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Object | +--intradoc.data.FieldInfo
A cross database/storage representation of field type information for a field
in a table or parameter list.
Note: If m_type is null then there is no field type information available beyond
the index at which the field is located. Depending on where the data was retrieved
for creating the result set, there may be less or more information about the field type
present.
| Field Summary | |
static short |
BINARY
Variable length binary data. |
static short |
BLOB
Variable length Binary large object. |
static short |
BOOLEAN
Field holds true or false. |
static short |
CHAR
Field holds a single character. |
static short |
DATE
Field holds a date. |
static short |
FLOAT
Field holds a floating point number (The Java 'double' type is used to hold these values). |
static short |
INT
Field holds an integer. |
int |
m_index
Index in result set row where field is located. |
boolean |
m_isFixedLen
Set to true if field always consumes the same number of characters or bytes. |
int |
m_maxLen
Maximum length of field in characters when translated to a string. |
java.lang.String |
m_name
Name of the field |
int |
m_type
Field type (corresponds to an intersection of MS Access and JDBC field types). |
static short |
MEMO
Variable length Unicode string for memo field. |
static short |
STRING
Field holds a Unicode string (although the source of the string may not be Unicode). |
| Constructor Summary | |
FieldInfo()
Default constructor. |
|
| Method Summary | |
void |
copy(FieldInfo info)
Copies data from the passed parameter into this object. |
boolean |
equals(java.lang.Object obj)
Compares type, name, and length. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final short BOOLEAN
public static final short CHAR
public static final short INT
public static final short FLOAT
public static final short DATE
public static final short STRING
public static final short BINARY
public static final short MEMO
public static final short BLOB
public int m_index
public java.lang.String m_name
public int m_type
public boolean m_isFixedLen
public int m_maxLen
| Constructor Detail |
public FieldInfo()
| Method Detail |
public void copy(FieldInfo info)
info - The source object.public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - The source objectpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
(c) 1996-2005 All rights reserved. Stellent, Inc. |