Class CompFilterType

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

public class CompFilterType extends Object
The CALDAV:comp-filter XML element specifies a query targeted at the calendar object (i.e., VCALENDAR) or at a specific calendar component type (e.g., VEVENT). The scope of the CALDAV:comp-filter XML element is the calendar object when used as a child of the CALDAV:filter XML element. The scope of the CALDAV:comp-filter XML element is the enclosing calendar component when used as a child of another CALDAV:comp-filter XML element. A CALDAV:comp-filter is said to match if: * The CALDAV:comp-filter XML element is empty and the calendar object or calendar component type specified by the "name" attribute exists in the current scope; or: * The CALDAV:comp-filter XML element contains a CALDAV:is-not- defined XML element and the calendar object or calendar component type specified by the "name" attribute does not exist in the current scope; or: * The CALDAV:comp-filter XML element contains a CALDAV:time-range XML element and at least one recurrence instance in the targeted calendar component is scheduled to overlap the specified time range, and all specified CALDAV:prop-filter and CALDAV:comp-filter child XML elements also match the targeted calendar component; or: * The CALDAV:comp-filter XML element only contains CALDAV:prop- filter and CALDAV:comp-filter child XML elements that all match the targeted calendar component.

Java class for CompFilterType complex type.

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

 <complexType name="CompFilterType">
   <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>
             <element ref="{urn:ietf:params:xml:ns:caldav}time-range" minOccurs="0"/>
             <element ref="{urn:ietf:params:xml:ns:caldav}prop-filter" maxOccurs="unbounded" minOccurs="0"/>
             <element ref="{urn:ietf:params:xml:ns:caldav}comp-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

    • CompFilterType

      public CompFilterType()
  • 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
    • getPropFilter

      public List<PropFilterType> getPropFilter()
      Gets the value of the propFilter 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 propFilter property.

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

          getPropFilter().add(newItem);
       

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

    • getCompFilter

      public List<CompFilterType> getCompFilter()
      Gets the value of the compFilter 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 compFilter property.

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

          getCompFilter().add(newItem);
       

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

    • 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