java.lang.Object
jfxtras.icalendarfx.VElementBase
jfxtras.icalendarfx.properties.component.recurrence.rrule.RRulePartBase<T,U>
All Implemented Interfaces:
RRulePart<T>, VChild, VElement
Direct Known Subclasses:
ByRuleAbstract, Count, Frequency, Interval, Until, WeekStart

public abstract class RRulePartBase<T,U> extends VElementBase implements RRulePart<T>
  • Field Details

    • myParent

      private VParent myParent
    • value

      private T value
    • elementType

      protected final RRuleElement elementType
  • Constructor Details

    • RRulePartBase

      protected RRulePartBase()
  • Method Details

    • setParent

      public void setParent(VParent parent)
      Description copied from interface: VChild
      Set the VParent of this VChild. This method is invoked internally by the API. Under normal circumstances it should not be used externally
      Specified by:
      setParent in interface VChild
    • getParent

      public VParent getParent()
      Description copied from interface: VChild
      Gets the VParent of this VChild
      Specified by:
      getParent in interface VChild
    • getValue

      public T getValue()
      Description copied from interface: RRulePart
      The value of the recurrence rule value part. For example, in the below part: BYDAY=MO The value is MO Note: the value's object must have an overridden toString method that complies with iCalendar content line output.
      Specified by:
      getValue in interface RRulePart<T>
    • setValue

      public void setValue(T value)
      Description copied from interface: RRulePart
      Set the value of this parameter
      Specified by:
      setValue in interface RRulePart<T>
    • withValue

      public U withValue(T value)
    • name

      public String name()
      Description copied from interface: VElement

      Returns the name of the component as it would appear in the iCalendar content line.

      Examples:

      • VEVENT
      • SUMMARY
      • LANGUAGE

      Specified by:
      name in interface VElement
      Returns:
      - the component name
    • 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
      Returns:
      - list of error messages
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • extractValue

      protected static String extractValue(String content)