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>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
language
protected String language
Translation
public Translation()
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 is
String
withLanguage
public Translation withLanguage(String value)
withLinks
public Translation withLinks(Link... values)
- Overrides:
withLinks in class LinkCollection
withLinks
public Translation withLinks(Collection<Link> values)
- Overrides:
withLinks in class LinkCollection
Copyright © 2004-2013 XWiki. All Rights Reserved.