Record Class ReservationLecturerBookingCheckResource.Column
java.lang.Object
java.lang.Record
ch.tocco.nice2.optional.reservation.impl.actions.reservationlecturerbookingcheck.ReservationLecturerBookingCheckResource.Column
- Enclosing class:
ReservationLecturerBookingCheckResource
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable Stringdetail()Returns the value of thedetailrecord component.final booleanIndicates whether some other object is "equal to" this one.org.joda.time.DateTimefrom()Returns the value of thefromrecord component.final inthashCode()Returns a hash code value for this object.key()Returns the value of thekeyrecord component.final StringtoString()Returns a string representation of this record class.org.joda.time.DateTimeuntil()Returns the value of theuntilrecord component.
-
Constructor Details
-
Column
public Column(String key, org.joda.time.DateTime from, org.joda.time.DateTime until, @Nullable String detail) Creates an instance of aColumnrecord class.- Parameters:
key- the value for thekeyrecord componentfrom- the value for thefromrecord componentuntil- the value for theuntilrecord componentdetail- the value for thedetailrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
key
Returns the value of thekeyrecord component.- Returns:
- the value of the
keyrecord component
-
from
public org.joda.time.DateTime from()Returns the value of thefromrecord component.- Returns:
- the value of the
fromrecord component
-
until
public org.joda.time.DateTime until()Returns the value of theuntilrecord component.- Returns:
- the value of the
untilrecord component
-
detail
Returns the value of thedetailrecord component.- Returns:
- the value of the
detailrecord component
-