net.opengis.gml.schema
Class PolygonType

java.lang.Object
  extended by net.opengis.gml.schema.AbstractGMLType
      extended by net.opengis.gml.schema.AbstractGeometryType
          extended by net.opengis.gml.schema.AbstractGeometricPrimitiveType
              extended by net.opengis.gml.schema.AbstractSurfaceType
                  extended by net.opengis.gml.schema.PolygonType
All Implemented Interfaces:
Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString

public class PolygonType
extends AbstractSurfaceType
implements Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString

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.

Java class for PolygonType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="PolygonType">
   <complexContent>
     <extension base="{http://www.opengis.net/gml}AbstractSurfaceType">
       <sequence>
         <element ref="{http://www.opengis.net/gml}exterior" minOccurs="0"/>
         <element ref="{http://www.opengis.net/gml}interior" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  AbstractRingPropertyType exterior
           
protected  List<AbstractRingPropertyType> interiors
           
 
Fields inherited from class net.opengis.gml.schema.AbstractGeometryType
srsName
 
Fields inherited from class net.opengis.gml.schema.AbstractGMLType
description, id, names
 
Constructor Summary
PolygonType()
           
 
Method Summary
 StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
           
 StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
           
 Object clone()
           
 Object copyTo(Object target)
           
 Object copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, Object target, org.jvnet.jaxb2_commons.lang.CopyStrategy strategy)
           
 Object createNewInstance()
           
 boolean equals(Object object)
           
 boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
           
 AbstractRingPropertyType getExterior()
          Gets the value of the exterior property.
 List<AbstractRingPropertyType> getInteriors()
          Gets the value of the interiors property.
 int hashCode()
           
 int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
           
 boolean isSetExterior()
           
 boolean isSetInteriors()
           
 void setExterior(AbstractRingPropertyType value)
          Sets the value of the exterior property.
 void setInteriors(List<AbstractRingPropertyType> interiors)
          Sets the value of the interiors property.
 String toString()
           
 void unsetInteriors()
           
 
Methods inherited from class net.opengis.gml.schema.AbstractGeometryType
getSrsName, isSetSrsName, setSrsName
 
Methods inherited from class net.opengis.gml.schema.AbstractGMLType
getDescription, getId, getNames, isSetDescription, isSetId, isSetNames, setDescription, setId, setNames, unsetNames
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

exterior

protected AbstractRingPropertyType exterior

interiors

protected List<AbstractRingPropertyType> interiors
Constructor Detail

PolygonType

public PolygonType()
Method Detail

getExterior

public AbstractRingPropertyType getExterior()
Gets the value of the exterior property.

Returns:
possible object is AbstractRingPropertyType

setExterior

public void setExterior(AbstractRingPropertyType value)
Sets the value of the exterior property.

Parameters:
value - allowed object is AbstractRingPropertyType

isSetExterior

public boolean isSetExterior()

getInteriors

public List<AbstractRingPropertyType> getInteriors()
Gets the value of the interiors property.

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 set method for the interiors property.

For example, to add a new item, do as follows:

    getInteriors().add(newItem);
 

Objects of the following type(s) are allowed in the list AbstractRingPropertyType


isSetInteriors

public boolean isSetInteriors()

unsetInteriors

public void unsetInteriors()

toString

public String toString()
Overrides:
toString in class AbstractSurfaceType

append

public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                            StringBuilder buffer,
                            org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
Specified by:
append in interface org.jvnet.jaxb2_commons.lang.ToString
Overrides:
append in class AbstractSurfaceType

appendFields

public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                                  StringBuilder buffer,
                                  org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
Specified by:
appendFields in interface org.jvnet.jaxb2_commons.lang.ToString
Overrides:
appendFields in class AbstractSurfaceType

equals

public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
                      org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
                      Object object,
                      org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
Specified by:
equals in interface org.jvnet.jaxb2_commons.lang.Equals
Overrides:
equals in class AbstractSurfaceType

equals

public boolean equals(Object object)
Overrides:
equals in class AbstractSurfaceType

hashCode

public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                    org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
Specified by:
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode
Overrides:
hashCode in class AbstractSurfaceType

hashCode

public int hashCode()
Overrides:
hashCode in class AbstractSurfaceType

clone

public Object clone()
Overrides:
clone in class AbstractSurfaceType

copyTo

public Object copyTo(Object target)
Specified by:
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTo
Overrides:
copyTo in class AbstractSurfaceType

copyTo

public Object copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                     Object target,
                     org.jvnet.jaxb2_commons.lang.CopyStrategy strategy)
Specified by:
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTo
Overrides:
copyTo in class AbstractSurfaceType

createNewInstance

public Object createNewInstance()
Specified by:
createNewInstance in interface org.jvnet.jaxb2_commons.lang.CopyTo
Overrides:
createNewInstance in class AbstractSurfaceType

setInteriors

public void setInteriors(List<AbstractRingPropertyType> interiors)
Sets the value of the interiors property.

Parameters:
interiors - allowed object is AbstractRingPropertyType


Copyright © 2011 TRiDaS. All Rights Reserved.