Interface Identified

All Known Implementing Classes:
Actor, ConferenceRoom, LdapActor, LocalActor, QuietStudyRoom, Reservation, Room, SeatReservation
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface Identified
Represents an object with a unique identifier.
  • Method Summary

    Modifier and Type
    Method
    Description
    @NonNull Long
     
  • Method Details

    • getId

      @Contract(pure=true) @NonNull @NonNull Long getId()
      Returns:
      The unique identifier of the object.