Package main.model
Interface Model
- All Superinterfaces:
Mappable
- All Known Implementing Classes:
Coordinator
,Project
,Student
,StudentChangeTitleRequest
,StudentDeregistrationRequest
,StudentRegistrationRequest
,Supervisor
,TransferStudentRequest
The Model interface represents an entity that can be stored in the application's data storage.
It extends the Mappable interface, which allows it to be serialized and deserialized as a map of key-value pairs.
The interface requires implementations to provide a unique ID string and defines how the ID can be retrieved.
-
Method Summary
-
Method Details
-
getID
String getID()Returns the ID of the model as a string.- Returns:
- the ID of the model.
-