## Uses of Class
org.cpsolver.studentsct.reservation.Reservation

- Packages that use Reservation
  Package | Description
  --- | ---
  org.cpsolver.studentsct | Student Sectioning Solver.
  org.cpsolver.studentsct.model | Student Sectioning: Model.
  org.cpsolver.studentsct.online | Online Student Sectioning Solver.
  org.cpsolver.studentsct.reservation | Student Sectioning: Reservations.

- - ### Uses of Reservation in org.cpsolver.studentsct

    Methods in org.cpsolver.studentsct that return Reservation
    Modifier and Type | Method and Description
    --- | ---
    `protected Reservation` | StudentSectioningXMLLoader.`loadReservation(Element reservationEl, Offering offering, HashMap<Long,Config> configTable, HashMap<Long,Section> sectionTable)` Load reservation

    Methods in org.cpsolver.studentsct with parameters of type Reservation
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | StudentSectioningXMLSaver.`saveReservation(Element reservationEl, Reservation reservation)` Save reservation

  - ### Uses of Reservation in org.cpsolver.studentsct.model

    Methods in org.cpsolver.studentsct.model that return Reservation
    Modifier and Type | Method and Description
    --- | ---
    `Reservation` | Enrollment.`getReservation()` Return reservation used for this enrollment

    Methods in org.cpsolver.studentsct.model that return types with arguments of type Reservation
    Modifier and Type | Method and Description
    --- | ---
    `List<Reservation>` | Config.`getConfigReservations()` Get reservations that require this configuration
    `List<Reservation>` | Config.`getReservations()` Get reservations for this configuration
    `List<Reservation>` | Offering.`getReservations()` Reservations associated with this offering
    `List<Reservation>` | Section.`getReservations()` Get reservations for this section
    `List<Reservation>` | CourseRequest.`getReservations(Course course)` Get reservations for this course requests
    `List<Reservation>` | Section.`getSectionReservations()` Get reservations that require this section
    `List<Reservation>` | Subpart.`getSectionReservations()` Get reservations that require sections of this subpart
    `TreeSet<Reservation>` | CourseRequest.`getSortedReservations(Assignment<Request,Enrollment> assignment, Course course)` Get reservations for this course requests ordered using `compareTo(Assignment, Reservation)`

    Methods in org.cpsolver.studentsct.model with parameters of type Reservation
    Modifier and Type | Method and Description
    --- | ---
    `Enrollment` | CourseRequest.`createEnrollment(Course course, Set<? extends SctAssignment> sections, Reservation reservation)` Create enrollment for the given list of sections.
    `Enrollment` | CourseRequest.`createEnrollment(Set<? extends SctAssignment> sections, Reservation reservation)` Create enrollment for the given list of sections.
    `void` | Enrollment.`setReservation(Reservation reservation)` Set reservation for this enrollment

    Constructors in org.cpsolver.studentsct.model with parameters of type Reservation
    Constructor and Description
    `Enrollment(Request request, int priority, boolean noReservationPenalty, Course course, Config config, Set<? extends SctAssignment> assignments, Reservation reservation)` Constructor
    `Enrollment(Request request, int priority, Course course, Config config, Set<? extends SctAssignment> assignments, Reservation reservation)` Constructor

  - ### Uses of Reservation in org.cpsolver.studentsct.online

    Subclasses of Reservation in org.cpsolver.studentsct.online
    Modifier and Type | Class and Description
    --- | ---
    `class` | `OnlineReservation` An online reservation.

  - ### Uses of Reservation in org.cpsolver.studentsct.reservation

    Subclasses of Reservation in org.cpsolver.studentsct.reservation
    Modifier and Type | Class and Description
    --- | ---
    `class` | `CourseReservation` Course reservation.
    `class` | `CurriculumOverride` Curriculum reservation override.
    `class` | `CurriculumReservation` Curriculum reservation.
    `class` | `DummyReservation` Dummy reservation.
    `class` | `GroupReservation` Group reservation.
    `class` | `IndividualReservation` Individual reservation.
    `class` | `LearningCommunityReservation` Learning Community reservation.
    `class` | `ReservationOverride` Reservation override.

    Methods in org.cpsolver.studentsct.reservation with parameters of type Reservation
    Modifier and Type | Method and Description
    --- | ---
    `int` | Reservation.`compareTo(Assignment<Request,Enrollment> assignment, Reservation r)` Priority first, than restrictivity (more restrictive first), than availability (more available first), than id
    `int` | Reservation.`compareTo(Reservation r)` Priority first, than restrictivity (more restrictive first), than id