Package ietf.params.xml.ns.caldav
Class PropFilterType
java.lang.Object
ietf.params.xml.ns.caldav.PropFilterType
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 Summary
FieldsModifier and TypeFieldDescriptionprotected IsNotDefinedTypeprotected Stringprotected List<ParamFilterType>protected Stringprotected TextMatchTypeprotected UTCTimeRangeType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the isNotDefined property.getName()Gets the value of the name property.Gets the value of the paramFilter property.getTest()Gets the value of the test property.Gets the value of the textMatch property.Gets the value of the timeRange property.voidsetIsNotDefined(IsNotDefinedType value) Sets the value of the isNotDefined property.voidSets the value of the name property.voidSets the value of the test property.voidsetTextMatch(TextMatchType value) Sets the value of the textMatch property.voidsetTimeRange(UTCTimeRangeType value) Sets the value of the timeRange property.
-
Field Details
-
isNotDefined
-
timeRange
-
textMatch
-
paramFilter
-
name
-
test
-
-
Constructor Details
-
PropFilterType
public PropFilterType()
-
-
Method Details
-
getIsNotDefined
Gets the value of the isNotDefined property.- Returns:
- possible object is
IsNotDefinedType
-
setIsNotDefined
Sets the value of the isNotDefined property.- Parameters:
value- allowed object isIsNotDefinedType
-
getTimeRange
Gets the value of the timeRange property.- Returns:
- possible object is
UTCTimeRangeType
-
setTimeRange
Sets the value of the timeRange property.- Parameters:
value- allowed object isUTCTimeRangeType
-
getTextMatch
Gets the value of the textMatch property.- Returns:
- possible object is
TextMatchType
-
setTextMatch
Sets the value of the textMatch property.- Parameters:
value- allowed object isTextMatchType
-
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
setmethod 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
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
Sets the value of the name property.- Parameters:
value- allowed object isString
-
getTest
Gets the value of the test property.- Returns:
- possible object is
String
-
setTest
Sets the value of the test property.- Parameters:
value- allowed object isString
-