Record Class CalendarSubscription
java.lang.Object
java.lang.Record
org.exoplatform.caldav.plugin.CalendarSubscription
- Record Components:
ownerUid- the uid of the person or resource the calendar belongs toresource- true when the calendar is a resource'sownerPrincipal- the owner's principal path, in the account principal's own spelling
-
Constructor Summary
ConstructorsConstructorDescriptionCalendarSubscription(String ownerUid, boolean resource, String ownerPrincipal) Creates an instance of aCalendarSubscriptionrecord 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.Returns the value of theownerPrincipalrecord component.ownerUid()Returns the value of theownerUidrecord component.booleanresource()Returns the value of theresourcerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CalendarSubscription
Creates an instance of aCalendarSubscriptionrecord class.- Parameters:
ownerUid- the value for theownerUidrecord componentresource- the value for theresourcerecord componentownerPrincipal- the value for theownerPrincipalrecord 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. -
ownerUid
-
resource
-
ownerPrincipal
Returns the value of theownerPrincipalrecord component.- Returns:
- the value of the
ownerPrincipalrecord component
-