Package org.xwiki.rest.model.jaxb
Class Object
- java.lang.Object
-
- org.xwiki.rest.model.jaxb.LinkCollection
-
- org.xwiki.rest.model.jaxb.ObjectSummary
-
- org.xwiki.rest.model.jaxb.Object
-
public class Object extends ObjectSummary
Java class for Object complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Object"> <complexContent> <extension base="{http://www.xwiki.org}ObjectSummary"> <sequence> <element name="property" type="{http://www.xwiki.org}Property" maxOccurs="unbounded" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected List<Property>
properties
-
Fields inherited from class org.xwiki.rest.model.jaxb.ObjectSummary
className, guid, headline, id, number, pageAuthor, pageAuthorName, pageId, pageName, pageVersion, space, wiki
-
Fields inherited from class org.xwiki.rest.model.jaxb.LinkCollection
links
-
-
Constructor Summary
Constructors Constructor Description Object()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Property>
getProperties()
Gets the value of the properties property.Object
withClassName(String value)
Object
withGuid(String value)
Object
withHeadline(String value)
Object
withId(String value)
Object
withLinks(Collection<Link> values)
Object
withLinks(Link... values)
Object
withNumber(int value)
Object
withPageAuthor(String value)
Object
withPageAuthorName(String value)
Object
withPageId(String value)
Object
withPageName(String value)
Object
withPageVersion(String value)
Object
withProperties(Collection<Property> values)
Object
withProperties(Property... values)
Object
withSpace(String value)
Object
withWiki(String value)
-
Methods inherited from class org.xwiki.rest.model.jaxb.ObjectSummary
getClassName, getGuid, getHeadline, getId, getNumber, getPageAuthor, getPageAuthorName, getPageId, getPageName, getPageVersion, getSpace, getWiki, setClassName, setGuid, setHeadline, setId, setNumber, setPageAuthor, setPageAuthorName, setPageId, setPageName, setPageVersion, setSpace, setWiki
-
Methods inherited from class org.xwiki.rest.model.jaxb.LinkCollection
getLinks
-
-
-
-
Method Detail
-
getProperties
public List<Property> getProperties()
Gets the value of the properties 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
set
method for the properties property.For example, to add a new item, do as follows:
getProperties().add(newItem);
Objects of the following type(s) are allowed in the list
Property
-
withProperties
public Object withProperties(Collection<Property> values)
-
withId
public Object withId(String value)
- Overrides:
withId
in classObjectSummary
-
withGuid
public Object withGuid(String value)
- Overrides:
withGuid
in classObjectSummary
-
withPageId
public Object withPageId(String value)
- Overrides:
withPageId
in classObjectSummary
-
withPageVersion
public Object withPageVersion(String value)
- Overrides:
withPageVersion
in classObjectSummary
-
withWiki
public Object withWiki(String value)
- Overrides:
withWiki
in classObjectSummary
-
withSpace
public Object withSpace(String value)
- Overrides:
withSpace
in classObjectSummary
-
withPageName
public Object withPageName(String value)
- Overrides:
withPageName
in classObjectSummary
-
withPageAuthor
public Object withPageAuthor(String value)
- Overrides:
withPageAuthor
in classObjectSummary
-
withPageAuthorName
public Object withPageAuthorName(String value)
- Overrides:
withPageAuthorName
in classObjectSummary
-
withClassName
public Object withClassName(String value)
- Overrides:
withClassName
in classObjectSummary
-
withNumber
public Object withNumber(int value)
- Overrides:
withNumber
in classObjectSummary
-
withHeadline
public Object withHeadline(String value)
- Overrides:
withHeadline
in classObjectSummary
-
withLinks
public Object withLinks(Link... values)
- Overrides:
withLinks
in classObjectSummary
-
withLinks
public Object withLinks(Collection<Link> values)
- Overrides:
withLinks
in classObjectSummary
-
-