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.ObjectwithClassName(String value)ObjectwithGuid(String value)ObjectwithHeadline(String value)ObjectwithId(String value)ObjectwithLinks(Collection<Link> values)ObjectwithLinks(Link... values)ObjectwithNumber(int value)ObjectwithPageAuthor(String value)ObjectwithPageAuthorName(String value)ObjectwithPageId(String value)ObjectwithPageName(String value)ObjectwithPageVersion(String value)ObjectwithProperties(Collection<Property> values)ObjectwithProperties(Property... values)ObjectwithSpace(String value)ObjectwithWiki(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
setmethod 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:
withIdin classObjectSummary
-
withGuid
public Object withGuid(String value)
- Overrides:
withGuidin classObjectSummary
-
withPageId
public Object withPageId(String value)
- Overrides:
withPageIdin classObjectSummary
-
withPageVersion
public Object withPageVersion(String value)
- Overrides:
withPageVersionin classObjectSummary
-
withWiki
public Object withWiki(String value)
- Overrides:
withWikiin classObjectSummary
-
withSpace
public Object withSpace(String value)
- Overrides:
withSpacein classObjectSummary
-
withPageName
public Object withPageName(String value)
- Overrides:
withPageNamein classObjectSummary
-
withPageAuthor
public Object withPageAuthor(String value)
- Overrides:
withPageAuthorin classObjectSummary
-
withPageAuthorName
public Object withPageAuthorName(String value)
- Overrides:
withPageAuthorNamein classObjectSummary
-
withClassName
public Object withClassName(String value)
- Overrides:
withClassNamein classObjectSummary
-
withNumber
public Object withNumber(int value)
- Overrides:
withNumberin classObjectSummary
-
withHeadline
public Object withHeadline(String value)
- Overrides:
withHeadlinein classObjectSummary
-
withLinks
public Object withLinks(Link... values)
- Overrides:
withLinksin classObjectSummary
-
withLinks
public Object withLinks(Collection<Link> values)
- Overrides:
withLinksin classObjectSummary
-
-