Class VPersonal<T>

Type Parameters:
T - - implementation subclass
All Implemented Interfaces:
VAttendee<T>, VComponent, VChild, VElement, VParent
Direct Known Subclasses:
VDisplayable, VFreeBusy

public abstract class VPersonal<T> extends VPrimary<T> implements VAttendee<T>
Components with the following properties: ATTENDEE, DTSTAMP, ORGANIZER, REQUEST-STATUS, UID, URL
See Also:
  • invalid reference
    VEventNewInt
  • invalid reference
    VTodoInt
  • invalid reference
    VJournalInt
  • VFreeBusy
  • Field Details

    • attendees

      private List<Attendee> attendees
      ATTENDEE: Attendee RFC 5545 iCalendar 3.8.4.1 page 107 This property defines an "Attendee" within a calendar component. Examples: ATTENDEE;MEMBER="mailto:DEV-GROUP@example.com": mailto:joecool@example.com ATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;CN=Jane Doe :mailto:jdoe@example.com
    • dateTimeStamp

      private DateTimeStamp dateTimeStamp
      DTSTAMP: Date-Time Stamp, from RFC 5545 iCalendar 3.8.7.2 page 137 This property specifies the date and time that the instance of the iCalendar object was created
    • organizer

      private Organizer organizer
    • requestStatus

      private List<RequestStatus> requestStatus
    • uniqueIdentifier

      private UniqueIdentifier uniqueIdentifier
      UID, Unique identifier RFC 5545, iCalendar 3.8.4.7 page 117 A globally unique identifier for the calendar component. required property Example: UID:19960401T080045Z-4000F192713-0052@example.com
    • nextKey

      private static Integer nextKey
    • uidGeneratorCallback

      private Callback<Void,String> uidGeneratorCallback
    • url

  • Constructor Details

    • VPersonal

      VPersonal()
    • VPersonal

      public VPersonal(VPersonal<T> source)
  • Method Details

    • getAttendees

      public List<Attendee> getAttendees()
      Description copied from interface: VAttendee

      This property defines an "Attendee" within a calendar component.
      RFC 5545 iCalendar 3.8.4.1 page 107

      Examples:

      • ATTENDEE;MEMBER="mailto:DEV-GROUP@example.com":
        mailto:joecool@example.com
      • ATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;CN=Jane Doe
        :mailto:jdoe@example.com

      Specified by:
      getAttendees in interface VAttendee<T>
    • setAttendees

      public void setAttendees(List<Attendee> attendees)
      Specified by:
      setAttendees in interface VAttendee<T>
    • getDateTimeStamp

      public DateTimeStamp getDateTimeStamp()
    • setDateTimeStamp

      public void setDateTimeStamp(String dateTimeStamp)
    • setDateTimeStamp

      public void setDateTimeStamp(DateTimeStamp dateTimeStamp)
    • setDateTimeStamp

      public void setDateTimeStamp(ZonedDateTime dateTimeStamp)
    • withDateTimeStamp

      public T withDateTimeStamp(ZonedDateTime dateTimeStamp)
    • withDateTimeStamp

      public T withDateTimeStamp(String dateTimeStamp)
    • withDateTimeStamp

      public T withDateTimeStamp(DateTimeStamp dateTimeStamp)
    • getOrganizer

      public Organizer getOrganizer()
      ORGANIZER: Organizer RFC 5545 iCalendar 3.8.4.3 page 111 This property defines the organizer for a calendar component Example: ORGANIZER;CN=John Smith:mailto:jsmith@example.com
    • setOrganizer

      public void setOrganizer(Organizer organizer)
    • setOrganizer

      public void setOrganizer(String organizer)
    • withOrganizer

      public T withOrganizer(String organizer)
    • withOrganizer

      public T withOrganizer(Organizer organizer)
    • getRequestStatus

      public List<RequestStatus> getRequestStatus()
      REQUEST-STATUS: Request Status RFC 5545 iCalendar 3.8.8.3 page 141 This property defines the status code returned for a scheduling request. Examples: REQUEST-STATUS:2.0;Success REQUEST-STATUS:3.7;Invalid calendar user;ATTENDEE: mailto:jsmith@example.com
    • setRequestStatus

      public void setRequestStatus(List<RequestStatus> requestStatus)
    • withRequestStatus

      public T withRequestStatus(List<RequestStatus> requestStatus)
    • withRequestStatus

      public T withRequestStatus(String... requestStatus)
    • withRequestStatus

      public T withRequestStatus(RequestStatus... requestStatus)
    • getUniqueIdentifier

      public UniqueIdentifier getUniqueIdentifier()
    • setUniqueIdentifier

      public void setUniqueIdentifier(UniqueIdentifier uniqueIdentifier)
    • setUniqueIdentifier

      public void setUniqueIdentifier(String uniqueIdentifier)
    • setUniqueIdentifier

      public void setUniqueIdentifier()
      Set uniqueIdentifier by calling uidGeneratorCallback
    • withUniqueIdentifier

      public T withUniqueIdentifier(String uniqueIdentifier)
    • withUniqueIdentifier

      public T withUniqueIdentifier(UniqueIdentifier uniqueIdentifier)
    • withUniqueIdentifier

      public T withUniqueIdentifier()
      Assign UID by using UID generator callback
    • getUidGeneratorCallback

      public Callback<Void,String> getUidGeneratorCallback()
      Callback for creating unique uid values
    • setUidGeneratorCallback

      public void setUidGeneratorCallback(Callback<Void,String> uidCallback)
    • withUidGeneratorCallback

      public T withUidGeneratorCallback(Callback<Void,String> uidCallback)
      set UID callback generator. This MUST be set before using the no-arg withUniqueIdentifier if not using default callback.
    • getURL

      public UniformResourceLocator getURL()
      URL: Uniform Resource Locator RFC 5545 iCalendar 3.8.4.6 page 116 This property defines a Uniform Resource Locator (URL) associated with the iCalendar object Example: URL:http://example.com/pub/calendars/jsmith/mytime.ics
    • setURL

      public void setURL(UniformResourceLocator url)
    • setURL

      public void setURL(String url)
    • setURL

      public void setURL(URI url)
    • withURL

      public T withURL(String url)
    • withURL

      public T withURL(URI url)
    • withURL

      public T withURL(UniformResourceLocator url)
    • errors

      public List<String> errors()
      Description copied from interface: VElement
      Produces a list of error messages indicating problems with calendar element VElement.errors() is invoked recursively to return errors of child elements in addition to errors in parent
      Specified by:
      errors in interface VElement
      Overrides:
      errors in class VParentBase<T>
      Returns:
      - list of error messages