public class LanguageUsageStructure extends Object
Java class for LanguageUsageStructure complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="LanguageUsageStructure">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="Language" type="{http://www.w3.org/2001/XMLSchema}language"/>
<element name="LanguageUse" type="{http://www.netex.org.uk/netex}LanguageUseListOfEnumerations"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
language |
protected List<LanguageUseEnumeration> |
languageUse |
| Constructor and Description |
|---|
LanguageUsageStructure() |
| Modifier and Type | Method and Description |
|---|---|
String |
getLanguage()
Gets the value of the language property.
|
List<LanguageUseEnumeration> |
getLanguageUse()
Gets the value of the languageUse property.
|
void |
setLanguage(String value)
Sets the value of the language property.
|
String |
toString()
Generates a String representation of the contents of this type.
|
LanguageUsageStructure |
withLanguage(String value) |
LanguageUsageStructure |
withLanguageUse(Collection<LanguageUseEnumeration> values) |
LanguageUsageStructure |
withLanguageUse(LanguageUseEnumeration... values) |
protected String language
protected List<LanguageUseEnumeration> languageUse
public String getLanguage()
Stringpublic void setLanguage(String value)
value - allowed object is
Stringpublic List<LanguageUseEnumeration> getLanguageUse()
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 languageUse property.
For example, to add a new item, do as follows:
getLanguageUse().add(newItem);
Objects of the following type(s) are allowed in the list
LanguageUseEnumeration
public LanguageUsageStructure withLanguage(String value)
public LanguageUsageStructure withLanguageUse(LanguageUseEnumeration... values)
public LanguageUsageStructure withLanguageUse(Collection<LanguageUseEnumeration> values)
Copyright © 2018 Entur AS. All rights reserved.