Class RequestStatus

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

public class RequestStatus extends Property
$Id$

Created: [Apr 6, 2004]

Defines a REQUEST-STATUS iCalendar component property.

See Also:
  • Field Details

  • Constructor Details

    • RequestStatus

      public RequestStatus()
      Default constructor.
    • RequestStatus

      public RequestStatus(ParameterList aList, String aValue)
      Parameters:
      aList - a list of parameters for this component
      aValue - a value string for this component
    • RequestStatus

      public RequestStatus(String aStatusCode, String aDescription, String data)
      Parameters:
      aStatusCode - a string representation of a status code
      aDescription - a description
      data - a string representation of extension data
    • RequestStatus

      public RequestStatus(ParameterList aList, String aStatusCode, String aDescription, String data)
      Parameters:
      aList - a list of parameters for this component
      aStatusCode - a string representation of a status code
      aDescription - a description
      data - a string representation of extension data
  • Method Details

    • getDescription

      public final String getDescription()
      Returns:
      Returns the description.
    • getExData

      public final String getExData()
      Returns:
      Returns the exData.
    • getStatusCode

      public final String getStatusCode()
      Returns:
      Returns the statusCode.
    • setValue

      public final void setValue(String aValue)
      Sets the current value of the property.
      Specified by:
      setValue in class Property
      Parameters:
      aValue - a string representation of the property value
    • getValue

      public final String getValue()
      Specified by:
      getValue in class Content
      Returns:
      the content value
    • setDescription

      public final void setDescription(String description)
      Parameters:
      description - The description to set.
    • setExData

      public final void setExData(String exData)
      Parameters:
      exData - The exData to set.
    • setStatusCode

      public final void setStatusCode(String statusCode)
      Parameters:
      statusCode - The statusCode to set.
    • validate

      public ValidationResult validate() throws ValidationException
      Description copied from class: Property
      Perform validation on a property.
      Specified by:
      validate in class Property
      Throws:
      ValidationException - where the property is not in a valid state