All Implemented Interfaces:
VProperty<Integer>, VChild, VElement, VParent

public class Priority extends VPropertyBase<Integer,Priority>
PRIORITY RFC 5545 iCalendar 3.8.1.9. page 89 This property defines the relative priority for a calendar component. A value of 0 specifies an undefined priority. A value of 1 is the highest priority. A value of 2 is the second highest priority. Subsequent numbers specify a decreasing ordinal priority. A value of 9 is the lowest priority. Example: The following is an example of a property with the highest priority: PRIORITY:1
See Also:
  • Constructor Details

    • Priority

      public Priority(Priority source)
    • Priority

      public Priority(Integer value)
    • Priority

      public Priority()
  • Method Details

    • setValue

      public void setValue(Integer value)
      Description copied from interface: VProperty
      Set the value of the property
      Specified by:
      setValue in interface VProperty<Integer>
      Overrides:
      setValue in class VPropertyBase<Integer,Priority>
    • isValid

      public boolean isValid()
      Description copied from interface: VElement
      Checks element to determine if necessary properties are set. VElement.isValid() is invoked recursively to test child elements if element is a parent
      Returns:
      - true if component is valid, false otherwise
    • parse

      public static Priority parse(String content)