Package nl.b3p.csw.jaxb.gml
Class CodeOrNullListType
- java.lang.Object
-
- nl.b3p.csw.jaxb.gml.CodeOrNullListType
-
public class CodeOrNullListType extends Object
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. A member of the list may be a typed null. If a codeSpace attribute is present, then its value is a reference to a Reference System for the value, a dictionary or code list.Java class for CodeOrNullListType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CodeOrNullListType"> <simpleContent> <extension base="<http://www.opengis.net/gml>NameOrNullList"> <attribute name="codeSpace" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> </extension> </simpleContent> </complexType>
-
-
Constructor Summary
Constructors Constructor Description CodeOrNullListType()Default no-arg constructorCodeOrNullListType(List<String> value, String codeSpace)Fully-initialising value constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCodeSpace()Gets the value of the codeSpace property.List<String>getValue()XML List based on the union type defined above.voidsetCodeSpace(String value)Sets the value of the codeSpace property.
-
-
-
Method Detail
-
getValue
public List<String> getValue()
XML List based on the union type defined above. An element declared with this type contains a space-separated list of Name values with null values interspersed as needed Gets the value of the value property.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
setmethod 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
-
getCodeSpace
public String getCodeSpace()
Gets the value of the codeSpace property.- Returns:
- possible object is
String
-
-