Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.1.0)

E10653-02

oracle.adf.model.adapter
Class AdapterSortCriteria

java.lang.Object
  extended by oracle.adf.model.adapter.AdapterSortCriteria

public final class AdapterSortCriteria
extends java.lang.Object

Sort criteria that can be defined for the data controls.

Since:
10.1.3

Constructor Summary
AdapterSortCriteria()
          Creates a new AdapterSortCriteria instance.
AdapterSortCriteria(SortCriteria criteria)
          Creates a new AdapterSortCriteria instance from the passed sort criteria.
 
Method Summary
 java.lang.String getSortOn()
          Gets the attributes to be sorted on
 boolean isDescending()
          Returns true if sort criteria is defined in descending order.
 void setDescending(boolean flag)
          Sets the sorting's value.
 void setSortOn(java.lang.String sortOn)
          Sets the attribute to be sorted on
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AdapterSortCriteria

public AdapterSortCriteria(SortCriteria criteria)
Creates a new AdapterSortCriteria instance from the passed sort criteria.

Parameters:
criteria - passed sort criteria from where this object will be built.

AdapterSortCriteria

public AdapterSortCriteria()
Creates a new AdapterSortCriteria instance.

Method Detail

getSortOn

public java.lang.String getSortOn()
Gets the attributes to be sorted on


setSortOn

public void setSortOn(java.lang.String sortOn)
Sets the attribute to be sorted on


isDescending

public boolean isDescending()
Returns true if sort criteria is defined in descending order.


setDescending

public void setDescending(boolean flag)
Sets the sorting's value.

Parameters:
flag - value is true if the sort is to be performed in descending order.

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.1.0)

E10653-02

Copyright © 1997, 2009, Oracle. All rights reserved.