public class Translations extends LinkCollection
Java class for Translations complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Translations">
<complexContent>
<extension base="{http://www.xwiki.org}LinkCollection">
<sequence>
<element name="translation" type="{http://www.xwiki.org}Translation" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="default" type="{http://www.w3.org/2001/XMLSchema}string" />
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
_default |
protected List<Translation> |
translations |
links| Constructor and Description |
|---|
Translations() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDefault()
Gets the value of the default property.
|
List<Translation> |
getTranslations()
Gets the value of the translations property.
|
void |
setDefault(String value)
Sets the value of the default property.
|
getLinksprotected List<Translation> translations
protected String _default
public List<Translation> getTranslations()
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 translations property.
For example, to add a new item, do as follows:
getTranslations().add(newItem);
Objects of the following type(s) are allowed in the list
Translation
public String getDefault()
StringCopyright © 2003–2014 eXo Platform SAS. All rights reserved.