|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This class handles building the select columns of the SQL statement and
building result objects once the query has been executed. A ResultBuilder
contains a number of ItemBuilders. Each ItemBuilder is used to handle
one object in the query.
Supported API: false
Extendable: false
Field Summary | |
static String |
ACCESS_CONTROLLER_PROCESSOR
Label for the attribute. |
static String |
ATTRIBUTE_MAP_INFO
Label for the attribute. |
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 |
ITEM_BUILDERS
Label for the attribute. |
static String |
OBJECT_TABLE
Label for the attribute; Cache of objects valid for the lifetime of a retrieve. |
Method Summary | |
void |
addItemBuilder(ItemBuilder a_itemBuilder)
Add an ItemBuilder that will be used to build results. |
Object[] |
build(ResultSet a_resultSet,
StatementBuilder a_statementBuilder)
Builds object from the result set. |
String |
buildSelect(Vector a_tableInfos,
Vector a_aliases)
Builds the select columns for the results. |
Object |
clone()
Create a deep-copy of this object. |
AccessControllerProcessor |
getAccessControllerProcessor()
Gets the object for the association that plays role: ACCESS_CONTROLLER_PROCESSOR. |
AttributeMapInfo |
getAttributeMapInfo()
Gets the object for the association that plays role: ATTRIBUTE_MAP_INFO. |
Vector |
getItemBuilders()
Gets the object for the association that plays role: ITEM_BUILDERS. |
Class |
getItemPrimaryClass(Vector a_classInfos,
int a_itemBuilderIndex)
Returns the primary class for the specified ItemBuilder. |
ObjectTable |
getObjectTable()
Gets the value of the attribute: OBJECT_TABLE. |
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 |
setAccessControllerProcessor(AccessControllerProcessor a_AccessControllerProcessor)
Sets the object for the association that plays role: ACCESS_CONTROLLER_PROCESSOR. |
void |
setAttributeMapInfo(AttributeMapInfo a_AttributeMapInfo)
Sets the object for the association that plays role: ATTRIBUTE_MAP_INFO. |
boolean |
setCurrentResultBuilder(ResultBuilder a_resultBuilder,
int a_currentIndex)
Supported API: false |
void |
setItemStartOffset(int a_itemStartOffset)
Supported API: false |
void |
setNonEmptyComponentIndex(int a_nonEmptyComponentIndex)
Supported API: false |
void |
setObjectTable(ObjectTable a_ObjectTable)
Sets the value of the attribute: OBJECT_TABLE. |
Field Detail |
public static final String DESCENDANT_QUERY_TYPE_COMPATIBLE
public static final String OBJECT_TABLE
public static final String ITEM_BUILDERS
public static final String ATTRIBUTE_MAP_INFO
public static final String ACCESS_CONTROLLER_PROCESSOR
Method Detail |
public boolean isDescendantQueryTypeCompatible()
public ObjectTable getObjectTable()
public void setObjectTable(ObjectTable a_ObjectTable) throws WTPropertyVetoException
a_ObjectTable
-
WTPropertyVetoException
public Vector getItemBuilders()
public AttributeMapInfo getAttributeMapInfo()
public void setAttributeMapInfo(AttributeMapInfo a_AttributeMapInfo) throws WTPropertyVetoException
a_AttributeMapInfo
-
WTPropertyVetoException
public AccessControllerProcessor getAccessControllerProcessor()
public void setAccessControllerProcessor(AccessControllerProcessor a_AccessControllerProcessor) throws WTPropertyVetoException
a_AccessControllerProcessor
-
WTPropertyVetoException
public String buildSelect(Vector a_tableInfos, Vector a_aliases) throws PersistenceException
a_tableInfos
- Vector of TableExpression instances to use for building the Select statementa_aliases
- Vector of String aliases to use for building the Select statement
PersistenceException
public Object[] build(ResultSet a_resultSet, StatementBuilder a_statementBuilder) throws PersistenceException
a_resultSet
- a_statementBuilder
-
PersistenceException
public void addItemBuilder(ItemBuilder a_itemBuilder)
a_itemBuilder
- public Class getItemPrimaryClass(Vector a_classInfos, int a_itemBuilderIndex)
a_classInfos
- a_itemBuilderIndex
-
public void reset()
public void setItemStartOffset(int a_itemStartOffset)
a_itemStartOffset
- public boolean setCurrentResultBuilder(ResultBuilder a_resultBuilder, int a_currentIndex)
a_resultBuilder
- a_currentIndex
-
public void setNonEmptyComponentIndex(int a_nonEmptyComponentIndex)
a_nonEmptyComponentIndex
- public Object clone()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |