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>
Modifier and Type | Field and Description |
---|---|
protected List<Property> |
properties |
className, guid, headline, id, number, pageAuthor, pageAuthorName, pageId, pageName, pageVersion, space, wiki
links
Constructor and Description |
---|
Object() |
Modifier and Type | Method and 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) |
getClassName, getGuid, getHeadline, getId, getNumber, getPageAuthor, getPageAuthorName, getPageId, getPageName, getPageVersion, getSpace, getWiki, setClassName, setGuid, setHeadline, setId, setNumber, setPageAuthor, setPageAuthorName, setPageId, setPageName, setPageVersion, setSpace, setWiki
getLinks
public List<Property> getProperties()
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
public Object withProperties(Collection<Property> values)
public Object withId(String value)
withId
in class ObjectSummary
public Object withGuid(String value)
withGuid
in class ObjectSummary
public Object withPageId(String value)
withPageId
in class ObjectSummary
public Object withPageVersion(String value)
withPageVersion
in class ObjectSummary
public Object withWiki(String value)
withWiki
in class ObjectSummary
public Object withSpace(String value)
withSpace
in class ObjectSummary
public Object withPageName(String value)
withPageName
in class ObjectSummary
public Object withPageAuthor(String value)
withPageAuthor
in class ObjectSummary
public Object withPageAuthorName(String value)
withPageAuthorName
in class ObjectSummary
public Object withClassName(String value)
withClassName
in class ObjectSummary
public Object withNumber(int value)
withNumber
in class ObjectSummary
public Object withHeadline(String value)
withHeadline
in class ObjectSummary
public Object withLinks(Link... values)
withLinks
in class ObjectSummary
public Object withLinks(Collection<Link> values)
withLinks
in class ObjectSummary
Copyright © 2004–2021 XWiki. All rights reserved.