public class CodeListType extends Object
Java class for CodeListType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CodeListType">
<simpleContent>
<extension base="<http://www.opengis.net/gml/3.2>NameList">
<attribute name="codeSpace" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
</extension>
</simpleContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
codeSpace |
protected List<String> |
value |
| Constructor and Description |
|---|
CodeListType() |
| Modifier and Type | Method and Description |
|---|---|
String |
getCodeSpace()
Gets the value of the codeSpace property.
|
List<String> |
getValue()
A type for a list of values of the respective simple type.Gets the value of the value property.
|
void |
setCodeSpace(String value)
Sets the value of the codeSpace property.
|
String |
toString()
Generates a String representation of the contents of this type.
|
CodeListType |
withCodeSpace(String value) |
CodeListType |
withValue(Collection<String> values) |
CodeListType |
withValue(String... values) |
public List<String> getValue()
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 value property.
For example, to add a new item, do as follows:
getValue().add(newItem);
Objects of the following type(s) are allowed in the list
String
public String getCodeSpace()
Stringpublic void setCodeSpace(String value)
value - allowed object is
Stringpublic CodeListType withValue(String... values)
public CodeListType withValue(Collection<String> values)
public CodeListType withCodeSpace(String value)
Copyright © 2018 Entur AS. All rights reserved.