wt.fc
Class IteratedObjectVector

java.lang.Object
  extended bywt.fc.BasicObjectVector
      extended bywt.fc.ObjectVector
          extended bywt.fc.IteratedObjectVector
All Implemented Interfaces:
Externalizable, ObjectVectorIfc, ResultProcessor, Serializable

public final class IteratedObjectVector
extends ObjectVector
implements Externalizable



Supported API: false

Extendable: false

See Also:
Serialized Form

Field Summary
private static String CLASSNAME
           
static int DEFLATE_SIZE
           
private  boolean deflateOnExternalization
           
static long EXTERNALIZATION_VERSION_UID
           
protected static long OLD_FORMAT_VERSION_UID
           
private static String RESOURCE
           
(package private) static long serialVersionUID
           
 
Fields inherited from class wt.fc.BasicObjectVector
R51_FORMAT_VERSION_UID, R7_FORMAT_VERSION_UID, typedVector
 
Constructor Summary
IteratedObjectVector()
          

Supported API: false
IteratedObjectVector(boolean deflate_on_externalization)
          

Supported API: false
 
Method Summary
 boolean isDeflateOnExternalization()
          Gets the value of the attribute: deflateOnExternalization.
protected  void prepareForExternalization()
          Hook to allow object vectors to do any work prior to externalization.
 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(IteratedObjectVector thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone)
          Reads the non-transient fields of this class from an external source.
 void setDeflateOnExternalization(boolean a_DeflateOnExternalization)
          Sets the value of the attribute: deflateOnExternalization.
 void writeExternal(ObjectOutput output)
          Writes the non-transient fields of this class to an external source.
 
Methods inherited from class wt.fc.ObjectVector
addElement, makeNonPersistent, readVersion, removeElement
 
Methods inherited from class wt.fc.BasicObjectVector
append, contains, elements, firstElement, getVector, isEmpty, lastElement, readVersion, removeAllElements, size
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

deflateOnExternalization

private boolean deflateOnExternalization

serialVersionUID

static final long serialVersionUID
See Also:
Constant Field Values

EXTERNALIZATION_VERSION_UID

public static final long EXTERNALIZATION_VERSION_UID
See Also:
Constant Field Values

OLD_FORMAT_VERSION_UID

protected static final long OLD_FORMAT_VERSION_UID
See Also:
Constant Field Values

DEFLATE_SIZE

public static final int DEFLATE_SIZE
Constructor Detail

IteratedObjectVector

public IteratedObjectVector()


Supported API: false


IteratedObjectVector

public IteratedObjectVector(boolean deflate_on_externalization)


Supported API: false

Parameters:
deflate_on_externalization -
Method Detail

writeExternal

public void writeExternal(ObjectOutput output)
                   throws IOException
Writes the non-transient fields of this class to an external source.

Supported API: false

Specified by:
writeExternal in interface Externalizable
Overrides:
writeExternal in class ObjectVector
Parameters:
output -
Throws:
IOException

readExternal

public void readExternal(ObjectInput input)
                  throws IOException,
                         ClassNotFoundException
Reads the non-transient fields of this class from an external source.

Supported API: false

Specified by:
readExternal in interface Externalizable
Overrides:
readExternal in class ObjectVector
Parameters:
input -
Throws:
IOException
ClassNotFoundException

readVersion

protected boolean readVersion(IteratedObjectVector thisObject,
                              ObjectInput input,
                              long readSerialVersionUID,
                              boolean passThrough,
                              boolean superDone)
                       throws IOException,
                              ClassNotFoundException
Reads the non-transient fields of this class from an external source.

Supported API: false

Parameters:
thisObject -
input -
readSerialVersionUID -
passThrough -
superDone -
Returns:
boolean
Throws:
IOException
ClassNotFoundException

readOldVersion

private boolean readOldVersion(ObjectInput input,
                               long readSerialVersionUID,
                               boolean passThrough,
                               boolean superDone)
                        throws IOException,
                               ClassNotFoundException
Reads the non-transient fields of this class from an external source, which is not the current version.

Parameters:
input -
readSerialVersionUID -
passThrough -
superDone -
Returns:
boolean
Throws:
IOException
ClassNotFoundException

isDeflateOnExternalization

public boolean isDeflateOnExternalization()
Gets the value of the attribute: deflateOnExternalization.

Supported API: false

Returns:
boolean

setDeflateOnExternalization

public void setDeflateOnExternalization(boolean a_DeflateOnExternalization)
Sets the value of the attribute: deflateOnExternalization.

Supported API: false

Parameters:
a_DeflateOnExternalization -

prepareForExternalization

protected void prepareForExternalization()
                                  throws WTException
Hook to allow object vectors to do any work prior to externalization. This is needed since QueryResults do a custom externalization of ObjectVectors.

Supported API: false

Overrides:
prepareForExternalization in class BasicObjectVector
Throws:
WTException