public class Item
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
UNKNOWN |
Constructor and Description |
---|
Item(java.lang.String subLibrary,
int itemSequence,
java.lang.String material,
java.lang.String inventoryDate,
java.lang.String deletionDate,
java.lang.String price)
Creates a new
Item . |
Item(java.lang.String collection,
java.lang.String callNo,
java.lang.String subLibrary,
int itemSequence,
java.lang.String material,
java.lang.String itemStatus,
java.lang.String processStatus,
java.lang.String inventoryDate,
java.lang.String deletionDate,
java.lang.String price)
Creates a new
Item . |
Modifier and Type | Method and Description |
---|---|
void |
addEvent(Event event)
adds an
Event -object to the list of events associated with
this item. |
java.lang.String |
getCallNo()
returns the shelfmark of this particular item
|
java.lang.String |
getCollection()
returns the collection this item belongs to
|
java.lang.String |
getDeletionDate()
returns the date this item was de-inventoried
|
java.lang.String |
getEtat()
returns the code of the budget this item was paid for.
|
java.util.List<Event> |
getEvents()
returns all events associated with this item
|
java.lang.String |
getInventoryDate()
returns the date when this item was inventoried
|
int |
getItemSequence()
returns the item sequence identifying this particular item
|
java.lang.String |
getItemStatus()
returns the status of this particular item
|
java.lang.String |
getMaterial()
returns the type of material of this item
|
java.lang.String |
getPrice()
returns the price of this item
|
java.lang.String |
getProcessStatus()
returns the process status of this particular item
|
java.lang.String |
getRecKey()
returns the key in the Aleph database of this item
|
java.lang.String |
getSublibrary()
returns the sub-library this item is located in
|
void |
setEtat(java.lang.String etat)
sets the code of the budget this item was paid for.
|
void |
setRecKey(java.lang.String recKey)
sets the key in the Aleph database of this item
|
public static final java.lang.String UNKNOWN
public Item(java.lang.String collection, java.lang.String callNo, java.lang.String subLibrary, int itemSequence, java.lang.String material, java.lang.String itemStatus, java.lang.String processStatus, java.lang.String inventoryDate, java.lang.String deletionDate, java.lang.String price)
Item
.collection
- the collection this item belongs tocallNo
- the shelfmark of this itemsubLibrary
- the sublibrary this item is located initemSequence
- the identifier of this particular itemmaterial
- the type of material of this item (book, cd-rom etc.)itemStatus
- the status of this itemprocessStatus
- the process status of this iteminventoryDate
- the date this item was inventorieddeletionDate
- the date when this item was de-inventoriedprice
- the price of this itempublic Item(java.lang.String subLibrary, int itemSequence, java.lang.String material, java.lang.String inventoryDate, java.lang.String deletionDate, java.lang.String price)
Item
.subLibrary
- the sublibrary this item is located initemSequence
- the identifier of this particular itemmaterial
- the type of material of this item (book, cd-rom etc.)inventoryDate
- the date this item was inventorieddeletionDate
- the date when this item was de-inventoriedprice
- the price of this itempublic java.lang.String getEtat()
public void setEtat(java.lang.String etat)
etat
- the budget codepublic java.lang.String getSublibrary()
public java.lang.String getRecKey()
public void setRecKey(java.lang.String recKey)
recKey
- the key in the databasepublic int getItemSequence()
public java.lang.String getItemStatus()
public java.lang.String getProcessStatus()
public java.lang.String getCollection()
public java.lang.String getMaterial()
public java.lang.String getCallNo()
public java.lang.String getInventoryDate()
public java.lang.String getDeletionDate()
public void addEvent(Event event)
Event
-object to the list of events associated with
this item.event
- an Event
-objectpublic java.util.List<Event> getEvents()
public java.lang.String getPrice()