com.webmethods.caf.faces.data.object
Class SortInfo.AscendingsContentProvider

java.lang.Object
  extended by com.webmethods.caf.faces.data.object.SortInfo.OrdinalsContentProvider
      extended by com.webmethods.caf.faces.data.object.SortInfo.AscendingsContentProvider
All Implemented Interfaces:
IContentProvider
Enclosing class:
SortInfo

public class SortInfo.AscendingsContentProvider
extends SortInfo.OrdinalsContentProvider

Maps column keys to ascending values.


Constructor Summary
SortInfo.AscendingsContentProvider()
           
 
Method Summary
 Class getType(Object propertyKey)
          Returns java type of the given property
 Object getValue(Object propertyKey)
          Returns value of the given property
 
Methods inherited from class com.webmethods.caf.faces.data.object.SortInfo.OrdinalsContentProvider
getPropertyKeys, hasProperty, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SortInfo.AscendingsContentProvider

public SortInfo.AscendingsContentProvider()
Method Detail

getType

public Class getType(Object propertyKey)
              throws PropertyNotFoundException
Description copied from interface: IContentProvider
Returns java type of the given property

Specified by:
getType in interface IContentProvider
Overrides:
getType in class SortInfo.OrdinalsContentProvider
Parameters:
propertyKey - the property key of type String or Integer
Returns:
property java Class
Throws:
PropertyNotFoundException - if property is not supported

getValue

public Object getValue(Object propertyKey)
                throws EvaluationException,
                       PropertyNotFoundException
Description copied from interface: IContentProvider
Returns value of the given property

Specified by:
getValue in interface IContentProvider
Overrides:
getValue in class SortInfo.OrdinalsContentProvider
Parameters:
propertyKey - the property key of type String or Integer
Returns:
value of the property, can be null
Throws:
EvaluationException - if error during property evaluation
PropertyNotFoundException - if property is not supported