Package org.bedework.schemas.catdav_1
Class CategoryDataType
- java.lang.Object
-
- org.bedework.schemas.catdav_1.CategoryDataType
-
public class CategoryDataType extends Object
When used in an address book REPORT request, the CATDAV:category-data XML element specifies which parts of category object resources need to be returned in the response. If the CATDAV:category-data XML element doesn't contain any CATDAV:prop elements, category object resources will be returned in their entirety. Additionally a media type and version can be specified to request that the server return the data in that format if possible. Finally, when used in a category REPORT response, the CATDAV:category-data XML element specifies the content of a category object resource. NOTE: This schema type only applies to category-data used in CatDAV category-query requests.Java class for CategoryDataType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CategoryDataType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <choice minOccurs="0"> <element ref="{http://www.bedework.org/schemas/catdav-1.0}allprop"/> <element ref="{http://www.bedework.org/schemas/catdav-1.0}prop" maxOccurs="unbounded"/> </choice> <element ref="{http://www.bedework.org/schemas/category-1.0}categories" minOccurs="0"/> </sequence> <attribute name="content-type" type="{http://www.w3.org/2001/XMLSchema}string" default="application/xml+category" /> <attribute name="version" type="{http://www.w3.org/2001/XMLSchema}string" default="1.0" /> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected AllpropTypeallpropprotected ArrayOfCategoriescategoriesprotected StringcontentTypeprotected List<PropType>propprotected Stringversion
-
Constructor Summary
Constructors Constructor Description CategoryDataType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AllpropTypegetAllprop()Gets the value of the allprop property.ArrayOfCategoriesgetCategories()Gets the value of the categories property.StringgetContentType()Gets the value of the contentType property.List<PropType>getProp()Gets the value of the prop property.StringgetVersion()Gets the value of the version property.voidsetAllprop(AllpropType value)Sets the value of the allprop property.voidsetCategories(ArrayOfCategories value)Sets the value of the categories property.voidsetContentType(String value)Sets the value of the contentType property.voidsetVersion(String value)Sets the value of the version property.
-
-
-
Field Detail
-
allprop
protected AllpropType allprop
-
categories
protected ArrayOfCategories categories
-
contentType
protected String contentType
-
version
protected String version
-
-
Method Detail
-
getAllprop
public AllpropType getAllprop()
Gets the value of the allprop property.- Returns:
- possible object is
AllpropType
-
setAllprop
public void setAllprop(AllpropType value)
Sets the value of the allprop property.- Parameters:
value- allowed object isAllpropType
-
getProp
public List<PropType> getProp()
Gets the value of the prop 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 prop property.For example, to add a new item, do as follows:
getProp().add(newItem);Objects of the following type(s) are allowed in the list
PropType
-
getCategories
public ArrayOfCategories getCategories()
Gets the value of the categories property.- Returns:
- possible object is
ArrayOfCategories
-
setCategories
public void setCategories(ArrayOfCategories value)
Sets the value of the categories property.- Parameters:
value- allowed object isArrayOfCategories
-
getContentType
public String getContentType()
Gets the value of the contentType property.- Returns:
- possible object is
String
-
setContentType
public void setContentType(String value)
Sets the value of the contentType property.- Parameters:
value- allowed object isString
-
getVersion
public String getVersion()
Gets the value of the version property.- Returns:
- possible object is
String
-
-