Module ical4j.core

Class ImmutableStatus

All Implemented Interfaces:
Serializable, Comparable<Property>, FluentProperty, ImmutableProperty, Prototype<Property>

public final class ImmutableStatus extends Status implements ImmutableProperty
See Also:
  • Field Details

    • VEVENT_TENTATIVE

      public static final Status VEVENT_TENTATIVE
      Tentative VEVENT status.
    • VEVENT_CONFIRMED

      public static final Status VEVENT_CONFIRMED
      Confirmed VEVENT status.
    • VEVENT_CANCELLED

      public static final Status VEVENT_CANCELLED
      Cancelled VEVENT status.
    • VTODO_NEEDS_ACTION

      public static final Status VTODO_NEEDS_ACTION
      Tentative VTODO status.
    • VTODO_COMPLETED

      public static final Status VTODO_COMPLETED
      Completed VTODO status.
    • VTODO_IN_PROCESS

      public static final Status VTODO_IN_PROCESS
      In-process VTODO status.
    • VTODO_CANCELLED

      public static final Status VTODO_CANCELLED
      Cancelled VTODO status.
    • VJOURNAL_DRAFT

      public static final Status VJOURNAL_DRAFT
      Draft VJOURNAL status.
    • VJOURNAL_FINAL

      public static final Status VJOURNAL_FINAL
      Final VJOURNAL status.
    • VJOURNAL_CANCELLED

      public static final Status VJOURNAL_CANCELLED
      Cancelled VJOURNAL status.
  • Constructor Details

    • ImmutableStatus

      public ImmutableStatus(String value)
  • Method Details

    • add

      public <T extends Property> T add(Parameter parameter)
      Description copied from class: Property
      Add a parameter to the property's parameter list.
      Specified by:
      add in interface ImmutableProperty
      Overrides:
      add in class Property
      Parameters:
      parameter - the parameter to add
      Returns:
      a reference to the property to support method chaining
    • remove

      public <T extends Property> T remove(Parameter parameter)
      Description copied from class: Property
      Remove a parameter from the property's parameter list.
      Specified by:
      remove in interface ImmutableProperty
      Overrides:
      remove in class Property
      Parameters:
      parameter - the parameter to remove
      Returns:
      a reference to the property to support method chaining
    • removeAll

      public <T extends Property> T removeAll(String... parameterName)
      Description copied from class: Property
      Remove all parameters with the specified name from the property's parameter list.
      Specified by:
      removeAll in interface ImmutableProperty
      Overrides:
      removeAll in class Property
      Parameters:
      parameterName - the name of parameters to remove
      Returns:
      a reference to the property to support method chaining
    • replace

      public <T extends Property> T replace(Parameter parameter)
      Description copied from class: Property
      Add a parameter to the property's parameter list whilst removing all other parameters with the same name.
      Specified by:
      replace in interface ImmutableProperty
      Overrides:
      replace in class Property
      Parameters:
      parameter - the parameter to add
      Returns:
      a reference to the property to support method chaining
    • setValue

      public void setValue(String aValue)
      Description copied from class: Status
      Sets the current value of the property.
      Specified by:
      setValue in interface ImmutableProperty
      Overrides:
      setValue in class Status
      Parameters:
      aValue - a string representation of the property value