org.xwiki.rest.model.jaxb
Class Object

java.lang.Object
  extended by org.xwiki.rest.model.jaxb.LinkCollection
      extended by org.xwiki.rest.model.jaxb.ObjectSummary
          extended by 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
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
Object()
           
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

properties

protected List<Property> properties
Constructor Detail

Object

public Object()
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(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.