wt.fc.batch
Class UpdateBatchSpec

java.lang.Object
  extended by wt.fc.batch.AbstractBatchSpec
      extended by wt.fc.batch.UpdateBatchSpec
All Implemented Interfaces:
Externalizable, Serializable

public class UpdateBatchSpec
extends AbstractBatchSpec
implements Externalizable

This class implements processing multiple row update operations.

Supported API: true

Extendable: false

See Also:
Serialized Form

Constructor Summary
UpdateBatchSpec()
          This constructor initializes the instance.
UpdateBatchSpec(ClassTableExpression a_target, WhereExpression a_where, UpdateColumnExpression[] a_updateColumns)
          This constructor initializes the instance.
 
Method Summary
 UpdateColumnExpression[] getUpdateColumns()
          Gets the value of the attribute: updateColumns; Array of individual columns and expressions that will be updated.
 void setUpdateColumns(UpdateColumnExpression[] a_UpdateColumns)
          Sets the value of the attribute: updateColumns; Array of individual columns and expressions that will be updated.
 
Methods inherited from class wt.fc.batch.AbstractBatchSpec
appendWhere, appendWhere, getTarget, getWhere, setTarget, setWhere
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UpdateBatchSpec

public UpdateBatchSpec()
This constructor initializes the instance.

Supported API: true


UpdateBatchSpec

public UpdateBatchSpec(ClassTableExpression a_target,
                       WhereExpression a_where,
                       UpdateColumnExpression[] a_updateColumns)
                throws WTPropertyVetoException
This constructor initializes the instance.

Supported API: true

Parameters:
a_target - Target of the operation.
a_where - Criteria to use for the operation.
a_updateColumns - Columns to update.
Throws:
WTPropertyVetoException
Method Detail

getUpdateColumns

public UpdateColumnExpression[] getUpdateColumns()
Gets the value of the attribute: updateColumns; Array of individual columns and expressions that will be updated.

Supported API: true

Returns:
UpdateColumnExpression[]

setUpdateColumns

public void setUpdateColumns(UpdateColumnExpression[] a_UpdateColumns)
                      throws WTPropertyVetoException
Sets the value of the attribute: updateColumns; Array of individual columns and expressions that will be updated.

Supported API: true

Parameters:
a_UpdateColumns -
Throws:
WTPropertyVetoException