Package org.exoplatform.caldav.model
Record Class HeldMailInvitation
java.lang.Object
java.lang.Record
org.exoplatform.caldav.model.HeldMailInvitation
- Record Components:
eventId- the agenda event the copy stands forlink- where the event is read in the platform, built from the platform's domain and the event's idresponse- the user's answer on the copy, read from their attendee line; null when no line names them, or its PARTSTAT is one agenda has no word forsequence- the SEQUENCE of the copy's master, 0 when absent
public record HeldMailInvitation(long eventId, String link, org.exoplatform.agenda.constant.EventAttendeeResponse response, int sequence)
extends Record
The copy of a mail invitation the user's CalDAV-bound calendar holds, as the
mail reader asks about it when the invitation is opened (EXO-90873).
-
Constructor Summary
ConstructorsConstructorDescriptionHeldMailInvitation(long eventId, String link, org.exoplatform.agenda.constant.EventAttendeeResponse response, int sequence) Creates an instance of aHeldMailInvitationrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.longeventId()Returns the value of theeventIdrecord component.final inthashCode()Returns a hash code value for this object.link()Returns the value of thelinkrecord component.org.exoplatform.agenda.constant.EventAttendeeResponseresponse()Returns the value of theresponserecord component.intsequence()Returns the value of thesequencerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
HeldMailInvitation
public HeldMailInvitation(long eventId, String link, org.exoplatform.agenda.constant.EventAttendeeResponse response, int sequence) Creates an instance of aHeldMailInvitationrecord class.
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
eventId
public long eventId()Returns the value of theeventIdrecord component.- Returns:
- the value of the
eventIdrecord component
-
link
Returns the value of thelinkrecord component.- Returns:
- the value of the
linkrecord component
-
response
public org.exoplatform.agenda.constant.EventAttendeeResponse response()Returns the value of theresponserecord component.- Returns:
- the value of the
responserecord component
-
sequence
public int sequence()Returns the value of thesequencerecord component.- Returns:
- the value of the
sequencerecord component
-