com.wewebu.ow.server.field
Class OwSort.OwSortCriteria

java.lang.Object
  extended by com.wewebu.ow.server.field.OwSort.OwSortCriteria
Enclosing class:
OwSort

public static class OwSort.OwSortCriteria
extends Object

Sort criteria tuple containing property and order direction.

Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.

For licensing information read the license.txt file or
go to: http://wiki.alfresco.com


Field Summary
protected  boolean m_fAsc
          sort direction true = ascending, false = descending
protected  String m_strPropertyName
          name of the property which should be used in the sort
 
Constructor Summary
OwSort.OwSortCriteria(String strPropertyName_p, boolean fAsc_p)
          constructs a sort criteria for the specified property
 
Method Summary
 boolean getAscFlag()
          get the sort direction true = ascending, false = descending
 String getPropertyName()
          get the name of the property which should be used in the sort
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

m_strPropertyName

protected String m_strPropertyName
name of the property which should be used in the sort


m_fAsc

protected boolean m_fAsc
sort direction true = ascending, false = descending

Constructor Detail

OwSort.OwSortCriteria

public OwSort.OwSortCriteria(String strPropertyName_p,
                             boolean fAsc_p)
constructs a sort criteria for the specified property

Parameters:
strPropertyName_p - the property to sort for
fAsc_p - sort order true = ascending, false = descending
Method Detail

getPropertyName

public String getPropertyName()
get the name of the property which should be used in the sort


getAscFlag

public boolean getAscFlag()
get the sort direction true = ascending, false = descending


toString

public String toString()
Overrides:
toString in class Object


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.