Compoze Software, Inc.

portlets.compoze.groupware
Class SortProperty

java.lang.Object
  extended byportlets.compoze.groupware.SortProperty
All Implemented Interfaces:
java.io.Serializable

public class SortProperty
extends java.lang.Object
implements java.io.Serializable

This class represents a sort property key and a sort order.

See Also:
Serialized Form

Field Summary
static SortProperty DEFAULT_ADDRESS_BOOK
           
static SortProperty DEFAULT_MAIL
           
static SortProperty DEFAULT_TASKS
           
 
Constructor Summary
SortProperty(SortPropertyKey key, SortOrder order)
          Constructor.
 
Method Summary
 SortPropertyKey getKey()
          Gets the key.
 SortOrder getSortOrder()
          Gets the sort order.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_MAIL

public static final SortProperty DEFAULT_MAIL

DEFAULT_ADDRESS_BOOK

public static final SortProperty DEFAULT_ADDRESS_BOOK

DEFAULT_TASKS

public static final SortProperty DEFAULT_TASKS
Constructor Detail

SortProperty

public SortProperty(SortPropertyKey key,
                    SortOrder order)
Constructor.

Parameters:
key - the property to sort by (may not be null)
order - the sort order
Method Detail

getKey

public SortPropertyKey getKey()
Gets the key.

Returns:
the key

getSortOrder

public SortOrder getSortOrder()
Gets the sort order.

Returns:
the sort order

Compoze Software, Inc.

Copyright ©1999-2003 Compoze Software, Inc. All rights reserved.