com.partnersoft.io
Class DataFilterSort

java.lang.Object
  extended by com.partnersoft.io.DataFilterSort
All Implemented Interfaces:
Coggable, Immutable

public class DataFilterSort
extends java.lang.Object
implements Immutable, Coggable

Contains sorting information for a DataRecordQuery.

Copyright 2009 Partner Software, Inc.

Version:
$Id$
Author:
Rich Stepanski

Constructor Summary
DataFilterSort(Cog cog)
          Creates a DataFilterSort from the passed cog.
DataFilterSort(java.lang.String fieldName, DataFilterSortOption sortOption)
          Creates a new DataRecordFilterSort.
 
Method Summary
 java.lang.String getFieldName()
           
 DataFilterSortOption getSortOption()
           
 Cog toCog()
          Returns the complete internal state of this object in the form of a Cog.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataFilterSort

public DataFilterSort(java.lang.String fieldName,
                      DataFilterSortOption sortOption)
Creates a new DataRecordFilterSort.

Parameters:
fieldName -
sortOption -

DataFilterSort

public DataFilterSort(Cog cog)
Creates a DataFilterSort from the passed cog.

Parameters:
cog -
Method Detail

getFieldName

public java.lang.String getFieldName()

getSortOption

public DataFilterSortOption getSortOption()

toCog

public Cog toCog()
Description copied from interface: Coggable
Returns the complete internal state of this object in the form of a Cog.

Specified by:
toCog in interface Coggable
Returns:
Cog representing the internal state of this object