SimpleDataParameter

Overview

SimpleDataParameter is used for storing information about parameter such Name, Type, Value.

This class is used for processing of ODATA requests.

Location

 

assignFrom:

Configures instance of the SimpleDataParameter class according to given source

- (void) assignFrom:(ROComplexType *)aSource

Parameters:

  • aSource:

DataType  assign

DataType the value is in. While the value is a string, it should be a string representation of the value (and using an invariant number format information), the data type defines the actual type.

@property (assign) enum SimpleDataType DataType

deepCopyWithZone:  deprecated    (declared in ROComplexType)

- (id) deepCopyWithZone:(NSZone *)zone

Parameters:

  • zone:

getAttributeValue:    (declared in ROComplexType)

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

Parameters:

  • aName:

init

Initializes new instance of the SimpleDataParameter

- (id) init

Name  retain

Parameter name.

@property (retain) NSString *Name

readFromMessage:withName:

Metod deserializes SimpleDataParameter with given name from given message

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

Parameters:

  • aMessage:
  • aName:

Value  retain

Represents the value of the SimpleDataParameter

@property (retain) NSString *Value

writeToMessage:withName:

Metod serializes SimpleDataParameter with given name into given message.

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

Parameters:

  • aMessage:
  • aName:

 

DataType  assign

DataType the value is in. While the value is a string, it should be a string representation of the value (and using an invariant number format information), the data type defines the actual type.

@property (assign) enum SimpleDataType DataType

Name  retain

Parameter name.

@property (retain) NSString *Name

Value  retain

Represents the value of the SimpleDataParameter

@property (retain) NSString *Value

 

getAttributeValue:    (declared in ROComplexType)

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

Parameters:

  • aName:

 

assignFrom:

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

- (id) init

readFromMessage:withName:

Metod deserializes SimpleDataParameter with given name from given message

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

Parameters:

  • aMessage:
  • aName:

writeToMessage:withName:

Metod serializes SimpleDataParameter with given name into given message.

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

Parameters:

  • aMessage:
  • aName:

See Also