|
|||||||||
| 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.ExtensionSummary
org.xwiki.extension.repository.xwiki.model.jaxb.AbstractExtension
public class AbstractExtension
Java class for AbstractExtension complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AbstractExtension">
<complexContent>
<extension base="{http://www.xwiki.org/extension}ExtensionSummary">
<sequence>
<element name="summary" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="licenses" type="{http://www.xwiki.org/extension}License" maxOccurs="unbounded" minOccurs="0"/>
<element name="website" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="authors" type="{http://www.xwiki.org/extension}ExtensionAuthor" maxOccurs="unbounded" minOccurs="0"/>
<element name="features" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected List<ExtensionAuthor> |
authors
|
protected String |
description
|
protected List<String> |
features
|
protected List<License> |
licenses
|
protected String |
summary
|
protected String |
website
|
| Fields inherited from class org.xwiki.extension.repository.xwiki.model.jaxb.ExtensionSummary |
|---|
id, name, type |
| Fields inherited from class org.xwiki.extension.repository.xwiki.model.jaxb.LinkCollection |
|---|
links |
| Constructor Summary | |
|---|---|
AbstractExtension()
|
|
| Methods inherited from class org.xwiki.extension.repository.xwiki.model.jaxb.ExtensionSummary |
|---|
getId, getName, getType, setId, setName, setType |
| 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 String summary
protected String description
protected List<License> licenses
protected String website
protected List<ExtensionAuthor> authors
protected List<String> features
| Constructor Detail |
|---|
public AbstractExtension()
| Method Detail |
|---|
public String getSummary()
Stringpublic void setSummary(String value)
value - allowed object is
Stringpublic String getDescription()
Stringpublic void setDescription(String value)
value - allowed object is
Stringpublic List<License> getLicenses()
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 licenses property.
For example, to add a new item, do as follows:
getLicenses().add(newItem);
Objects of the following type(s) are allowed in the list
License
public String getWebsite()
Stringpublic void setWebsite(String value)
value - allowed object is
Stringpublic List<ExtensionAuthor> getAuthors()
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 authors property.
For example, to add a new item, do as follows:
getAuthors().add(newItem);
Objects of the following type(s) are allowed in the list
ExtensionAuthor
public List<String> getFeatures()
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 features property.
For example, to add a new item, do as follows:
getFeatures().add(newItem);
Objects of the following type(s) are allowed in the list
String
public AbstractExtension withSummary(String value)
public AbstractExtension withDescription(String value)
public AbstractExtension withLicenses(License... values)
public AbstractExtension withLicenses(Collection<License> values)
public AbstractExtension withWebsite(String value)
public AbstractExtension withAuthors(ExtensionAuthor... values)
public AbstractExtension withAuthors(Collection<ExtensionAuthor> values)
public AbstractExtension withFeatures(String... values)
public AbstractExtension withFeatures(Collection<String> values)
public AbstractExtension withId(String value)
withId in class ExtensionSummarypublic AbstractExtension withName(String value)
withName in class ExtensionSummarypublic AbstractExtension withType(String value)
withType in class ExtensionSummarypublic AbstractExtension withLinks(Link... values)
withLinks in class ExtensionSummarypublic AbstractExtension withLinks(Collection<Link> values)
withLinks in class ExtensionSummary
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||