|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.pds.ObjectReferenceResultBuilder
Supported API: false
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
static long |
EXTERNALIZATION_VERSION_UID
|
protected static long |
OLD_FORMAT_VERSION_UID
|
private static String |
RESOURCE
|
private ResultBuilder |
resultBuilder
|
(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 | |
ObjectReferenceResultBuilder()
Supported API: false |
|
ObjectReferenceResultBuilder(ResultBuilder a_resultBuilder)
Supported API: false |
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: accessControllerProcessor. |
AttributeMapInfo |
getAttributeMapInfo()
Gets the object for the association that plays role: attributeMapInfo. |
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. |
ResultBuilder |
getResultBuilder()
Gets the value of the attribute: resultBuilder. |
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(ObjectReferenceResultBuilder 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. |
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 |
setResultBuilder(ResultBuilder a_ResultBuilder)
Sets the value of the attribute: resultBuilder. |
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 ResultBuilder resultBuilder
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
Constructor Detail |
public ObjectReferenceResultBuilder()
public ObjectReferenceResultBuilder(ResultBuilder a_resultBuilder)
a_resultBuilder
- 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(ObjectReferenceResultBuilder 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 getResultBuilder()
public void setResultBuilder(ResultBuilder a_ResultBuilder)
a_ResultBuilder
- public boolean isDescendantQueryTypeCompatible()
isDescendantQueryTypeCompatible
in interface ResultBuilder
public ObjectTable getObjectTable()
getObjectTable
in interface ResultBuilder
public void setObjectTable(ObjectTable a_ObjectTable) throws WTPropertyVetoException
setObjectTable
in interface ResultBuilder
a_ObjectTable
-
WTPropertyVetoException
public 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 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 Vector getItemBuilders()
getItemBuilders
in interface ResultBuilder
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 Object clone()
clone
in interface ResultBuilder
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |