Class AtDeskItem

java.lang.Object
  |
  +--LibraryItem
        |
        +--Borrowable
              |
              +--AtDeskItem
All Implemented Interfaces:
Availability

public class AtDeskItem
extends Borrowable

Container for at-desk items. Implements isLost function.

Version:
FINAL 17-OCT-2003
Author:
Ned Martin 40529927

Fields inherited from class Borrowable
availability, BOOK_FINE
 
Fields inherited from class LibraryItem
callNumber, cost, usage
 
Constructor Summary
AtDeskItem(java.lang.String id, int val)
          Construct a library item given its call number and cost Type is A - at-desk item
 
Method Summary
 boolean isLost()
          Has the library item been lost
 
Methods inherited from class Borrowable
getReplacementCost, setAvailability
 
Methods inherited from class LibraryItem
getCallNumber, getCost, getUsage, setUsage
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

AtDeskItem

public AtDeskItem(java.lang.String id,
                  int val)
Construct a library item given its call number and cost Type is A - at-desk item
Method Detail

isLost

public boolean isLost()
Has the library item been lost
Overrides:
isLost in class LibraryItem
Returns:
true if the library item is lost