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

java.lang.Object
  extended by org.xwiki.extension.repository.xwiki.model.jaxb.LinkCollection
      extended by org.xwiki.extension.repository.xwiki.model.jaxb.ExtensionSummary
          extended by org.xwiki.extension.repository.xwiki.model.jaxb.AbstractExtension
Direct Known Subclasses:
Extension, ExtensionVersion

public class AbstractExtension
extends ExtensionSummary

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()
           
 
Method Summary
 List<ExtensionAuthor> getAuthors()
          Gets the value of the authors property.
 String getDescription()
          Gets the value of the description property.
 List<String> getFeatures()
          Gets the value of the features property.
 List<License> getLicenses()
          Gets the value of the licenses property.
 String getSummary()
          Gets the value of the summary property.
 String getWebsite()
          Gets the value of the website property.
 void setDescription(String value)
          Sets the value of the description property.
 void setSummary(String value)
          Sets the value of the summary property.
 void setWebsite(String value)
          Sets the value of the website property.
 AbstractExtension withAuthors(Collection<ExtensionAuthor> values)
           
 AbstractExtension withAuthors(ExtensionAuthor... values)
           
 AbstractExtension withDescription(String value)
           
 AbstractExtension withFeatures(Collection<String> values)
           
 AbstractExtension withFeatures(String... values)
           
 AbstractExtension withId(String value)
           
 AbstractExtension withLicenses(Collection<License> values)
           
 AbstractExtension withLicenses(License... values)
           
 AbstractExtension withLinks(Collection<Link> values)
           
 AbstractExtension withLinks(Link... values)
           
 AbstractExtension withName(String value)
           
 AbstractExtension withSummary(String value)
           
 AbstractExtension withType(String value)
           
 AbstractExtension withWebsite(String value)
           
 
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

summary

protected String summary

description

protected String description

licenses

protected List<License> licenses

website

protected String website

authors

protected List<ExtensionAuthor> authors

features

protected List<String> features
Constructor Detail

AbstractExtension

public AbstractExtension()
Method Detail

getSummary

public String getSummary()
Gets the value of the summary property.

Returns:
possible object is String

setSummary

public void setSummary(String value)
Sets the value of the summary property.

Parameters:
value - allowed object is String

getDescription

public String getDescription()
Gets the value of the description property.

Returns:
possible object is String

setDescription

public void setDescription(String value)
Sets the value of the description property.

Parameters:
value - allowed object is String

getLicenses

public List<License> getLicenses()
Gets the value of the licenses 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 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


getWebsite

public String getWebsite()
Gets the value of the website property.

Returns:
possible object is String

setWebsite

public void setWebsite(String value)
Sets the value of the website property.

Parameters:
value - allowed object is String

getAuthors

public List<ExtensionAuthor> getAuthors()
Gets the value of the authors 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 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


getFeatures

public List<String> getFeatures()
Gets the value of the features 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 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


withSummary

public AbstractExtension withSummary(String value)

withDescription

public AbstractExtension withDescription(String value)

withLicenses

public AbstractExtension withLicenses(License... values)

withLicenses

public AbstractExtension withLicenses(Collection<License> values)

withWebsite

public AbstractExtension withWebsite(String value)

withAuthors

public AbstractExtension withAuthors(ExtensionAuthor... values)

withAuthors

public AbstractExtension withAuthors(Collection<ExtensionAuthor> values)

withFeatures

public AbstractExtension withFeatures(String... values)

withFeatures

public AbstractExtension withFeatures(Collection<String> values)

withId

public AbstractExtension withId(String value)
Overrides:
withId in class ExtensionSummary

withName

public AbstractExtension withName(String value)
Overrides:
withName in class ExtensionSummary

withType

public AbstractExtension withType(String value)
Overrides:
withType in class ExtensionSummary

withLinks

public AbstractExtension withLinks(Link... values)
Overrides:
withLinks in class ExtensionSummary

withLinks

public AbstractExtension withLinks(Collection<Link> values)
Overrides:
withLinks in class ExtensionSummary


Copyright © 2004-2013 XWiki. All Rights Reserved.