Class PropFilterType

java.lang.Object
ietf.params.xml.ns.caldav.PropFilterType

public class PropFilterType extends Object
The CALDAV:prop-filter XML element specifies a query targeted at a specific calendar property (e.g., CATEGORIES) in the scope of the enclosing calendar component. A calendar property is said to match a CALDAV:prop-filter if: * The CALDAV:prop-filter XML element is empty and a property of the type specified by the "name" attribute exists in the enclosing calendar component; or: * The CALDAV:prop-filter XML element contains a CALDAV:is-not- defined XML element and no property of the type specified by the "name" attribute exists in the enclosing calendar component; or: * The CALDAV:prop-filter XML element contains a CALDAV:time-range XML element and the property value overlaps the specified time range, and all specified CALDAV:param-filter child XML elements also match the targeted property; or: * The CALDAV:prop-filter XML element contains a CALDAV:text-match XML element and the property value matches it, and all specified CALDAV:param-filter child XML elements also match the targeted property;

Java class for PropFilterType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="PropFilterType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <choice minOccurs="0">
           <element ref="{urn:ietf:params:xml:ns:caldav}is-not-defined"/>
           <sequence>
             <choice>
               <element ref="{urn:ietf:params:xml:ns:caldav}time-range"/>
               <element ref="{urn:ietf:params:xml:ns:caldav}text-match"/>
             </choice>
             <element ref="{urn:ietf:params:xml:ns:caldav}param-filter" maxOccurs="unbounded" minOccurs="0"/>
           </sequence>
         </choice>
       </sequence>
       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="test" type="{urn:ietf:params:xml:ns:caldav}AnyofAllofType" default="anyof" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • PropFilterType

      public PropFilterType()
  • Method Details

    • getIsNotDefined

      public IsNotDefinedType getIsNotDefined()
      Gets the value of the isNotDefined property.
      Returns:
      possible object is IsNotDefinedType
    • setIsNotDefined

      public void setIsNotDefined(IsNotDefinedType value)
      Sets the value of the isNotDefined property.
      Parameters:
      value - allowed object is IsNotDefinedType
    • getTimeRange

      public UTCTimeRangeType getTimeRange()
      Gets the value of the timeRange property.
      Returns:
      possible object is UTCTimeRangeType
    • setTimeRange

      public void setTimeRange(UTCTimeRangeType value)
      Sets the value of the timeRange property.
      Parameters:
      value - allowed object is UTCTimeRangeType
    • getTextMatch

      public TextMatchType getTextMatch()
      Gets the value of the textMatch property.
      Returns:
      possible object is TextMatchType
    • setTextMatch

      public void setTextMatch(TextMatchType value)
      Sets the value of the textMatch property.
      Parameters:
      value - allowed object is TextMatchType
    • getParamFilter

      public List<ParamFilterType> getParamFilter()
      Gets the value of the paramFilter property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the paramFilter property.

      For example, to add a new item, do as follows:

          getParamFilter().add(newItem);
       

      Objects of the following type(s) are allowed in the list ParamFilterType

    • getName

      public String getName()
      Gets the value of the name property.
      Returns:
      possible object is String
    • setName

      public void setName(String value)
      Sets the value of the name property.
      Parameters:
      value - allowed object is String
    • getTest

      public String getTest()
      Gets the value of the test property.
      Returns:
      possible object is String
    • setTest

      public void setTest(String value)
      Sets the value of the test property.
      Parameters:
      value - allowed object is String