package de.ivu.elect.interfaces.gebietgeometrie;

import java.io.Serializable;
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.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;

/**
 */
@XmlRootElement
@XmlAccessorType(XmlAccessType.FIELD)
public class GebietGeometrie implements Serializable {

  @XmlElementWrapper(name = "gebietPolygonPoints", nillable = false, required = true)
  @XmlElement(required = false, name = "gebietPolygonPoint", nillable = true)
  private List<GebietPolygonPoint> gebietPolygonPoints = new ArrayList<>();

  public List<GebietPolygonPoint> getGebietPolygonPoints() {
    return gebietPolygonPoints;
  }

  public void setGebietPolygonPoints(List<GebietPolygonPoint> gebietPolygonPoints) {
    this.gebietPolygonPoints = gebietPolygonPoints;
  }
}
