Oracle Application Development Framework Model and Business Components Java API Reference 10g Release 3 (10.1.3)
B16005-01


oracle.jbo
Class SortCriteriaImpl

java.lang.Object
  extended byoracle.jbo.SortCriteriaImpl

All Implemented Interfaces:
java.io.Serializable, SortCriteria

public class SortCriteriaImpl
extends java.lang.Object
implements SortCriteria, java.io.Serializable
See Also:
Serialized Form

Constructor Summary
SortCriteriaImpl(int attrIndex)
           
SortCriteriaImpl(int attrIndex, boolean desc)
           
SortCriteriaImpl(java.lang.String attrname)
           
SortCriteriaImpl(java.lang.String attrname, boolean desc)
           

 

Method Summary
 int getAttributeIndex()
           
 java.lang.String getAttributeName()
          Returns an attribute name.
 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

 

Constructor Detail

SortCriteriaImpl

public SortCriteriaImpl(java.lang.String attrname)

SortCriteriaImpl

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

SortCriteriaImpl

public SortCriteriaImpl(int attrIndex)

SortCriteriaImpl

public SortCriteriaImpl(int attrIndex,
                        boolean desc)

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

Oracle Application Development Framework Model and Business Components Java API Reference 10g Release 3 (10.1.3)
B16005-01


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