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>
| Fields inherited from class org.xwiki.rest.model.jaxb.ObjectSummary |
className, guid, headline, id, number, pageAuthor, pageAuthorName, pageId, pageName, pageVersion, space, wiki |
| 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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
properties
protected List<Property> properties
Object
public Object()
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(Property... values)
withProperties
public Object withProperties(Collection<Property> values)
withId
public Object withId(String value)
- Overrides:
withId in class ObjectSummary
withGuid
public Object withGuid(String value)
- Overrides:
withGuid in class ObjectSummary
withPageId
public Object withPageId(String value)
- Overrides:
withPageId in class ObjectSummary
withPageVersion
public Object withPageVersion(String value)
- Overrides:
withPageVersion in class ObjectSummary
withWiki
public Object withWiki(String value)
- Overrides:
withWiki in class ObjectSummary
withSpace
public Object withSpace(String value)
- Overrides:
withSpace in class ObjectSummary
withPageName
public Object withPageName(String value)
- Overrides:
withPageName in class ObjectSummary
withPageAuthor
public Object withPageAuthor(String value)
- Overrides:
withPageAuthor in class ObjectSummary
withPageAuthorName
public Object withPageAuthorName(String value)
- Overrides:
withPageAuthorName in class ObjectSummary
withClassName
public Object withClassName(String value)
- Overrides:
withClassName in class ObjectSummary
withNumber
public Object withNumber(int value)
- Overrides:
withNumber in class ObjectSummary
withHeadline
public Object withHeadline(String value)
- Overrides:
withHeadline in class ObjectSummary
withLinks
public Object withLinks(Link... values)
- Overrides:
withLinks in class ObjectSummary
withLinks
public Object withLinks(Collection<Link> values)
- Overrides:
withLinks in class ObjectSummary
Copyright © 2004-2013 XWiki. All Rights Reserved.