net.sf.farrago.test
Class FarragoObjectCacheTest.RentalCarAgreement
java.lang.Object
net.sf.farrago.test.FarragoObjectCacheTest.RentalCarAgreement
- Enclosing class:
- FarragoObjectCacheTest
private class FarragoObjectCacheTest.RentalCarAgreement
- extends Object
RentalCarAgreement encapsulates the assignment of a car to a customer for
a duration.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
car
FarragoObjectCacheTest.RentalCar car
pinnedEntry
FarragoObjectCache.Entry pinnedEntry
FarragoObjectCacheTest.RentalCarAgreement
FarragoObjectCacheTest.RentalCarAgreement(FarragoObjectCache.Entry pinnedEntry)
- Creates a new agreement.
- Parameters:
pinnedEntry
- reference to pinned cache entry, which implements
the checkout of a car from a fleet
getCar
public FarragoObjectCacheTest.RentalCar getCar()
- Returns:
- car assigned to customer by this agreement