|
Resteasy Atom Provider 2.3.6.Final-redhat-1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.resteasy.plugins.providers.atom.app.AppCommonAttributes
org.jboss.resteasy.plugins.providers.atom.app.AppCategories
public class AppCategories
The app:categories element can contain a "fixed" attribute, with a value of either "yes" or "no", indicating whether the list of categories is a fixed or an open set. The absence of the "fixed" attribute is equivalent to the presence of a "fixed" attribute with a value of "no". Alternatively, the app:categories element MAY contain an "href" attribute, whose value MUST be an IRI reference identifying a Category Document. If the "href" attribute is provided, the app: categories element MUST be empty and MUST NOT have the "fixed" or "scheme" attributes.
Field Summary | |
---|---|
protected List<Category> |
category
|
protected Boolean |
fixed
|
protected String |
href
|
protected String |
scheme
|
Constructor Summary | |
---|---|
AppCategories()
|
|
AppCategories(List<Category> category,
Boolean fixed,
String scheme,
String href)
|
Method Summary | |
---|---|
List<Category> |
getCategory()
Gets the value of the category property. |
String |
getHref()
Gets the value of the href property. |
String |
getScheme()
Gets the value of the scheme property. |
Boolean |
isFixed()
Gets the value of the fixed property. |
void |
setFixed(Boolean value)
Sets the value of the fixed property. |
void |
setHref(String value)
Sets the value of the href property. |
void |
setScheme(String value)
Sets the value of the scheme property. |
Methods inherited from class org.jboss.resteasy.plugins.providers.atom.app.AppCommonAttributes |
---|
getBase, getLang, getOtherAttributes, getSpace, setBase, setLang, setSpace |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected List<Category> category
protected Boolean fixed
protected String scheme
protected String href
Constructor Detail |
---|
public AppCategories()
public AppCategories(List<Category> category, Boolean fixed, String scheme, String href)
Method Detail |
---|
public List<Category> getCategory()
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 category property.
For example, to add a new item, do as follows:
getCategory().add(newItem);
Objects of the following type(s) are allowed in the list
AppCategoryType
public Boolean isFixed()
Boolean
public void setFixed(Boolean value)
value
- allowed object is
Boolean
public String getScheme()
String
public void setScheme(String value)
value
- allowed object is String
public String getHref()
String
public void setHref(String value)
value
- allowed object is String
|
Resteasy Atom Provider 2.3.6.Final-redhat-1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |