|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.xwiki.extension.repository.xwiki.model.jaxb.LinkCollection
org.xwiki.extension.repository.xwiki.model.jaxb.Extensions
public class Extensions
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="extensionSummary" type="{http://www.xwiki.org/extension}ExtensionSummary" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected List<ExtensionSummary> |
extensionSummaries
|
protected int |
offset
|
protected int |
totalHits
|
| Fields inherited from class org.xwiki.extension.repository.xwiki.model.jaxb.LinkCollection |
|---|
links |
| Constructor Summary | |
|---|---|
Extensions()
|
|
| Method Summary | |
|---|---|
List<ExtensionSummary> |
getExtensionSummaries()
Gets the value of the extensionSummaries 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. |
Extensions |
withExtensionSummaries(Collection<ExtensionSummary> values)
|
Extensions |
withExtensionSummaries(ExtensionSummary... values)
|
Extensions |
withLinks(Collection<Link> values)
|
Extensions |
withLinks(Link... values)
|
Extensions |
withOffset(int value)
|
Extensions |
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 |
|---|
protected int totalHits
protected int offset
protected List<ExtensionSummary> extensionSummaries
| Constructor Detail |
|---|
public Extensions()
| Method Detail |
|---|
public int getTotalHits()
public void setTotalHits(int value)
public int getOffset()
public void setOffset(int value)
public List<ExtensionSummary> getExtensionSummaries()
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 extensionSummaries property.
For example, to add a new item, do as follows:
getExtensionSummaries().add(newItem);
Objects of the following type(s) are allowed in the list
ExtensionSummary
public Extensions withTotalHits(int value)
public Extensions withOffset(int value)
public Extensions withExtensionSummaries(ExtensionSummary... values)
public Extensions withExtensionSummaries(Collection<ExtensionSummary> values)
public Extensions withLinks(Link... values)
withLinks in class LinkCollectionpublic Extensions withLinks(Collection<Link> values)
withLinks in class LinkCollection
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||