Class CodeListType


  • public class CodeListType
    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. 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 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>NameList">
           <attribute name="codeSpace" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
         </extension>
       </simpleContent>
     </complexType>
     
    • Constructor Detail

      • CodeListType

        public CodeListType()
        Default no-arg constructor
      • CodeListType

        public CodeListType​(List<String> value,
                            String codeSpace)
        Fully-initialising value constructor
    • Method Detail

      • getValue

        public List<String> getValue()
        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.

        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

      • getCodeSpace

        public String getCodeSpace()
        Gets the value of the codeSpace property.
        Returns:
        possible object is String
      • setCodeSpace

        public void setCodeSpace​(String value)
        Sets the value of the codeSpace property.
        Parameters:
        value - allowed object is String