org.sandev.basics.structs
Class AggregateUpdateStruct

java.lang.Object
  extended by org.sandev.basics.structs.AggregateUpdateStruct
Direct Known Subclasses:
AggregateUpdate

public class AggregateUpdateStruct
extends java.lang.Object

An AggregateUpdate holds an array of update messages which must be executed together as a single transaction. The updates are performed in order, and either succeed or fail as a single transaction.

To specify reference relationships between new instances, or between existing instances and new instances, use temporary uniqueID values. Any value below TEMPIDTHRESHOLD is considered temporary, and will be remapped by the DataManager preserving the defined relationships.

The AggregateUpdate was originally declared as a special standalone message. It was migrated to a struct itself in Jan 2007 in order to provide extended error reporting.

This message can be transmitted directly outside of a verb form.

Field Summary
protected  ErrorInfoStruct[] notices
          Informational messages from update processing.
protected  SandUpdateMessage[] updates
          The aggregated updates.
 
Constructor Summary
AggregateUpdateStruct()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

updates

protected SandUpdateMessage[] updates
The aggregated updates.

help text: The aggregated updates.

notices

protected ErrorInfoStruct[] notices
Informational messages from update processing. These values are optional and are in addition to (not a replacement for) the sandTransmitErrorCode and sandTransmitErrorMessage. The notices are used for informational level processing messages, errors that were automatically recovered, or to return additional errors beyond a primary error.

help text: Informational messages from update processing.
Constructor Detail

AggregateUpdateStruct

public AggregateUpdateStruct()