Record Class CalendarObject
java.lang.Object
java.lang.Record
org.exoplatform.caldav.client.CalendarObject
- Record Components:
href- the object's server-absolute raw pathetag- the version the server named, exactly as sent — quotes and all, because it only works as a precondition verbatim; null when the server sent nonecalendarData- the iCalendar text, or null when the answer carried only the version (an ETag listing, a sync-collection change)
-
Constructor Summary
ConstructorsConstructorDescriptionCalendarObject(String href, String etag, String calendarData) Creates an instance of aCalendarObjectrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecalendarDatarecord component.final booleanIndicates whether some other object is "equal to" this one.etag()Returns the value of theetagrecord component.final inthashCode()Returns a hash code value for this object.href()Returns the value of thehrefrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CalendarObject
-
-
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). -
href
-
etag
-
calendarData
Returns the value of thecalendarDatarecord component.- Returns:
- the value of the
calendarDatarecord component
-