org.opensubsystems.patterns.ordereddata.data
Interface OrderedData


public interface OrderedData

Interface for objects supporting ordering based on some attribute.

Version:
$Id: OrderedData.java,v 1.3 2007/01/07 06:15:19 bastafidli Exp $
Author:
Peter Satury
Code reviewer:
Miro Halas
Code reviewed:
Initial revision

Method Summary
 int getOrderNumber()
          Return value of attribute which signifies the order or the data.
 void setOrderNumber(int iOrderNumber)
          Method sets order number of the dataobject.
 

Method Detail

getOrderNumber

int getOrderNumber()
Return value of attribute which signifies the order or the data.

Returns:
int - order identifier

setOrderNumber

void setOrderNumber(int iOrderNumber)
Method sets order number of the dataobject.

Parameters:
iOrderNumber - - new order number value


Copyright © 2003 - 2006 OpenSubsystems s.r.o.