SimpleDelta

Overview

Simple delta contains a set of changes for a single table. Used when processing data requests made via OData or REST data access interfaces.

Location

 

assignFrom:

Configures instance of the SimpleDelta class according to given source

- (void) assignFrom:(ROComplexType *)aSource

Parameters:

  • aSource:

deepCopyWithZone:  deprecated    (declared in ROComplexType)

- (id) deepCopyWithZone:(NSZone *)zone

Parameters:

  • zone:

Fields  retain

List of fields to change. All the new and old value lists have to match up with the field list.

@property (retain) StringArray *Fields

getAttributeValue:    (declared in ROComplexType)

+ (NSString *) getAttributeValue:(NSString *)aName

Parameters:

  • aName:

init

Initializes new instance of the SimpleDelta

- (id) init

readFromMessage:withName:

Metod deserializes SimpleDelta with given name from given message

- (void) readFromMessage:(ROMessage *)aMessage withName:(NSString *)aName

Parameters:

  • aMessage:
  • aName:

Rows  retain

The rows to change/update.

@property (retain) SimpleDeltaChangeArray *Rows

TableName  retain

Table to update

@property (retain) NSString *TableName

writeToMessage:withName:

Metod serializes SimpleDelta with given name into given message.

- (void) writeToMessage:(ROMessage *)aMessage withName:(NSString *)aName

Parameters:

  • aMessage:
  • aName:

 

Fields  retain

List of fields to change. All the new and old value lists have to match up with the field list.

@property (retain) StringArray *Fields

Rows  retain

The rows to change/update.

@property (retain) SimpleDeltaChangeArray *Rows

TableName  retain

Table to update

@property (retain) NSString *TableName

 

getAttributeValue:    (declared in ROComplexType)

+ (NSString *) getAttributeValue:(NSString *)aName

Parameters:

  • aName:

 

assignFrom:

Configures instance of the SimpleDelta class according to given source

- (void) assignFrom:(ROComplexType *)aSource

Parameters:

  • aSource:

deepCopyWithZone:  deprecated    (declared in ROComplexType)

- (id) deepCopyWithZone:(NSZone *)zone

Parameters:

  • zone:

init

Initializes new instance of the SimpleDelta

- (id) init

readFromMessage:withName:

Metod deserializes SimpleDelta with given name from given message

- (void) readFromMessage:(ROMessage *)aMessage withName:(NSString *)aName

Parameters:

  • aMessage:
  • aName:

writeToMessage:withName:

Metod serializes SimpleDelta with given name into given message.

- (void) writeToMessage:(ROMessage *)aMessage withName:(NSString *)aName

Parameters:

  • aMessage:
  • aName:

See Also