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  java.util.List<Property> properties
           
 
Fields inherited from class org.xwiki.rest.model.jaxb.ObjectSummary
className, guid, headline, id, number, pageId, pageName, space, wiki
 
Fields inherited from class org.xwiki.rest.model.jaxb.LinkCollection
links
 
Constructor Summary
Object()
           
 
Method Summary
 java.util.List<Property> getProperties()
          Gets the value of the properties property.
 Object withClassName(java.lang.String value)
           
 Object withGuid(java.lang.String value)
           
 Object withHeadline(java.lang.String value)
           
 Object withId(java.lang.String value)
           
 Object withLinks(java.util.Collection<Link> values)
           
 Object withLinks(Link... values)
           
 Object withNumber(int value)
           
 Object withPageId(java.lang.String value)
           
 Object withPageName(java.lang.String value)
           
 Object withProperties(java.util.Collection<Property> values)
           
 Object withProperties(Property... values)
           
 Object withSpace(java.lang.String value)
           
 Object withWiki(java.lang.String value)
           
 
Methods inherited from class org.xwiki.rest.model.jaxb.ObjectSummary
getClassName, getGuid, getHeadline, getId, getNumber, getPageId, getPageName, getSpace, getWiki, setClassName, setGuid, setHeadline, setId, setNumber, setPageId, setPageName, 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 java.util.List<Property> properties
Constructor Detail

Object

public Object()
Method Detail

getProperties

public java.util.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(java.util.Collection<Property> values)

withId

public Object withId(java.lang.String value)
Overrides:
withId in class ObjectSummary

withGuid

public Object withGuid(java.lang.String value)
Overrides:
withGuid in class ObjectSummary

withPageId

public Object withPageId(java.lang.String value)
Overrides:
withPageId in class ObjectSummary

withWiki

public Object withWiki(java.lang.String value)
Overrides:
withWiki in class ObjectSummary

withSpace

public Object withSpace(java.lang.String value)
Overrides:
withSpace in class ObjectSummary

withPageName

public Object withPageName(java.lang.String value)
Overrides:
withPageName in class ObjectSummary

withClassName

public Object withClassName(java.lang.String value)
Overrides:
withClassName in class ObjectSummary

withNumber

public Object withNumber(int value)
Overrides:
withNumber in class ObjectSummary

withHeadline

public Object withHeadline(java.lang.String value)
Overrides:
withHeadline in class ObjectSummary

withLinks

public Object withLinks(Link... values)
Overrides:
withLinks in class ObjectSummary

withLinks

public Object withLinks(java.util.Collection<Link> values)
Overrides:
withLinks in class ObjectSummary


Copyright © 2004-2010 XWiki. All Rights Reserved.