|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--LibraryItem | +--Stealable | +--ReferenceItem
Container for reference items. Implements getReplacementCost function.
Fields inherited from class Stealable |
availability |
Fields inherited from class LibraryItem |
callNumber, cost, usage |
Constructor Summary | |
ReferenceItem(java.lang.String id,
int val)
Construct a library item given its call number and cost. |
Method Summary | |
int |
getReplacementCost()
What is the replacement cost of the library item to the library. |
Methods inherited from class Stealable |
getAvailability, isLost, setAvailability |
Methods inherited from class LibraryItem |
getCallNumber, getCost, getUsage, setUsage |
Methods inherited from class java.lang.Object |
|
Constructor Detail |
public ReferenceItem(java.lang.String id, int val)
Method Detail |
public int getReplacementCost()
getReplacementCost
in class LibraryItem
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |