Class VisualMedium

java.lang.Object
  |
  +--LibraryItem
        |
        +--Stealable
              |
              +--VisualMedium
All Implemented Interfaces:
Availability

public class VisualMedium
extends Stealable

Container for visual-medium items. Implements getReplacementCost function.

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

Fields inherited from class Stealable
availability
 
Fields inherited from class LibraryItem
callNumber, cost, usage
 
Constructor Summary
VisualMedium(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
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

VisualMedium

public VisualMedium(java.lang.String id,
                    int val)
Construct a library item given its call number and cost. Type is V - visual-medium item
Method Detail

getReplacementCost

public int getReplacementCost()
What is the replacement cost of the library item to the library.
Overrides:
getReplacementCost in class LibraryItem
Returns:
the integer replacement cost of the library item