data.swing
Class CountingStockTableModel.Record
java.lang.Object
|
+--data.swing.CountingStockTableModel.Record
- public static class CountingStockTableModel.Record
- extends Object
- implements Comparable
A CountingStockTableModel
's record.
The record is basically a combination of a CatalogItem
and a number indicating the number of
objects available.
- Since:
- v2.0
- Version:
- 2.0 23/08/1999
- Author:
- Steffen Zschaler
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
CountingStockTableModel.Record
public CountingStockTableModel.Record(CatalogItem ci,
int nCount)
- Create a new Record.
compareTo
public int compareTo(Object o)
- Compare by descriptor.
- Specified by:
- compareTo in interface Comparable
getDescriptor
public CatalogItem getDescriptor()
- Get the CatalogItem describing the items represented by this record.
getCount
public int getCount()
- Get the number of items in this record.