Package main.model

Interface Model

All Superinterfaces:
Mappable
All Known Subinterfaces:
Request, User
All Known Implementing Classes:
Coordinator, Project, Student, StudentChangeTitleRequest, StudentDeregistrationRequest, StudentRegistrationRequest, Supervisor, TransferStudentRequest

public interface Model extends Mappable
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

    Modifier and Type
    Method
    Description
    Returns the ID of the model as a string.

    Methods inherited from interface main.utils.iocontrol.Mappable

    fromMap, toMap
  • Method Details

    • getID

      String getID()
      Returns the ID of the model as a string.
      Returns:
      the ID of the model.