Package org.exoplatform.caldav.service
Record Class AccountCalendarOwners.Verdict
java.lang.Object
java.lang.Record
org.exoplatform.caldav.service.AccountCalendarOwners.Verdict
- Record Components:
word- what the server saidownerUid- the owner's directory entry uid forAccountCalendarOwners.Word.ANOTHERS; null otherwise
- Enclosing class:
AccountCalendarOwners
public static record AccountCalendarOwners.Verdict(AccountCalendarOwners.Word word, String ownerUid)
extends Record
The server's word on one calendar, and the owner it named.
-
Constructor Summary
ConstructorsConstructorDescriptionVerdict(AccountCalendarOwners.Word word, String ownerUid) Creates an instance of aVerdictrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.ownerUid()Returns the value of theownerUidrecord component.final StringtoString()Returns a string representation of this record class.word()Returns the value of thewordrecord component.
-
Constructor Details
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
word
Returns the value of thewordrecord component.- Returns:
- the value of the
wordrecord component
-
ownerUid
Returns the value of theownerUidrecord component.- Returns:
- the value of the
ownerUidrecord component
-