|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This class is an abstraction for building an object from a result set
(i.e. PersistentRetrieveIfc). It is responsible for both generating
the needed columns in the SQL statement and building the object from
the result set. It does not control the traversal of the result set.
It only reads the values at the current position.
Supported API: false
Extendable: false
Field Summary | |
static String |
ACCESS_CONTROLLED_FROM_INDICIES
Label for the attribute; Array of index values for items in the FromClause. |
static String |
COLUMNS
Label for the attribute; Returns ColumnExpressions for this item. |
static String |
DESCENDANT_QUERY_TYPE_COMPATIBLE
Label for the attribute; Indicates whether descendant query results will be guranteed to be type compatible (i.e. |
static String |
FROM_INDICIES
Label for the attribute; Array of index values for items in the FromClause. |
static String |
ITEM_COUNT
Label for the attribute; Number of items that are built. |
Method Summary | |
Object |
build()
Builds an object from the current row in the result set. |
int |
buildEmptyAggregateColumn(AttributeMapInfo a_attributeMapInfo,
StringBuffer a_select)
Builds the select columns for building an object. |
int |
buildSelect(Vector a_tableInfos,
Vector a_aliases,
AttributeMapInfo a_attributeMapInfo,
StringBuffer a_select)
Builds the select columns for building an object. |
int |
createPersistentRetrieve(ResultSet a_resultSet,
ObjectTable a_objectTable,
int a_resultOffset,
AttributeMapInfo a_attributeMapInfo)
Creates the persistent retrieve object for this item. |
int[] |
getAccessControlledFromIndicies()
Gets the value of the attribute: ACCESS_CONTROLLED_FROM_INDICIES. |
ColumnExpression[] |
getColumns()
Gets the value of the attribute: COLUMNS. |
int[] |
getFromIndicies()
Gets the value of the attribute: FROM_INDICIES. |
int |
getItemCount()
Gets the value of the attribute: ITEM_COUNT. |
Class |
getPrimaryClass(Vector a_classInfos)
Returns the primary class for this Item. |
boolean |
isDescendantQueryTypeCompatible()
Gets the value of the attribute: DESCENDANT_QUERY_TYPE_COMPATIBLE. |
void |
reset()
Resets the instance so that it can be re-used to process a new result. |
void |
setTimeStampAttributeTimestampDisabled()
Set the DateExpression in the ItemBuilder to the TimstampEnabled to false Supported API: false |
Field Detail |
public static final String ITEM_COUNT
public static final String DESCENDANT_QUERY_TYPE_COMPATIBLE
public static final String ACCESS_CONTROLLED_FROM_INDICIES
public static final String FROM_INDICIES
public static final String COLUMNS
Method Detail |
public int getItemCount()
public boolean isDescendantQueryTypeCompatible()
public int[] getAccessControlledFromIndicies()
public int[] getFromIndicies()
public ColumnExpression[] getColumns() throws WTException
WTException
public int buildSelect(Vector a_tableInfos, Vector a_aliases, AttributeMapInfo a_attributeMapInfo, StringBuffer a_select) throws PersistenceException
a_tableInfos
- a_aliases
- a_attributeMapInfo
- a_select
-
PersistenceException
public Object build() throws PersistenceException
PersistenceException
public int createPersistentRetrieve(ResultSet a_resultSet, ObjectTable a_objectTable, int a_resultOffset, AttributeMapInfo a_attributeMapInfo) throws PersistenceException
a_resultSet
- a_objectTable
- a_resultOffset
- a_attributeMapInfo
-
PersistenceException
public Class getPrimaryClass(Vector a_classInfos)
a_classInfos
-
public void reset()
public int buildEmptyAggregateColumn(AttributeMapInfo a_attributeMapInfo, StringBuffer a_select) throws PersistenceException
a_attributeMapInfo
- a_select
-
PersistenceException
public void setTimeStampAttributeTimestampDisabled() throws WTException
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |