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: assignFrom:(ROComplexType *)

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

- (void) assignFrom:(ROComplexType *)aValue

Parameters:

  • aValue:

assignFrom: assignFrom:(nonnull ROComplexType *)     (declared in ROComplexType)

- (void) assignFrom:(nonnull ROComplexType *)source

Parameters:

  • source:

deepCopyWithZone:  deprecated    (declared in ROComplexType)

- (nullable id) deepCopyWithZone:(nullable NSZone *)zone

Parameters:

  • zone:

Error  nonatomic

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

@property (nonatomic) NSString *Error

getAttributeValue:    (declared in ROComplexType)

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

Parameters:

  • aName:

Mode  nonatomic

@property (nonatomic) SimpleDataMode Mode

NewValues  nonatomic

List of new values, used for updating & inserting.

@property (nonatomic) StringArray *NewValues

OldValues  nonatomic

List of old values, used for updating & deleting.

@property (nonatomic) StringArray *OldValues

readFromMessage:withName: readFromMessage:(nonnull ROMessage *) withName:(nullable NSString *)     (declared in ROComplexType)

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

Parameters:

  • aMessage:
  • aName:

readFromMessage:withName: readFromMessage:(ROMessage *) withName:(NSString *)

Metod deserializes SimpleDeltaChange with given name from given message

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

Parameters:

  • aMessage:
  • aName:

writeToMessage:withName: writeToMessage:(nonnull ROMessage *) withName:(nullable NSString *)     (declared in ROComplexType)

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

Parameters:

  • aMessage:
  • aName:

writeToMessage:withName: writeToMessage:(ROMessage *) withName:(NSString *)

Metod serializes SimpleDeltaChange with given name into given message.

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

Parameters:

  • aMessage:
  • aName:

 

Error  nonatomic

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

@property (nonatomic) NSString *Error

Mode  nonatomic

@property (nonatomic) SimpleDataMode Mode

NewValues  nonatomic

List of new values, used for updating & inserting.

@property (nonatomic) StringArray *NewValues

OldValues  nonatomic

List of old values, used for updating & deleting.

@property (nonatomic) StringArray *OldValues

 

getAttributeValue:    (declared in ROComplexType)

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

Parameters:

  • aName:

 

assignFrom: assignFrom:(ROComplexType *)

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

- (void) assignFrom:(ROComplexType *)aValue

Parameters:

  • aValue:

assignFrom: assignFrom:(nonnull ROComplexType *)     (declared in ROComplexType)

- (void) assignFrom:(nonnull ROComplexType *)source

Parameters:

  • source:

deepCopyWithZone:  deprecated    (declared in ROComplexType)

- (nullable id) deepCopyWithZone:(nullable NSZone *)zone

Parameters:

  • zone:

readFromMessage:withName: readFromMessage:(nonnull ROMessage *) withName:(nullable NSString *)     (declared in ROComplexType)

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

Parameters:

  • aMessage:
  • aName:

readFromMessage:withName: readFromMessage:(ROMessage *) withName:(NSString *)

Metod deserializes SimpleDeltaChange with given name from given message

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

Parameters:

  • aMessage:
  • aName:

writeToMessage:withName: writeToMessage:(nonnull ROMessage *) withName:(nullable NSString *)     (declared in ROComplexType)

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

Parameters:

  • aMessage:
  • aName:

writeToMessage:withName: writeToMessage:(ROMessage *) withName:(NSString *)

Metod serializes SimpleDeltaChange with given name into given message.

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

Parameters:

  • aMessage:
  • aName: