org.xwiki.extension.repository.xwiki.model.jaxb
Class ExtensionVersions

java.lang.Object
  extended by org.xwiki.extension.repository.xwiki.model.jaxb.LinkCollection
      extended by org.xwiki.extension.repository.xwiki.model.jaxb.ExtensionVersions

public class ExtensionVersions
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/extension}LinkCollection">
       <sequence>
         <element name="totalHits" type="{http://www.w3.org/2001/XMLSchema}int"/>
         <element name="offset" type="{http://www.w3.org/2001/XMLSchema}int"/>
         <element name="extensionVersionSummary" type="{http://www.xwiki.org/extension}ExtensionVersionSummary" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<ExtensionVersionSummary> extensionVersionSummaries
           
protected  int offset
           
protected  int totalHits
           
 
Fields inherited from class org.xwiki.extension.repository.xwiki.model.jaxb.LinkCollection
links
 
Constructor Summary
ExtensionVersions()
           
 
Method Summary
 List<ExtensionVersionSummary> getExtensionVersionSummaries()
          Gets the value of the extensionVersionSummaries property.
 int getOffset()
          Gets the value of the offset property.
 int getTotalHits()
          Gets the value of the totalHits property.
 void setOffset(int value)
          Sets the value of the offset property.
 void setTotalHits(int value)
          Sets the value of the totalHits property.
 ExtensionVersions withExtensionVersionSummaries(Collection<ExtensionVersionSummary> values)
           
 ExtensionVersions withExtensionVersionSummaries(ExtensionVersionSummary... values)
           
 ExtensionVersions withLinks(Collection<Link> values)
           
 ExtensionVersions withLinks(Link... values)
           
 ExtensionVersions withOffset(int value)
           
 ExtensionVersions withTotalHits(int value)
           
 
Methods inherited from class org.xwiki.extension.repository.xwiki.model.jaxb.LinkCollection
getLinks
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

totalHits

protected int totalHits

offset

protected int offset

extensionVersionSummaries

protected List<ExtensionVersionSummary> extensionVersionSummaries
Constructor Detail

ExtensionVersions

public ExtensionVersions()
Method Detail

getTotalHits

public int getTotalHits()
Gets the value of the totalHits property.


setTotalHits

public void setTotalHits(int value)
Sets the value of the totalHits property.


getOffset

public int getOffset()
Gets the value of the offset property.


setOffset

public void setOffset(int value)
Sets the value of the offset property.


getExtensionVersionSummaries

public List<ExtensionVersionSummary> getExtensionVersionSummaries()
Gets the value of the extensionVersionSummaries 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 extensionVersionSummaries property.

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

    getExtensionVersionSummaries().add(newItem);
 

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


withTotalHits

public ExtensionVersions withTotalHits(int value)

withOffset

public ExtensionVersions withOffset(int value)

withExtensionVersionSummaries

public ExtensionVersions withExtensionVersionSummaries(ExtensionVersionSummary... values)

withExtensionVersionSummaries

public ExtensionVersions withExtensionVersionSummaries(Collection<ExtensionVersionSummary> values)

withLinks

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

withLinks

public ExtensionVersions withLinks(Collection<Link> values)
Overrides:
withLinks in class LinkCollection


Copyright © 2004-2013 XWiki. All Rights Reserved.