wt.workflow.definer
Class UserEventVector

java.lang.Object
  extended byjava.util.AbstractCollection
      extended byjava.util.AbstractList
          extended byjava.util.Vector
              extended bywt.workflow.definer.UserEventVector
All Implemented Interfaces:
Cloneable, Collection, Externalizable, List, RandomAccess, Serializable

public class UserEventVector
extends Vector
implements Externalizable, Serializable

Contains list of events defined for the workflow node. Events are stored internally as a comma separated list.

Supported API: false

Extendable: false

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class java.util.AbstractList
 
Field Summary
private static String CLASSNAME
           
static long EXTERNALIZATION_VERSION_UID
           
static long EXTERNALIZATION_VERSION_UID_1
           
protected static long OLD_FORMAT_VERSION_UID
           
private static String RESOURCE
           
(package private) static long serialVersionUID
           
static long SMALL_BLOB_VERSION_UID
           
 
Fields inherited from class java.util.Vector
capacityIncrement, elementCount, elementData
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
UserEventVector()
          Default constructor.
UserEventVector(String value)
          Constructor that takes as argument internal representation of the object.
UserEventVector(Vector events)
          Constructor that takes a vector of events as argument.
 
Method Summary
private  boolean checkOldVersion(String value)
           
private  void decodeValue(String value)
           
 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(UserEventVector thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone)
          Reads the non-transient fields of this class from an external source.
private  void setList(String value)
           
 Vector toVector()
          Returns a vector containing user events.
 void writeExternal(ObjectOutput output)
          Writes the non-transient fields of this class to an external source.
 
Methods inherited from class java.util.Vector
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeRange, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, toString, trimToSize
 
Methods inherited from class java.util.AbstractList
iterator, listIterator, listIterator
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
iterator, listIterator, listIterator
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

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

SMALL_BLOB_VERSION_UID

public static final long SMALL_BLOB_VERSION_UID
See Also:
Constant Field Values

EXTERNALIZATION_VERSION_UID_1

public static final long EXTERNALIZATION_VERSION_UID_1
See Also:
Constant Field Values
Constructor Detail

UserEventVector

public UserEventVector()
Default constructor.

Supported API: false


UserEventVector

public UserEventVector(String value)
                throws DatastoreException
Constructor that takes as argument internal representation of the object. If not empty, the list of events is internally represented as a comma separated list of event strings, starting with a comma. If empty the internal representatio is 'null.'

Supported API: false

Parameters:
value -
Throws:
DatastoreException

UserEventVector

public UserEventVector(Vector events)
Constructor that takes a vector of events as argument.

Supported API: false

Parameters:
events -
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
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
Parameters:
input -
Throws:
IOException
ClassNotFoundException

readVersion

protected boolean readVersion(UserEventVector 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

toVector

public Vector toVector()
Returns a vector containing user events.

Supported API: false

Returns:
Vector

setList

private void setList(String value)

checkOldVersion

private boolean checkOldVersion(String value)

decodeValue

private void decodeValue(String value)