Package net.opengis.gml._3
Class CodeListType
- java.lang.Object
-
- net.opengis.gml._3.CodeListType
-
- All Implemented Interfaces:
Serializable
public class CodeListType extends Object implements Serializable
gml:CodeListType provides for lists of terms. The values in an instance element shall all be valid according to the rules of the dictionary, classification scheme, or authority identified by the value of its codeSpace attribute.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>- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CodeListType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCodeSpace()Gets the value of the codeSpace property.List<String>getValues()A type for a list of values of the respective simple type.Gets the value of the values property.voidsetCodeSpace(String value)Sets the value of the codeSpace property.
-
-
-
Method Detail
-
getValues
public List<String> getValues()
A type for a list of values of the respective simple type.Gets the value of the values 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 Jakarta XML Binding object. This is why there is not a
setmethod for the values property.For example, to add a new item, do as follows:
getValues().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
-
-