|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.pds.AttributeItemBuilder
wt.pds.ObjectReferenceItemBuilder
This class provides the functionality for building an object reference from a result set.
The internal implementation uses the get methods of the ResultSet class.
The Object Reference can be the OID of the object itself or a foreign
key OID.
Supported API: false
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
static long |
EXTERNALIZATION_VERSION_UID
|
private boolean |
fullObjectMode
|
protected static long |
OLD_FORMAT_VERSION_UID
|
private static String |
RESOURCE
|
(package private) static long |
serialVersionUID
|
Fields inherited from class wt.pds.AttributeItemBuilder |
objectTable |
Fields inherited from interface wt.pds.ItemBuilder |
ACCESS_CONTROLLED_FROM_INDICIES, COLUMNS, DESCENDANT_QUERY_TYPE_COMPATIBLE, FROM_INDICIES, ITEM_COUNT |
Constructor Summary | |
ObjectReferenceItemBuilder()
Supported API: false |
|
ObjectReferenceItemBuilder(ColumnExpression a_className,
ColumnExpression a_id,
int a_classNameFromIndex,
int a_idFromIndex)
Supported API: false |
Method Summary | |
Object |
build()
Builds an object from the current row in the result set. |
boolean |
isFullObjectMode()
Gets the value of the attribute: fullObjectMode; Indicates if full ObjectReference instances are built. |
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(ObjectReferenceItemBuilder thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
void |
setFullObjectMode(boolean a_FullObjectMode)
Sets the value of the attribute: fullObjectMode; Indicates if full ObjectReference instances are built. |
void |
writeExternal(ObjectOutput output)
Writes the non-transient fields of this class to an external source. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private boolean fullObjectMode
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
Constructor Detail |
public ObjectReferenceItemBuilder()
public ObjectReferenceItemBuilder(ColumnExpression a_className, ColumnExpression a_id, int a_classNameFromIndex, int a_idFromIndex) throws WTPropertyVetoException
a_className
- a_id
- a_classNameFromIndex
- a_idFromIndex
-
WTPropertyVetoException
Method Detail |
public void writeExternal(ObjectOutput output) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class AttributeItemBuilder
output
-
IOException
public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class AttributeItemBuilder
input
-
IOException
ClassNotFoundException
protected boolean readVersion(ObjectReferenceItemBuilder 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 boolean isFullObjectMode()
public void setFullObjectMode(boolean a_FullObjectMode) throws WTPropertyVetoException
a_FullObjectMode
-
WTPropertyVetoException
public Object build() throws PersistenceException
build
in interface ItemBuilder
build
in class AttributeItemBuilder
PersistenceException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |