Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 2 (11.1.2.1.0)

E17483-02

oracle.jbo
Class SortCriteriaImpl

java.lang.Object
  extended by oracle.jbo.SortCriteriaImpl
All Implemented Interfaces:
java.io.Serializable, SortCriteria
Direct Known Subclasses:
DBSortCriteriaImpl

public class SortCriteriaImpl
extends java.lang.Object
implements SortCriteria, java.io.Serializable

See Also:
Serialized Form

Field Summary
protected  java.lang.String mAttrName
           
protected  boolean mDesc
           
 
Constructor Summary
SortCriteriaImpl()
           
SortCriteriaImpl(int attrIndex)
           
SortCriteriaImpl(int attrIndex, boolean desc)
           
SortCriteriaImpl(int attrIndex, boolean desc, boolean caseSensitive)
           
SortCriteriaImpl(java.lang.String attrname)
           
SortCriteriaImpl(java.lang.String attrname, boolean desc)
           
SortCriteriaImpl(java.lang.String attrname, boolean desc, boolean caseSensitive)
           
 
Method Summary
 int getAttributeIndex()
           
 java.lang.String getAttributeName()
          Returns an attribute name.
 boolean isCaseSensitive()
          True if sorting should be case-sensitive.
 boolean isDescending()
          True if this attribute's value should be sorted in descending order.
 void setAttributeIndex(int index)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mAttrName

protected java.lang.String mAttrName

mDesc

protected boolean mDesc
Constructor Detail

SortCriteriaImpl

public SortCriteriaImpl()

SortCriteriaImpl

public SortCriteriaImpl(java.lang.String attrname)

SortCriteriaImpl

public SortCriteriaImpl(java.lang.String attrname,
                        boolean desc)

SortCriteriaImpl

public SortCriteriaImpl(java.lang.String attrname,
                        boolean desc,
                        boolean caseSensitive)

SortCriteriaImpl

public SortCriteriaImpl(int attrIndex)

SortCriteriaImpl

public SortCriteriaImpl(int attrIndex,
                        boolean desc)

SortCriteriaImpl

public SortCriteriaImpl(int attrIndex,
                        boolean desc,
                        boolean caseSensitive)
Method Detail

getAttributeName

public java.lang.String getAttributeName()
Returns an attribute name. An attribute of this name should be present in the associated StrcutureDef of a component object to which this sort criteria is applied.

Specified by:
getAttributeName in interface SortCriteria

getAttributeIndex

public int getAttributeIndex()
Specified by:
getAttributeIndex in interface SortCriteria

setAttributeIndex

public void setAttributeIndex(int index)
Specified by:
setAttributeIndex in interface SortCriteria

isDescending

public boolean isDescending()
True if this attribute's value should be sorted in descending order.

Specified by:
isDescending in interface SortCriteria

isCaseSensitive

public boolean isCaseSensitive()
Description copied from interface: SortCriteria
True if sorting should be case-sensitive.

Specified by:
isCaseSensitive in interface SortCriteria

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 2 (11.1.2.1.0)

E17483-02

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