Record Class LandedMailInvitation
java.lang.Object
java.lang.Record
org.exoplatform.agenda.model.LandedMailInvitation
- Record Components:
eventId- the agenda event landed, removed or already heldlink- agenda's own page for the event, built from the platform's domain; null when the event was removed or no link can be builtremoved- true when the event was removed: its organiser cancelled italreadyHeld- true when nothing was written because the message names one of this deployment's own events, in agenda already
-
Constructor Summary
ConstructorsConstructorDescriptionLandedMailInvitation(long eventId, String link, boolean removed, boolean alreadyHeld) Creates an instance of aLandedMailInvitationrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the value of thealreadyHeldrecord component.final 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.booleanremoved()Returns the value of theremovedrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
LandedMailInvitation
Creates an instance of aLandedMailInvitationrecord class.- Parameters:
eventId- the value for theeventIdrecord componentlink- the value for thelinkrecord componentremoved- the value for theremovedrecord componentalreadyHeld- the value for thealreadyHeldrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
eventId
-
link
-
removed
-
alreadyHeld
public boolean alreadyHeld()Returns the value of thealreadyHeldrecord component.- Returns:
- the value of the
alreadyHeldrecord component
-