//
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 generiert
// Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Änderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren.
// Generiert: 2016.08.10 um 09:13:50 PM CEST
//
package net.opengis.gml;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.XmlValue;
/**
* List of values on a uniform nominal scale. List of text tokens.
* In a list context a token should not include any spaces, so xsd:Name is used instead of xsd:string.
* If a codeSpace attribute is present, then its value is a reference to
* a Reference System for the value, a dictionary or code list.
*
* <p>Java-Klasse für CodeListType complex type.
*
* <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
* <pre>
* <complexType name="CodeListType">
* <simpleContent>
* <extension base="<http://www.opengis.net/gml>NameList">
* <attribute name="codeSpace" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
* </extension>
* </simpleContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CodeListType", propOrder = {
"value"
})
public class CodeListType {
@XmlValue
protected List<String> value;
@XmlAttribute(name = "codeSpace")
@XmlSchemaType(name = "anyURI")
protected String codeSpace;
/**
* XML List based on XML Schema Name type. An element of this type contains a space-separated list of Name values Gets the value of the value property.
*
* <p>
* 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 <CODE>set</CODE> method for the value property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getValue().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List<String> getValue() {
if (value == null) {
value = new ArrayList<String>();
}
return this.value;
}
public boolean isSetValue() {
return ((this.value!= null)&&(!this.value.isEmpty()));
}
public void unsetValue() {
this.value = null;
}
/**
* Ruft den Wert der codeSpace-Eigenschaft ab.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCodeSpace() {
return codeSpace;
}
/**
* Legt den Wert der codeSpace-Eigenschaft fest.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCodeSpace(String value) {
this.codeSpace = value;
}
public boolean isSetCodeSpace() {
return (this.codeSpace!= null);
}
public void setValue(List<String> value) {
this.value = value;
}
}