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* ) }
Modifier and Type | Field and Description |
---|---|
protected java.util.List<AppAccept> |
accept |
protected java.util.List<java.lang.Object> |
any |
protected java.util.List<AppCategories> |
categories |
protected java.lang.String |
href |
private static long |
serialVersionUID |
protected java.lang.String |
title |
Constructor and Description |
---|
AppCollection() |
AppCollection(java.lang.String href,
java.lang.String title) |
Modifier and Type | Method and 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.String |
getHref()
Gets the value of the href property.
|
java.lang.String |
getTitle()
Gets the value of the title property.
|
void |
setHref(java.lang.String value)
Sets the value of the href property.
|
void |
setTitle(java.lang.String value)
Sets the value of the title property.
|
getBase, getLang, getOtherAttributes, getSpace, setBase, setLang, setSpace
private static final long serialVersionUID
protected java.lang.String href
protected java.lang.String title
protected java.util.List<AppAccept> accept
protected java.util.List<AppCategories> categories
protected java.util.List<java.lang.Object> any
public AppCollection()
public AppCollection(java.lang.String href, java.lang.String title)
public java.lang.String getTitle()
String
public void setTitle(java.lang.String value)
value
- allowed object is String
public java.util.List<AppAccept> getAccept()
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 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
public java.util.List<AppCategories> getCategories()
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 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
public java.util.List<java.lang.Object> getAny()
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 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 Element
Object
public java.lang.String getHref()
String
public void setHref(java.lang.String value)
value
- allowed object is String