public abstract class BlackoutTimeDB
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) java.util.Collection<BlackoutTime> |
blackoutTimes |
Constructor and Description |
---|
BlackoutTimeDB() |
Modifier and Type | Method and Description |
---|---|
(package private) abstract void |
addBlackoutTime(BlackoutTime blackoutTime)
This method adds a blackout time.
|
(package private) abstract void |
deleteBlackoutTime(BlackoutTime blackoutTime)
This method deletes a blackout time.
|
java.util.Collection<BlackoutTime> blackoutTimes
abstract void addBlackoutTime(BlackoutTime blackoutTime)
blackoutTime
- The blackout time to be added.
pre:
//
// The blackoutTime should not already exist.
//
!exists (BlackoutTime other;
blackoutTimes.contains(other);
blackoutTime.equals(other));abstract void deleteBlackoutTime(BlackoutTime blackoutTime)
blackoutTime
- The blackout time to be deleted.
pre:
//
// The blackoutTime should already exist.
//
exists (BlackoutTime other;
blackoutTimes.contains(other);
blackoutTime.equals(other));