wt.fc.batch
Class UpdateColumnExpression

java.lang.Object
  extended bywt.fc.batch.UpdateColumnExpression
All Implemented Interfaces:
Externalizable, Serializable

public class UpdateColumnExpression
extends Object
implements Externalizable

This class specifies a ClassAttribute and associate expression that is used for batch specficiation update.

Supported API: true

Extendable: false

See Also:
Serialized Form

Field Summary
private  ClassAttribute attribute
           
private static String CLASSNAME
           
static long EXTERNALIZATION_VERSION_UID
           
protected static long OLD_FORMAT_VERSION_UID
           
private static String RESOURCE
           
(package private) static long serialVersionUID
           
private  ColumnExpression value
           
 
Constructor Summary
UpdateColumnExpression()
          Default Constructor.
UpdateColumnExpression(ClassAttribute a_attribute, ColumnExpression a_value)
          This constructor initializes the instance.
 
Method Summary
 ClassAttribute getAttribute()
          Gets the value of the attribute: attribute; The class attribute that will be set.
 ColumnExpression getValue()
          Gets the value of the attribute: value; The value to set.
 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(UpdateColumnExpression thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone)
          Reads the non-transient fields of this class from an external source.
 void setAttribute(ClassAttribute a_Attribute)
          Sets the value of the attribute: attribute; The class attribute that will be set.
 void setValue(ColumnExpression a_Value)
          Sets the value of the attribute: value; The value to set.
 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, toString, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

attribute

private ClassAttribute attribute

value

private ColumnExpression value

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
Constructor Detail

UpdateColumnExpression

public UpdateColumnExpression()
Default Constructor.

Supported API: true


UpdateColumnExpression

public UpdateColumnExpression(ClassAttribute a_attribute,
                              ColumnExpression a_value)
                       throws WTPropertyVetoException
This constructor initializes the instance.

Supported API: true

Parameters:
a_attribute - The attribute to set.
a_value - The expression to use for setting the value.
Throws:
WTPropertyVetoException
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(UpdateColumnExpression 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

getAttribute

public ClassAttribute getAttribute()
Gets the value of the attribute: attribute; The class attribute that will be set.

Supported API: true

Returns:
ClassAttribute

setAttribute

public void setAttribute(ClassAttribute a_Attribute)
                  throws WTPropertyVetoException
Sets the value of the attribute: attribute; The class attribute that will be set.

Supported API: true

Parameters:
a_Attribute -
Throws:
WTPropertyVetoException

getValue

public ColumnExpression getValue()
Gets the value of the attribute: value; The value to set.

Supported API: true

Returns:
ColumnExpression

setValue

public void setValue(ColumnExpression a_Value)
              throws WTPropertyVetoException
Sets the value of the attribute: value; The value to set.

Supported API: true

Parameters:
a_Value -
Throws:
WTPropertyVetoException