Package org.xwiki.rest.model.jaxb
Class Translation
- java.lang.Object
-
- org.xwiki.rest.model.jaxb.LinkCollection
-
- org.xwiki.rest.model.jaxb.Translation
-
public class Translation extends LinkCollection
Java class for Translation complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Translation"> <complexContent> <extension base="{http://www.xwiki.org}LinkCollection"> <attribute name="language" type="{http://www.w3.org/2001/XMLSchema}string" /> </extension> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected Stringlanguage-
Fields inherited from class org.xwiki.rest.model.jaxb.LinkCollection
links
-
-
Constructor Summary
Constructors Constructor Description Translation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetLanguage()Gets the value of the language property.voidsetLanguage(String value)Sets the value of the language property.TranslationwithLanguage(String value)TranslationwithLinks(Collection<Link> values)TranslationwithLinks(Link... values)-
Methods inherited from class org.xwiki.rest.model.jaxb.LinkCollection
getLinks
-
-
-
-
Field Detail
-
language
protected String language
-
-
Method Detail
-
getLanguage
public String getLanguage()
Gets the value of the language property.- Returns:
- possible object is
String
-
setLanguage
public void setLanguage(String value)
Sets the value of the language property.- Parameters:
value- allowed object isString
-
withLanguage
public Translation withLanguage(String value)
-
withLinks
public Translation withLinks(Link... values)
- Overrides:
withLinksin classLinkCollection
-
withLinks
public Translation withLinks(Collection<Link> values)
- Overrides:
withLinksin classLinkCollection
-
-