Class CodeType

  • All Implemented Interfaces:
    Serializable
    Direct Known Subclasses:
    Identifier

    public class CodeType
    extends Object
    implements Serializable
    gml:CodeType is a generalized type to be used for a term, keyword or name. It adds a XML attribute codeSpace to a term, where the value of the codeSpace attribute (if present) shall indicate a dictionary, thesaurus, classification scheme, authority, or pattern for the term.

    Java class for CodeType complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType name="CodeType">
       <simpleContent>
         <extension base="<http://www.w3.org/2001/XMLSchema>string">
           <attribute name="codeSpace" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
         </extension>
       </simpleContent>
     </complexType>
     
    See Also:
    Serialized Form
    • Field Detail

      • value

        protected String value
      • codeSpace

        protected String codeSpace
    • Constructor Detail

      • CodeType

        public CodeType()
    • Method Detail

      • getValue

        public String getValue()
        Gets the value of the value property.
        Returns:
        possible object is String
      • setValue

        public void setValue​(String value)
        Sets the value of the value property.
        Parameters:
        value - allowed object is 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