SimpleDeltaChange

Overview

This structure contains the new & old values of a row when sending updates to the server and when returning the changes.

Location

 

assignFrom:

Configures instance of the SimpleDeltaChange class according to given source

- (void) assignFrom:(ROComplexType *)aSource

Parameters:

  • aSource:

deepCopyWithZone:  deprecated    (declared in ROComplexType)

- (id) deepCopyWithZone:(NSZone *)zone

Parameters:

  • zone:

Error  retain

Error occurred while applying this row, if this is set for any of the rows the values were not applied to the server.

@property (retain) NSString *Error

getAttributeValue:    (declared in ROComplexType)

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

Parameters:

  • aName:

init

Initializes new instance of the SimpleDeltaChnage

- (id) init

Mode  assign

Change Type for this record, could be Delete, Insert or Update.

@property (assign) enum SimpleDataMode Mode

NewValues  retain

List of new values, used for updating & inserting.

@property (retain) StringArray *NewValues

OldValues  retain

List of old values, used for updating & deleting.

@property (retain) StringArray *OldValues

readFromMessage:withName:

Metod deserializes SimpleDeltaChange with given name from given message

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

Parameters:

  • aMessage:
  • aName:

writeToMessage:withName:

Metod serializes SimpleDeltaChange with given name into given message.

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

Parameters:

  • aMessage:
  • aName:

 

Error  retain

Error occurred while applying this row, if this is set for any of the rows the values were not applied to the server.

@property (retain) NSString *Error

Mode  assign

Change Type for this record, could be Delete, Insert or Update.

@property (assign) enum SimpleDataMode Mode

NewValues  retain

List of new values, used for updating & inserting.

@property (retain) StringArray *NewValues

OldValues  retain

List of old values, used for updating & deleting.

@property (retain) StringArray *OldValues

 

getAttributeValue:    (declared in ROComplexType)

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

Parameters:

  • aName:

 

assignFrom:

Configures instance of the SimpleDeltaChange 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 SimpleDeltaChnage

- (id) init

readFromMessage:withName:

Metod deserializes SimpleDeltaChange with given name from given message

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

Parameters:

  • aMessage:
  • aName:

writeToMessage:withName:

Metod serializes SimpleDeltaChange with given name into given message.

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

Parameters:

  • aMessage:
  • aName:

See Also