|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
com.std.util.Stateful<U>
com.std.util.Persistent<AppointmentSet>
com.std.model.appointment.PersistentAppointmentSet
public class PersistentAppointmentSet
Persistent is a Stateful object that provides utilities to save and load to a file, and keeps track of the status of that file and whether or not it exists.
| Constructor Summary | |
|---|---|
PersistentAppointmentSet()
creates a new PersistentAppointmentSet holding a new and blank AppointmentSet |
|
| Method Summary | |
|---|---|
void |
apptSetChanged()
sets this as an observer to the current appointment set whenever it is replaced |
void |
setModified(AppointmentSet apptSet,
Appointment appt)
sets this as modified whenever the current appointment set is changed |
| Methods inherited from class com.std.util.Persistent |
|---|
getFileName, isModified, load, load, load, load, save, save, save, setModified, setTarget, setTarget |
| Methods inherited from class com.std.util.Stateful |
|---|
getTarget, onChanged |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PersistentAppointmentSet()
| Method Detail |
|---|
public void apptSetChanged()
public void setModified(AppointmentSet apptSet,
Appointment appt)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||