Class Periodical

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

public class Periodical
extends Borrowable

Container for periodical 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
Periodical(java.lang.String id, int val)
          Construct a library item given its call number and cost.
 
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

Periodical

public Periodical(java.lang.String id,
                  int val)
Construct a library item given its call number and cost. Type is P - periodical 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