org.xwiki.rest.model.jaxb
Class Objects

java.lang.Object
  extended by org.xwiki.rest.model.jaxb.LinkCollection
      extended by org.xwiki.rest.model.jaxb.Objects

public class Objects
extends LinkCollection

Java class for anonymous complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType>
   <complexContent>
     <extension base="{http://www.xwiki.org}LinkCollection">
       <sequence>
         <element name="objectSummary" type="{http://www.xwiki.org}ObjectSummary" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.util.List<ObjectSummary> objectSummaries
           
 
Fields inherited from class org.xwiki.rest.model.jaxb.LinkCollection
links
 
Constructor Summary
Objects()
           
 
Method Summary
 java.util.List<ObjectSummary> getObjectSummaries()
          Gets the value of the objectSummaries property.
 Objects withLinks(java.util.Collection<Link> values)
           
 Objects withLinks(Link... values)
           
 Objects withObjectSummaries(java.util.Collection<ObjectSummary> values)
           
 Objects withObjectSummaries(ObjectSummary... values)
           
 
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

objectSummaries

protected java.util.List<ObjectSummary> objectSummaries
Constructor Detail

Objects

public Objects()
Method Detail

getObjectSummaries

public java.util.List<ObjectSummary> getObjectSummaries()
Gets the value of the objectSummaries 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 objectSummaries property.

For example, to add a new item, do as follows:

    getObjectSummaries().add(newItem);
 

Objects of the following type(s) are allowed in the list ObjectSummary


withObjectSummaries

public Objects withObjectSummaries(ObjectSummary... values)

withObjectSummaries

public Objects withObjectSummaries(java.util.Collection<ObjectSummary> values)

withLinks

public Objects withLinks(Link... values)
Overrides:
withLinks in class LinkCollection

withLinks

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


Copyright © 2004-2009 XWiki. All Rights Reserved.