ColumnSorting

Overview

The ColumnSorting class represents information about sorting data in the result data set.

Location

 

assignFrom:

Configures instance of the ColumnSorting class according to given source

- (void) assignFrom:(ROComplexType *)aSource

Parameters:

  • aSource:

deepCopyWithZone:  deprecated    (declared in ROComplexType)

- (id) deepCopyWithZone:(NSZone *)zone

Parameters:

  • zone:

FieldName  retain

Name of the field for sorting.

@property (retain) NSString *FieldName

getAttributeValue:    (declared in ROComplexType)

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

Parameters:

  • aName:

init

Initializes a new ColumnSorting instance

- (id) init

readFromMessage:withName:

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

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

Parameters:

  • aMessage: Message instance
  • aName: Name of the ColumnSorting

SortDirection  assign

Sort direction. Can be Ascending or Descending.

@property (assign) enum ColumnSortDirection SortDirection

writeToMessage:withName:

This method is used for writing the ColumnSorning instance to a given message.

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

Parameters:

  • aMessage: Message instance to where we serialize ColumnSorting
  • aName: Name of the ColumnSorting

 

FieldName  retain

Name of the field for sorting.

@property (retain) NSString *FieldName

SortDirection  assign

Sort direction. Can be Ascending or Descending.

@property (assign) enum ColumnSortDirection SortDirection

 

getAttributeValue:    (declared in ROComplexType)

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

Parameters:

  • aName:

 

assignFrom:

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

- (id) init

readFromMessage:withName:

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

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

Parameters:

  • aMessage: Message instance
  • aName: Name of the ColumnSorting

writeToMessage:withName:

This method is used for writing the ColumnSorning instance to a given message.

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

Parameters:

  • aMessage: Message instance to where we serialize ColumnSorting
  • aName: Name of the ColumnSorting

See Also