DirectPositionType.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: 2016.12.07 at 02:40:39 PM CET
//

package nl.b3p.topnl.top100nl;

import java.math.BigInteger;
import java.util.ArrayList;
import java.util.List;
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;

/**
 * Direct position instances hold the coordinates for a position within some coordinate reference
 * system (CRS). Since direct positions, as data types, will often be included in larger objects
 * (such as geometry elements) that have references to CRS, the srsName attribute will in general be
 * missing, if this particular direct position is included in a larger element with such a reference
 * to a CRS. In this case, the CRS is implicitly assumed to take on the value of the containing
 * object's CRS. if no srsName attribute is given, the CRS shall be specified as part of the larger
 * context this geometry element is part of, typically a geometric object like a point, curve, etc.
 *
 * <p>Java class for DirectPositionType complex type.
 *
 * <p>The following schema fragment specifies the expected content contained within this class.
 *
 * <pre>
 * &lt;complexType name="DirectPositionType">
 *   &lt;simpleContent>
 *     &lt;extension base="&lt;http://www.opengis.net/gml/3.2>doubleList">
 *       &lt;attGroup ref="{http://www.opengis.net/gml/3.2}SRSReferenceGroup"/>
 *     &lt;/extension>
 *   &lt;/simpleContent>
 * &lt;/complexType>
 * </pre>
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(
    name = "DirectPositionType",
    propOrder = {"value"})
public class DirectPositionType {

  @XmlValue protected List<Double> value;

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

  @XmlAttribute(name = "srsDimension")
  @XmlSchemaType(name = "positiveInteger")
  protected BigInteger srsDimension;

  @XmlAttribute(name = "axisLabels")
  protected List<String> axisLabels;

  @XmlAttribute(name = "uomLabels")
  protected List<String> uomLabels;

  /**
   * A type for a list of values of the respective simple type.Gets the value of the value property.
   *
   * <p>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 <CODE>set</CODE> method for the value property.
   *
   * <p>For example, to add a new item, do as follows:
   *
   * <pre>
   *    getValue().add(newItem);
   * </pre>
   *
   * <p>Objects of the following type(s) are allowed in the list {@link Double }
   */
  public List<Double> getValue() {
    if (value == null) {
      value = new ArrayList<Double>();
    }
    return this.value;
  }

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

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

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

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

  /**
   * Gets the value of the axisLabels property.
   *
   * <p>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 <CODE>set</CODE> method for the axisLabels property.
   *
   * <p>For example, to add a new item, do as follows:
   *
   * <pre>
   *    getAxisLabels().add(newItem);
   * </pre>
   *
   * <p>Objects of the following type(s) are allowed in the list {@link String }
   */
  public List<String> getAxisLabels() {
    if (axisLabels == null) {
      axisLabels = new ArrayList<String>();
    }
    return this.axisLabels;
  }

  /**
   * Gets the value of the uomLabels property.
   *
   * <p>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 <CODE>set</CODE> method for the uomLabels property.
   *
   * <p>For example, to add a new item, do as follows:
   *
   * <pre>
   *    getUomLabels().add(newItem);
   * </pre>
   *
   * <p>Objects of the following type(s) are allowed in the list {@link String }
   */
  public List<String> getUomLabels() {
    if (uomLabels == null) {
      uomLabels = new ArrayList<String>();
    }
    return this.uomLabels;
  }
}