Class CodeType


  • public class CodeType
    extends Object
    Name or code with an (optional) authority. Text token. If the codeSpace attribute is present, then its value should identify a dictionary, thesaurus or authority for the term, such as the organisation who assigned the value, or the dictionary from which it is taken. A text string with an optional codeSpace attribute.

    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>
     
    • Field Detail

      • value

        protected String value
      • codeSpace

        protected String codeSpace
    • Constructor Detail

      • CodeType

        public CodeType()
        Default no-arg constructor
      • CodeType

        public CodeType​(String value,
                        String codeSpace)
        Fully-initialising value constructor
    • 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