Class AppCollection
- java.lang.Object
-
- org.jboss.resteasy.plugins.providers.atom.app.AppCommonAttributes
-
- org.jboss.resteasy.plugins.providers.atom.app.AppCollection
-
- All Implemented Interfaces:
java.io.Serializable
public class AppCollection extends AppCommonAttributes
Per RFC5023:
The "app:collection" element describes a Collection. The app: collection element MUST contain one atom:title element. The app:collection element MAY contain any number of app:accept elements, indicating the types of representations accepted by the Collection. The order of such elements is not significant. The app:collection element MAY contain any number of app:categories elements. appCollection = element app:collection { appCommonAttributes, attribute href { atomURI }, ( atomTitle & appAccept* & appCategories* & extensionSansTitleElement* ) }- Version:
- $Revision: 1 $
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<AppAccept>acceptprotected java.util.List<java.lang.Object>anyprotected java.util.List<AppCategories>categoriesprotected java.lang.Stringhrefprivate static longserialVersionUIDprotected java.lang.Stringtitle
-
Constructor Summary
Constructors Constructor Description AppCollection()AppCollection(java.lang.String href, java.lang.String title)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<AppAccept>getAccept()Gets the value of the accept property.java.util.List<java.lang.Object>getAny()Gets the value of the any property.java.util.List<AppCategories>getCategories()Gets the value of the categories property.java.lang.StringgetHref()Gets the value of the href property.java.lang.StringgetTitle()Gets the value of the title property.voidsetHref(java.lang.String value)Sets the value of the href property.voidsetTitle(java.lang.String value)Sets the value of the title property.-
Methods inherited from class org.jboss.resteasy.plugins.providers.atom.app.AppCommonAttributes
getBase, getLang, getOtherAttributes, getSpace, setBase, setLang, setSpace
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
href
protected java.lang.String href
-
title
protected java.lang.String title
-
accept
protected java.util.List<AppAccept> accept
-
categories
protected java.util.List<AppCategories> categories
-
any
protected java.util.List<java.lang.Object> any
-
-
Method Detail
-
getTitle
public java.lang.String getTitle()
Gets the value of the title property.- Returns:
- possible object is
String
-
setTitle
public void setTitle(java.lang.String value)
Sets the value of the title property.- Parameters:
value- allowed object isString
-
getAccept
public java.util.List<AppAccept> getAccept()
Gets the value of the accept 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 accept property.For example, to add a new item, do as follows:
getAccept().add(newItem);
Objects of the following type(s) are allowed in the list
String
-
getCategories
public java.util.List<AppCategories> getCategories()
Gets the value of the categories 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 categories property.For example, to add a new item, do as follows:
getCategories().add(newItem);
Objects of the following type(s) are allowed in the list
AppCategoriesType
-
getAny
public java.util.List<java.lang.Object> getAny()
Gets the value of the any 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 any property.For example, to add a new item, do as follows:
getAny().add(newItem);
Objects of the following type(s) are allowed in the list
ElementObject
-
getHref
public java.lang.String getHref()
Gets the value of the href property.- Returns:
- possible object is
String
-
setHref
public void setHref(java.lang.String value)
Sets the value of the href property.- Parameters:
value- allowed object isString
-
-