net.opengis.gml.schema
Class PolygonPatchType

java.lang.Object
  extended by net.opengis.gml.schema.AbstractSurfacePatchType
      extended by net.opengis.gml.schema.PolygonPatchType
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 PolygonPatchType
extends AbstractSurfacePatchType
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 PolygonPatch is a surface patch that is defined by a set of boundary curves and an underlying surface to which these curves adhere. The curves are coplanar and the polygon uses planar interpolation in its interior. Implements GM_Polygon of ISO 19107.

Java class for PolygonPatchType complex type.

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

 <complexType name="PolygonPatchType">
   <complexContent>
     <extension base="{http://www.opengis.net/gml}AbstractSurfacePatchType">
       <sequence>
         <element ref="{http://www.opengis.net/gml}exterior" minOccurs="0"/>
         <element ref="{http://www.opengis.net/gml}interior" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="interpolation" type="{http://www.opengis.net/gml}SurfaceInterpolationType" fixed="planar" />
     </extension>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  AbstractRingPropertyType exterior
           
protected  List<AbstractRingPropertyType> interiors
           
protected  SurfaceInterpolationType interpolation
           
 
Constructor Summary
PolygonPatchType()
           
 
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.
 SurfaceInterpolationType getInterpolation()
          Gets the value of the interpolation property.
 int hashCode()
           
 int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
           
 boolean isSetExterior()
           
 boolean isSetInteriors()
           
 boolean isSetInterpolation()
           
 void setExterior(AbstractRingPropertyType value)
          Sets the value of the exterior property.
 void setInteriors(List<AbstractRingPropertyType> interiors)
          Sets the value of the interiors property.
 void setInterpolation(SurfaceInterpolationType value)
          Sets the value of the interpolation property.
 String toString()
           
 void unsetInteriors()
           
 
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

interpolation

protected SurfaceInterpolationType interpolation
Constructor Detail

PolygonPatchType

public PolygonPatchType()
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()

getInterpolation

public SurfaceInterpolationType getInterpolation()
Gets the value of the interpolation property.

Returns:
possible object is SurfaceInterpolationType

setInterpolation

public void setInterpolation(SurfaceInterpolationType value)
Sets the value of the interpolation property.

Parameters:
value - allowed object is SurfaceInterpolationType

isSetInterpolation

public boolean isSetInterpolation()

toString

public String toString()
Overrides:
toString in class AbstractSurfacePatchType

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 AbstractSurfacePatchType

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 AbstractSurfacePatchType

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 AbstractSurfacePatchType

equals

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

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 AbstractSurfacePatchType

hashCode

public int hashCode()
Overrides:
hashCode in class AbstractSurfacePatchType

clone

public Object clone()
Overrides:
clone in class AbstractSurfacePatchType

copyTo

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

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 AbstractSurfacePatchType

createNewInstance

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

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.