com.iphrase.runtime.query.result
Class SortFeature

java.lang.Object
  |
  +--com.iphrase.runtime.query.Feature
        |
        +--com.iphrase.runtime.query.result.Feature
              |
              +--com.iphrase.runtime.query.result.SortFeature

public class SortFeature
extends Feature

Represent a feature for sorting rows in result set table.


Inner Class Summary
static interface SortFeature.Direction
          Define QueryResult sort direction values.
 
Inner classes inherited from class com.iphrase.runtime.query.result.Feature
Feature.Flags
 
Method Summary
 int getDirection()
          Get the sorting direction for this feature.
 void setDirection(int direction)
          Set the sort feature SortFeature.Direction value.
 
Methods inherited from class com.iphrase.runtime.query.result.Feature
getLabel
 
Methods inherited from class com.iphrase.runtime.query.Feature
getId
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getDirection

public int getDirection()
Get the sorting direction for this feature.
Returns:
SortFeature.Direction value.

setDirection

public void setDirection(int direction)
Set the sort feature SortFeature.Direction value.
Parameters:
direction - SortFeature.Direction value

© Copyright 2005, 2006. IBM Corporation. All rights reserved.