|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.pds.AbstractCompoundResultBuilder
Supported API: false
Extendable: false
Field Summary | |
private AccessControllerProcessor |
accessControllerProcessor
|
private AttributeMapInfo |
attributeMapInfo
|
private static String |
CLASSNAME
|
private ResultBuilder |
currentResultBuilder
|
static long |
EXTERNALIZATION_VERSION_UID
|
private ObjectTable |
objectTable
|
protected static long |
OLD_FORMAT_VERSION_UID
|
private static String |
RESOURCE
|
(package private) static long |
serialVersionUID
|
Fields inherited from interface wt.pds.ResultBuilder |
ACCESS_CONTROLLER_PROCESSOR, ATTRIBUTE_MAP_INFO, DESCENDANT_QUERY_TYPE_COMPATIBLE, ITEM_BUILDERS, OBJECT_TABLE |
Constructor Summary | |
AbstractCompoundResultBuilder()
|
Method Summary | |
void |
addItemBuilder(ItemBuilder a_itemBuilder)
Add an ItemBuilder that will be used to build results. |
abstract Object[] |
build(ResultSet a_resultSet,
StatementBuilder a_statementBuilder)
Builds object from the result set. |
abstract String |
buildSelect(Vector a_tableInfos,
Vector a_aliases)
Builds the select columns for the results. |
abstract Object |
clone()
Create a deep-copy of this object. |
AccessControllerProcessor |
getAccessControllerProcessor()
Gets the object for the association that plays role: accessControllerProcessor. |
AttributeMapInfo |
getAttributeMapInfo()
Gets the object for the association that plays role: attributeMapInfo. |
int |
getCurrentIndex()
Gets the value of the attribute: currentIndex. |
ResultBuilder |
getCurrentResultBuilder()
Gets the value of the attribute: currentResultBuilder. |
Vector |
getItemBuilders()
Gets the object for the association that plays role: itemBuilders. |
Class |
getItemPrimaryClass(Vector a_classInfos,
int a_itemBuilderIndex)
Returns the primary class for the specified ItemBuilder. |
ObjectTable |
getObjectTable()
Gets the value of the attribute: objectTable; Cache of objects valid for the lifetime of a retrieve. |
boolean |
isDescendantQueryTypeCompatible()
Gets the value of the attribute: descendantQueryTypeCompatible; Indicates whether descendant query results will be guranteed to be type compatible (i.e. |
void |
readExternal(ObjectInput input)
Reads the non-transient fields of this class from an external source. |
private boolean |
readOldVersion(ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source, which is not the current version. |
protected boolean |
readVersion(AbstractCompoundResultBuilder thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
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: accessControllerProcessor. |
void |
setAttributeMapInfo(AttributeMapInfo a_AttributeMapInfo)
Sets the object for the association that plays role: attributeMapInfo. |
void |
setCurrentIndex(int a_CurrentIndex)
Sets the value of the attribute: currentIndex. |
void |
setCurrentResultBuilder(ResultBuilder a_CurrentResultBuilder)
Sets the value of the attribute: currentResultBuilder. |
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: objectTable; Cache of objects valid for the lifetime of a retrieve. |
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, toString, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private transient ResultBuilder currentResultBuilder
private transient ObjectTable objectTable
private transient AttributeMapInfo attributeMapInfo
private transient AccessControllerProcessor accessControllerProcessor
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
Constructor Detail |
public AbstractCompoundResultBuilder()
Method Detail |
public void writeExternal(ObjectOutput output) throws IOException
writeExternal
in interface Externalizable
output
-
IOException
public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
input
-
IOException
ClassNotFoundException
protected boolean readVersion(AbstractCompoundResultBuilder thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
thisObject
- input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
private boolean readOldVersion(ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
public ResultBuilder getCurrentResultBuilder()
public void setCurrentResultBuilder(ResultBuilder a_CurrentResultBuilder)
a_CurrentResultBuilder
- public int getCurrentIndex()
public void setCurrentIndex(int a_CurrentIndex)
a_CurrentIndex
- public ObjectTable getObjectTable()
getObjectTable
in interface ResultBuilder
public void setObjectTable(ObjectTable a_ObjectTable) throws WTPropertyVetoException
setObjectTable
in interface ResultBuilder
a_ObjectTable
-
WTPropertyVetoException
public AttributeMapInfo getAttributeMapInfo()
getAttributeMapInfo
in interface ResultBuilder
public void setAttributeMapInfo(AttributeMapInfo a_AttributeMapInfo) throws WTPropertyVetoException
setAttributeMapInfo
in interface ResultBuilder
a_AttributeMapInfo
-
WTPropertyVetoException
public AccessControllerProcessor getAccessControllerProcessor()
getAccessControllerProcessor
in interface ResultBuilder
public void setAccessControllerProcessor(AccessControllerProcessor a_AccessControllerProcessor) throws WTPropertyVetoException
setAccessControllerProcessor
in interface ResultBuilder
a_AccessControllerProcessor
-
WTPropertyVetoException
public abstract String buildSelect(Vector a_tableInfos, Vector a_aliases) throws PersistenceException
buildSelect
in interface ResultBuilder
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 abstract Object[] build(ResultSet a_resultSet, StatementBuilder a_statementBuilder) throws PersistenceException
build
in interface ResultBuilder
a_resultSet
- a_statementBuilder
-
PersistenceException
public void addItemBuilder(ItemBuilder a_itemBuilder)
addItemBuilder
in interface ResultBuilder
a_itemBuilder
- public Class getItemPrimaryClass(Vector a_classInfos, int a_itemBuilderIndex)
getItemPrimaryClass
in interface ResultBuilder
a_classInfos
- a_itemBuilderIndex
-
public void reset()
reset
in interface ResultBuilder
public void setItemStartOffset(int a_itemStartOffset)
setItemStartOffset
in interface ResultBuilder
a_itemStartOffset
- public boolean setCurrentResultBuilder(ResultBuilder a_resultBuilder, int a_currentIndex)
setCurrentResultBuilder
in interface ResultBuilder
a_resultBuilder
- a_currentIndex
-
public void setNonEmptyComponentIndex(int a_nonEmptyComponentIndex)
setNonEmptyComponentIndex
in interface ResultBuilder
a_nonEmptyComponentIndex
- public boolean isDescendantQueryTypeCompatible()
isDescendantQueryTypeCompatible
in interface ResultBuilder
public Vector getItemBuilders()
getItemBuilders
in interface ResultBuilder
public abstract Object clone()
ResultBuilder
clone
in interface ResultBuilder
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |