Skip navigation links

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

E52932-01


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(SortCriteria sc)
           
SortCriteriaImpl(java.lang.String attrname)
           
SortCriteriaImpl(java.lang.String attrname, boolean desc)
           
SortCriteriaImpl(java.lang.String attrname, boolean desc, boolean caseSensitive)
           

 

Method Summary
 void copyFrom(SortCriteria sc)
          Creates a deep copy of the sort criteria
 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.
static boolean isSame(ViewObject vo, SortCriteria[] left, SortCriteria[] right)
           
 boolean isSameAs(ViewObject vo, SortCriteria otherSC)
           
 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(SortCriteria sc)

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

copyFrom

public final void copyFrom(SortCriteria sc)
Creates a deep copy of the sort criteria
Parameters:
sc - the sort criteria that needs to be copied
For internal use only. Application developers should not use this

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

isSameAs

public boolean isSameAs(ViewObject vo,
                        SortCriteria otherSC)
Specified by:
isSameAs in interface SortCriteria

isSame

public static boolean isSame(ViewObject vo,
                             SortCriteria[] left,
                             SortCriteria[] right)

Skip navigation links

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

E52932-01


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