DataParameter

Overview

Stores a name/value pair.

The DataParameter class is used by several IDataAbstractService methods to pass parameters to remote commands and data tables before their execution.

Location

 

assignFrom:

Configures instance of the DataParameter class according to given source

- (void) assignFrom:(ROComplexType *)aSource

Parameters:

  • aSource:

deepCopyWithZone:  deprecated    (declared in ROComplexType)

- (id) deepCopyWithZone:(NSZone *)zone

Parameters:

  • zone:

getAttributeValue:    (declared in ROComplexType)

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

Parameters:

  • aName:

init

Initializes a new instance of the DataParameter

- (id) init

Name  retain

Represents the name of the DataParameter

@property (retain) NSString *Name

readFromMessage:withName:

This method is used for reading the DataParameter instance from a message packet.

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

Parameters:

  • aMessage: Message instance from where we read the DataParameter
  • aName: Parameter name

Value  retain

Represents the value of the DataParameter

@property (retain) ROVariant *Value

writeToMessage:withName:

Metod serializes DataParameter with given name into given message.

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

Parameters:

  • aMessage:
  • aName:

 

Name  retain

Represents the name of the DataParameter

@property (retain) NSString *Name

Value  retain

Represents the value of the DataParameter

@property (retain) ROVariant *Value

 

getAttributeValue:    (declared in ROComplexType)

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

Parameters:

  • aName:

 

assignFrom:

Configures instance of the DataParameter class according to given source

- (void) assignFrom:(ROComplexType *)aSource

Parameters:

  • aSource:

deepCopyWithZone:  deprecated    (declared in ROComplexType)

- (id) deepCopyWithZone:(NSZone *)zone

Parameters:

  • zone:

init

Initializes a new instance of the DataParameter

- (id) init

readFromMessage:withName:

This method is used for reading the DataParameter instance from a message packet.

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

Parameters:

  • aMessage: Message instance from where we read the DataParameter
  • aName: Parameter name

writeToMessage:withName:

Metod serializes DataParameter with given name into given message.

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

Parameters:

  • aMessage:
  • aName:

See Also