CodeType.java

//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference
// Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2017.01.10 at 11:33:39 AM CET
//

package nl.b3p.topnl.top10nl;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.XmlValue;

/**
 * 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.
 *
 * <p>Java class for CodeType complex type.
 *
 * <p>The following schema fragment specifies the expected content contained within this class.
 *
 * <pre>
 * &lt;complexType name="CodeType">
 *   &lt;simpleContent>
 *     &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema>string">
 *       &lt;attribute name="codeSpace" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
 *     &lt;/extension>
 *   &lt;/simpleContent>
 * &lt;/complexType>
 * </pre>
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(
    name = "CodeType",
    propOrder = {"value"})
public class CodeType {

  @XmlValue protected String value;

  @XmlAttribute(name = "codeSpace")
  @XmlSchemaType(name = "anyURI")
  protected String codeSpace;

  /**
   * Gets the value of the value property.
   *
   * @return possible object is {@link String }
   */
  public String getValue() {
    return value;
  }

  /**
   * Sets the value of the value property.
   *
   * @param value allowed object is {@link String }
   */
  public void setValue(String value) {
    this.value = value;
  }

  /**
   * Gets the value of the codeSpace property.
   *
   * @return possible object is {@link String }
   */
  public String getCodeSpace() {
    return codeSpace;
  }

  /**
   * Sets the value of the codeSpace property.
   *
   * @param value allowed object is {@link String }
   */
  public void setCodeSpace(String value) {
    this.codeSpace = value;
  }
}