Class CompFilterType


  • public class CompFilterType
    extends Object
    The compFilter 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 compFilter XML element is the calendar object when used as a child of the filter XML element. The scope of the compFilter XML element is the enclosing calendar component when used as a child of another compFilter XML element. A compFilter is said to match if: * The compFilter XML element is empty and the calendar object or calendar component type specified by the "name" attribute exists in the current scope; or: * The compFilter XML element contains a 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 compFilter XML element contains a timeRange XML element and at least one recurrence instance in the targeted calendar component is scheduled to overlap the specified time range, and all specified propFilter and compFilter child XML elements also match the targeted calendar component; or: * The compFilter XML element only contains propFilter and compFilter 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="{http://docs.oasis-open.org/ns/wscal/calws-soap}is-not-defined"/>
               <sequence>
                 <element ref="{http://docs.oasis-open.org/ns/wscal/calws-soap}timeRange" minOccurs="0"/>
                 <element ref="{http://docs.oasis-open.org/ns/wscal/calws-soap}propFilter" maxOccurs="unbounded" minOccurs="0"/>
                 <element ref="{http://docs.oasis-open.org/ns/wscal/calws-soap}compFilter" maxOccurs="unbounded" minOccurs="0"/>
               </sequence>
             </choice>
           </sequence>
           <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="test" type="{http://docs.oasis-open.org/ns/wscal/calws-soap}AnyofAllofType" default="anyof" />
         </restriction>
       </complexContent>
     </complexType>
     
    • Constructor Detail

      • CompFilterType

        public CompFilterType()
    • Method Detail

      • setIsNotDefined

        public void setIsNotDefined​(IsNotDefinedType value)
        Sets the value of the isNotDefined property.
        Parameters:
        value - allowed object is IsNotDefinedType
      • 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