SPT Core API

com.sptci.jdo
Interface Sortable


public interface Sortable

An interface used to represent objects that may be sorted using a field.

© Copyright 2007 Sans Pareil Technologies, Inc.

Version:
$Id: Sortable.java 4553 2008-12-24 10:34:16Z rakesh $
Author:
Rakesh Vidyadharan 2007-05-21

Method Summary
 int getSort()
          Returns the value used to sort by.
 void setSort(int sort)
          Set the value used to sort by.
 

Method Detail

getSort

int getSort()
Returns the value used to sort by.

Returns:
The value used to sort by.

setSort

void setSort(int sort)
Set the value used to sort by.

Parameters:
sort - The value to set.

SPT Core API