public class AppWorkspace extends AppCommonAttributes
Per RFC5023:
A Service Document groups Collections into Workspaces. Operations on Workspaces, such as creation or deletion, are not defined by this specification. This specification assigns no meaning to Workspaces; that is, a Workspace does not imply any specific processing assumptions. There is no requirement that a server support multiple Workspaces. In addition, a Collection MAY appear in more than one Workspace. Workspaces are server-defined groups of Collections. The "app: workspace" element contains zero or more app:collection elements describing the Collections of Resources available for editing. appWorkspace = element app:workspace { appCommonAttributes, ( atomTitle & appCollection* & extensionSansTitleElement* ) } atomTitle = element atom:title { atomTextConstruct }
Modifier and Type | Field and Description |
---|---|
protected List<Object> |
any |
protected List<AppCollection> |
collection |
protected String |
title |
Constructor and Description |
---|
AppWorkspace() |
Modifier and Type | Method and Description |
---|---|
List<Object> |
getAny()
Gets the value of the any property.
|
List<AppCollection> |
getCollection()
Gets the value of the collection property.
|
String |
getTitle()
Gets the value of the title property.
|
void |
setTitle(String value)
Sets the value of the title property.
|
getBase, getLang, getOtherAttributes, getSpace, setBase, setLang, setSpace
protected String title
protected List<AppCollection> collection
public String getTitle()
String
public void setTitle(String value)
value
- allowed object is
String
public List<AppCollection> getCollection()
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 collection property.
For example, to add a new item, do as follows:
getCollection().add(newItem);
Objects of the following type(s) are allowed in the list
AppCollectionType
public List<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
Copyright © 2018 JBoss by Red Hat. All rights reserved.