Coverage Report - net.opengis.gml.PolygonType
 
Classes in this File Line Coverage Branch Coverage Complexity
PolygonType
0% 
0% 
0
 
 1  
 //
 2  
 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.5-b01-fcs 
 3  
 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
 4  
 // Any modifications to this file will be lost upon recompilation of the source schema. 
 5  
 // Generated on: 2008.06.11 at 12:15:46 AM EDT 
 6  
 //
 7  
 
 8  
 
 9  
 package net.opengis.gml;
 10  
 
 11  
 import java.util.ArrayList;
 12  
 import java.util.List;
 13  
 import javax.xml.bind.annotation.XmlAccessType;
 14  
 import javax.xml.bind.annotation.XmlAccessorType;
 15  
 import javax.xml.bind.annotation.XmlType;
 16  
 
 17  
 
 18  
 /**
 19  
  * A Polygon is a special surface that is defined by a single surface patch. The boundary of this patch is coplanar and the polygon uses planar interpolation in its interior. It is backwards compatible with the Polygon of GML 2, GM_Polygon of ISO 19107 is implemented by PolygonPatch.
 20  
  * 
 21  
  * <p>Java class for PolygonType complex type.
 22  
  * 
 23  
  * <p>The following schema fragment specifies the expected content contained within this class.
 24  
  * 
 25  
  * <pre>
 26  
  * &lt;complexType name="PolygonType">
 27  
  *   &lt;complexContent>
 28  
  *     &lt;extension base="{http://www.opengis.net/gml}AbstractSurfaceType">
 29  
  *       &lt;sequence>
 30  
  *         &lt;element ref="{http://www.opengis.net/gml}exterior" minOccurs="0"/>
 31  
  *         &lt;element ref="{http://www.opengis.net/gml}interior" maxOccurs="unbounded" minOccurs="0"/>
 32  
  *       &lt;/sequence>
 33  
  *     &lt;/extension>
 34  
  *   &lt;/complexContent>
 35  
  * &lt;/complexType>
 36  
  * </pre>
 37  
  * 
 38  
  * 
 39  
  */
 40  
 @XmlAccessorType(XmlAccessType.FIELD)
 41  
 @XmlType(name = "PolygonType", propOrder = {
 42  
     "exterior",
 43  
     "interior"
 44  
 })
 45  0
 public class PolygonType
 46  
     extends AbstractSurfaceType
 47  
 {
 48  
 
 49  
     protected AbstractRingPropertyType exterior;
 50  
     protected List<AbstractRingPropertyType> interior;
 51  
 
 52  
     /**
 53  
      * Gets the value of the exterior property.
 54  
      * 
 55  
      * @return
 56  
      *     possible object is
 57  
      *     {@link AbstractRingPropertyType }
 58  
      *     
 59  
      */
 60  
     public AbstractRingPropertyType getExterior() {
 61  0
         return exterior;
 62  
     }
 63  
 
 64  
     /**
 65  
      * Sets the value of the exterior property.
 66  
      * 
 67  
      * @param value
 68  
      *     allowed object is
 69  
      *     {@link AbstractRingPropertyType }
 70  
      *     
 71  
      */
 72  
     public void setExterior(AbstractRingPropertyType value) {
 73  0
         this.exterior = value;
 74  0
     }
 75  
 
 76  
     /**
 77  
      * Gets the value of the interior property.
 78  
      * 
 79  
      * <p>
 80  
      * This accessor method returns a reference to the live list,
 81  
      * not a snapshot. Therefore any modification you make to the
 82  
      * returned list will be present inside the JAXB object.
 83  
      * This is why there is not a <CODE>set</CODE> method for the interior property.
 84  
      * 
 85  
      * <p>
 86  
      * For example, to add a new item, do as follows:
 87  
      * <pre>
 88  
      *    getInterior().add(newItem);
 89  
      * </pre>
 90  
      * 
 91  
      * 
 92  
      * <p>
 93  
      * Objects of the following type(s) are allowed in the list
 94  
      * {@link AbstractRingPropertyType }
 95  
      * 
 96  
      * 
 97  
      */
 98  
     public List<AbstractRingPropertyType> getInterior() {
 99  0
         if (interior == null) {
 100  0
             interior = new ArrayList<AbstractRingPropertyType>();
 101  
         }
 102  0
         return this.interior;
 103  
     }
 104  
 
 105  
 }