Package DataHandling
Class DoctorScheduleSerializer
java.lang.Object
DataHandling.DoctorScheduleSerializer
- All Implemented Interfaces:
ISerializer<Map<String,
Schedule>>
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Internal class to serialize and deserialize Schedule objects Only used by DoctorScheduleSerializer -
Field Summary
Fields inherited from interface DataHandling.ISerializer
SEPARATOR
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
DoctorScheduleSerializer
public DoctorScheduleSerializer()
-
-
Method Details
-
serialize
Description copied from interface:ISerializer
Serializes the object to a String.- Specified by:
serialize
in interfaceISerializer<Map<String,
Schedule>> - Parameters:
object
- The object to serialize.- Returns:
- The serialized object.
-
deserialize
Description copied from interface:ISerializer
Deserializes the String to an object.- Specified by:
deserialize
in interfaceISerializer<Map<String,
Schedule>> - Parameters:
data
- The serialized object.- Returns:
- The deserialized object.
-
main
-