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>
Modifier and Type | Field and Description |
---|---|
protected String |
language |
links
Constructor and Description |
---|
Translation() |
Modifier and Type | Method and Description |
---|---|
String |
getLanguage()
Gets the value of the language property.
|
void |
setLanguage(String value)
Sets the value of the language property.
|
Translation |
withLanguage(String value) |
Translation |
withLinks(Collection<Link> values) |
Translation |
withLinks(Link... values) |
getLinks
protected String language
public String getLanguage()
String
public void setLanguage(String value)
value
- allowed object is
String
public Translation withLanguage(String value)
public Translation withLinks(Link... values)
withLinks
in class LinkCollection
public Translation withLinks(Collection<Link> values)
withLinks
in class LinkCollection
Copyright © 2004–2021 XWiki. All rights reserved.