package de.micromata.opengis.kml.v_2_2_0;

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.XmlElementRef;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import de.micromata.opengis.kml.v_2_2_0.annotations.Obvious;
import de.micromata.opengis.kml.v_2_2_0.atom.Author;
import de.micromata.opengis.kml.v_2_2_0.atom.Link;
import de.micromata.opengis.kml.v_2_2_0.gx.LatLonQuad;
import de.micromata.opengis.kml.v_2_2_0.xal.AddressDetails;


/**
 
* <GroundOverlay>
 
* <p>
 
* This element draws an image overlay draped onto the terrain. The <href> child of
 
* <Icon> specifies the image to be used as the overlay. This file can be either on
 
* a local file system or on a web server. If this element is omitted or contains no
 
* <href>, a rectangle is drawn using the color and LatLonBox bounds defined by the
 
* ground overlay.
 
* </p>
 
*
 
* Syntax:
 
* <pre><strong>&lt;GroundOverlay id="ID"&gt;</strong>
 
*
   
&lt;!-- inherited from <em>Feature</em> element --&gt;
 
*
   
&lt;name&gt;<em>...</em>&lt;/name&gt;
                      
&lt;!-- string --&gt;
 
*
   
&lt;visibility&gt;1&lt;/visibility&gt;
            
&lt;!-- boolean --&gt;
 
*
   
&lt;open&gt;0&lt;/open&gt;
                        
&lt;!-- boolean --&gt;
 
*
   
<span>&lt;atom:author&gt;...&lt;atom:author&gt;
         
&lt;!-- xmlns:atom --&gt;
 
*
   
&lt;atom:link&gt;...&lt;/atom:link&gt;</span><span>
            
&lt;!-- xmlns:atom --&gt;</span>
 
*
   
&lt;address&gt;<em>...</em>&lt;/address&gt;
                
&lt;!-- string --&gt;
 
*
   
&lt;xal:AddressDetails&gt;...&lt;/xal:AddressDetails&gt;
  
&lt;!-- xmlns:xal --&gt;<br>&lt;phoneNumber&gt;...&lt;/phoneNumber&gt;
        
&lt;!-- string --&gt;<br>&lt;Snippet maxLines="2"&gt;<em>...</em>&lt;/Snippet&gt;&lt;!-- string --&gt;
 
*
   
&lt;description&gt;<em>...</em>&lt;/description&gt;
        
&lt;!-- string --&gt;
 
*
   
<span><em>&lt;AbstractView&gt;...&lt;/AbstractView&gt;</em>
      
&lt;!-- Camera <em>or</em> LookAt --&gt;</span>
 
*
   
&lt;<em>TimePrimitive</em>&gt;...&lt;/<em>TimePrimitive</em>&gt;
 
*
   
&lt;styleUrl&gt;<em>...</em>&lt;/styleUrl&gt;
              
&lt;!-- anyURI --&gt;
 
*
   
&lt;<em>StyleSelector&gt;...&lt;/StyleSelector&gt;</em>
 
*
   
&lt;Region&gt;...&lt;/Region&gt;
 
*
   
<span>&lt;Metadata&gt;...&lt;/Metadata&gt;
              
&lt;!-- deprecated in KML 2.2 --&gt;
 
*
   
&lt;ExtendedData&gt;...&lt;/ExtendedData&gt;
      
&lt;!-- new in KML 2.2 --&gt;</span>
 
*
 
*
   
&lt;!-- inherited from <em>Overlay</em> element --&gt;
 
*
   
&lt;color&gt;ffffffff&lt;/color&gt;
                   
&lt;!-- kml:color --&gt;
 
*
   
&lt;drawOrder&gt;0&lt;/drawOrder&gt;
                  
&lt;!-- int --&gt;
  

 
*
   
&lt;Icon&gt;...&lt;/Icon&gt;
 
*
 
*
   
&lt;!-- specific to GroundOverlay --&gt;
 
*
   
&lt;altitude&gt;0&lt;/altitude&gt;
                    
&lt;!-- double --&gt;
 
*
   
&lt;altitudeMode&gt;clampToGround&lt;/altitudeMode&gt;
 
*
      
&lt;!-- kml:altitudeModeEnum: clampToGround or absolute --&gt;
 
*
 	   
&lt;!-- or, substitute gx:altitudeMode: clampToSeaFloor or relativeToSeaFloor --&gt;
 
*
   
&lt;LatLonBox&gt;
 
*
     
&lt;north&gt;...&lt;/north&gt;
                      
&lt;! kml:angle90 --&gt;
 
*
     
&lt;south&gt;<em>...</em>&lt;/south&gt;
                      
&lt;! kml:angle90 --&gt;
 
*
     
&lt;east&gt;<em>...</em>&lt;/east&gt;
                        
&lt;! kml:angle180 --&gt;
 
*
     
&lt;west&gt;<em>...</em>&lt;/west&gt;
                        
&lt;! kml:angle180 --&gt;
 
*
     
&lt;rotation&gt;0&lt;/rotation&gt;
                  
&lt;! kml:angle180 --&gt;
 
*
   
&lt;/LatLonBox&gt;
 
* <strong>&lt;/GroundOverlay&gt;</strong></pre>
 
*
 
* Extends:
 
* @see: <Feature>
 
* @see: <Overlay>
 
*
 
* Contained By:
 
* @see: <Document>
 
* @see: <Folder>
 
*
 
*
 
*
 
*/

@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "GroundOverlayType", propOrder = {
    
"altitude",
    
"altitudeMode",
    
"latLonBox",
    
"groundOverlaySimpleExtension",
    
"groundOverlayObjectExtension"
})
@XmlRootElement(name = "GroundOverlay", namespace = "http://www.opengis.net/kml/2.2")
public class GroundOverlay
    
extends Overlay
    
implements Cloneable
{

    
/**
     
* <altitude>
     
* <p>
     
* Distance from the earth's surface, in meters. Interpreted according to the LookAt's
 

     
* altitude mode.
 

     
* </p>
     
* <p>
     
* Distance of the camera from the earth's surface, in meters. Interpreted according
 

     
* to the Camera's <altitudeMode> or <gx:altitudeMode>.
 

     
* </p>
     
* <p>
     
* Specifies the distance above the earth's surface, in meters, and is interpreted
 

     
* according to the altitude mode.
 

     
* </p>
     
*
 

     
*
 

     
*
 

     
*/

    
@XmlElement(defaultValue = "0.0")
    
protected double altitude;
    
/**
     
* AltitudeMode
     
* <p>
     
* clampToGround, relativeToGround, absolute
 

     
* </p>
     
*
 

     
* See Also:
 

     
* See <LookAt> and <Region>
     
*
 

     
*
 

     
*
 

     
*/

    
@XmlElement(defaultValue = "clampToGround")
    
protected AltitudeMode altitudeMode;
    
/**
     
* <latlonbox>
     
* <p>
     
* Specifies where the top, bottom, right, and left sides of a bounding box for the
 

     
* ground overlay are aligned. <north> Specifies the latitude of the north edge of
 

     
* the bounding box, in decimal degrees from 0 to ±90. <south> Specifies the latitude
 

     
* of the south edge of the bounding box, in decimal degrees from 0 to ±90. <east>
 

     
* Specifies the longitude of the east edge of the bounding box, in decimal degrees
 

     
* from 0 to ±180. (For overlays that overlap the meridian of 180° longitude, values
 

     
* can extend beyond that range.) <west> Specifies the longitude of the west edge of
 

     
* the bounding box, in decimal degrees from 0 to ±180. (For overlays that overlap
 

     
* the meridian of 180° longitude, values can extend beyond that range.) <rotation>
 

     
* Specifies a rotation of the overlay about its center, in degrees. Values can be
 

     
* ±180. The default is 0 (north). Rotations are specified in a counterclockwise direction.
 

     
* <LatLonBox> <north>48.25475939255556</north> <south>48.25207367852141</south> <east>-90.86591508839973</east>
 

     
* <west>-90.8714285289695</west> <rotation>39.37878630116985</rotation> </LatLonBox>
 

     
* </p>
     
*
 

     
*
 

     
*
 

     
*/

    
@XmlElement(name = "LatLonBox")
    
protected LatLonBox latLonBox;
    
@XmlElement(name = "GroundOverlaySimpleExtensionGroup")
    
@XmlSchemaType(name = "anySimpleType")
    
protected List<Object> groundOverlaySimpleExtension;
    
/**
     
* <Object>
     
* <p>
     
* This is an abstract base class and cannot be used directly in a KML file. It provides
 

     
* the id attribute, which allows unique identification of a KML element, and the targetId
 

     
* attribute, which is used to reference objects that have already been loaded into
 

     
* Google Earth. The id attribute must be assigned if the <Update> mechanism is to
 

     
* be used.
 

     
* </p>
     
*
 

     
* Syntax:
 

     
* <pre>&lt;!-- abstract element; do not create --&gt;<strong>
     
* &lt;!-- <em>Object</em> id="ID" targetId="NCName" --&gt;
     
* &lt;!-- /<em>Object</em>&gt; --&gt;</strong></pre>
     
*
 

     
*
 

     
*
 

     
*/

    
@XmlElementRef(name = "GroundOverlayObjectExtensionGroup", namespace = "http://www.opengis.net/kml/2.2", required = false)
    
protected List<AbstractObject> groundOverlayObjectExtension;

    
public GroundOverlay() {
        
super();
    
}

    
/**
     
* @see altitude
     
*
 

     
* @return
     
*possible object is
     
*{@link Double}
     
*
     
*/

    
public double getAltitude() {
        
return altitude;
    
}

    
/**
     
* @see altitude
     
*
 

     
* @param value
     
*allowed object is
     
*{@link Double}
     
*
     
*/

    
public void setAltitude(double value) {
        
this.altitude = value;
    
}

    
/**
     
* @see altitudeMode
     
*
 

     
* @return
     
*possible object is
     
*{@code <}{@link Object}{@code>}
     
*{@code <}{@link de.micromata.opengis.kml.v_2_2_0.AltitudeMode}{@code>}
     
*{@code <}{@link de.micromata.opengis.kml.v_2_2_0.gx.AltitudeMode}{@code>}
     
*
     
*/

    
public AltitudeMode getAltitudeMode() {
        
return altitudeMode;
    
}

    
/**
     
* @see altitudeMode
     
*
 

     
* @param value
     
*allowed object is
     
*{@code <}{@link Object}{@code>}
     
*{@code <}{@link de.micromata.opengis.kml.v_2_2_0.AltitudeMode}{@code>}
     
*{@code <}{@link de.micromata.opengis.kml.v_2_2_0.gx.AltitudeMode}{@code>}
     
*
     
*/

    
public void setAltitudeMode(AltitudeMode value) {
        
this.altitudeMode = value;
    
}

    
/**
     
* @see latLonBox
     
*
 

     
* @return
     
*possible object is
     
*{@link LatLonBox}
     
*
     
*/

    
public LatLonBox getLatLonBox() {
        
return latLonBox;
    
}

    
/**
     
* @see latLonBox
     
*
 

     
* @param value
     
*allowed object is
     
*{@link LatLonBox}
     
*
     
*/

    
public void setLatLonBox(LatLonBox value) {
        
this.latLonBox = value;
    
}

    
/**
     
* @see groundOverlaySimpleExtension
     
*
 

     
*/

    
public List<Object> getGroundOverlaySimpleExtension() {
        
if (groundOverlaySimpleExtension == null) {
            
groundOverlaySimpleExtension = new ArrayList<Object>();
        
}
        
return this.groundOverlaySimpleExtension;
    
}

    
/**
     
* @see groundOverlayObjectExtension
     
*
 

     
*/

    
public List<AbstractObject> getGroundOverlayObjectExtension() {
        
if (groundOverlayObjectExtension == null) {
            
groundOverlayObjectExtension = new ArrayList<AbstractObject>();
        
}
        
return this.groundOverlayObjectExtension;
    
}

    
@Override
    
public int hashCode() {
        
final int prime = 31;
        
int result = super.hashCode();
        
long temp;
        
temp = Double.doubleToLongBits(altitude);
        
result = ((prime*result)+((int)(temp^(temp >>>(32)))));
        
result = ((prime*result)+((altitudeMode == null)? 0 :altitudeMode.hashCode()));
        
result = ((prime*result)+((latLonBox == null)? 0 :latLonBox.hashCode()));
        
result = ((prime*result)+((groundOverlaySimpleExtension == null)? 0 :groundOverlaySimpleExtension.hashCode()));
        
result = ((prime*result)+((groundOverlayObjectExtension == null)? 0 :groundOverlayObjectExtension.hashCode()));
        
return result;
    
}

    
@Override
    
public boolean equals(Object obj) {
        
if (this == obj) {
            
return true;
        
}
        
if (obj == null) {
            
return false;
        
}
        
if (super.equals(obj) == false) {
            
return false;
        
}
        
if ((obj instanceof GroundOverlay) == false) {
            
return false;
        
}
        
GroundOverlay other = ((GroundOverlay) obj);
        
if (altitude!= other.altitude) {
            
return false;
        
}
        
if (altitudeMode == null) {
            
if (other.altitudeMode!= null) {
                
return false;
            
}
        
} else {
            
if (altitudeMode.equals(other.altitudeMode) == false) {
                
return false;
            
}
        
}
        
if (latLonBox == null) {
            
if (other.latLonBox!= null) {
                
return false;
            
}
        
} else {
            
if (latLonBox.equals(other.latLonBox) == false) {
                
return false;
            
}
        
}
        
if (groundOverlaySimpleExtension == null) {
            
if (other.groundOverlaySimpleExtension!= null) {
                
return false;
            
}
        
} else {
            
if (groundOverlaySimpleExtension.equals(other.groundOverlaySimpleExtension) == false) {
                
return false;
            
}
        
}
        
if (groundOverlayObjectExtension == null) {
            
if (other.groundOverlayObjectExtension!= null) {
                
return false;
            
}
        
} else {
            
if (groundOverlayObjectExtension.equals(other.groundOverlayObjectExtension) == false) {
                
return false;
            
}
        
}
        
return true;
    
}

    
/**
     
* Creates a new instance of {@link LatLonBox} and set it to latLonBox.
     
*
 

     
* This method is a short version for:
     
* <code>
     
* LatLonBox latLonBox = new LatLonBox();
     
* this.setLatLonBox(latLonBox); </code>
     
*
 

     
*
 

     
*/

    
public LatLonBox createAndSetLatLonBox() {
        
LatLonBox newValue = new LatLonBox();
        
this.setLatLonBox(newValue);
        
return newValue;
    
}

    
/**
     
* @see groundOverlaySimpleExtension
     
*
 

     
* @param groundOverlaySimpleExtension
     
*/

    
public void setGroundOverlaySimpleExtension(final List<Object> groundOverlaySimpleExtension) {
        
this.groundOverlaySimpleExtension = groundOverlaySimpleExtension;
    
}

    
/**
     
* add a value to the groundOverlaySimpleExtension property collection
     
*
 

     
* @param groundOverlaySimpleExtension
     
*Objects of the following type are allowed in the list: {@link Object}
     
* @return
     
*<tt>true</tt> (as general contract of <tt>Collection.add</tt>).
 

     
*/

    
public GroundOverlay addToGroundOverlaySimpleExtension(final Object groundOverlaySimpleExtension) {
        
this.getGroundOverlaySimpleExtension().add(groundOverlaySimpleExtension);
        
return this;
    
}

    
/**
     
* @see groundOverlayObjectExtension
     
*
 

     
* @param groundOverlayObjectExtension
     
*/

    
public void setGroundOverlayObjectExtension(final List<AbstractObject> groundOverlayObjectExtension) {
        
this.groundOverlayObjectExtension = groundOverlayObjectExtension;
    
}

    
/**
     
* add a value to the groundOverlayObjectExtension property collection
     
*
 

     
* @param groundOverlayObjectExtension
     
*Objects of the following type are allowed in the list: {@code <}{@link LatLonQuad}{@code>}{@link JAXBElement}{@code <}{@link AbstractObject}{@code>}
     
* @return
     
*<tt>true</tt> (as general contract of <tt>Collection.add</tt>).
 

     
*/

    
public GroundOverlay addToGroundOverlayObjectExtension(final AbstractObject groundOverlayObjectExtension) {
        
this.getGroundOverlayObjectExtension().add(groundOverlayObjectExtension);
        
return this;
    
}

    
/**
     
* @see objectSimpleExtension
     
*
 

     
*/

    
@Obvious
    
@Override
    
public void setObjectSimpleExtension(final List<Object> objectSimpleExtension) {
        
super.setObjectSimpleExtension(objectSimpleExtension);
    
}

    
@Obvious
    
@Override
    
public GroundOverlay addToObjectSimpleExtension(final Object objectSimpleExtension) {
        
super.getObjectSimpleExtension().add(objectSimpleExtension);
        
return this;
    
}

    
/**
     
* @see styleSelector
     
*
 

     
*/

    
@Obvious
    
@Override
    
public void setStyleSelector(final List<StyleSelector> styleSelector) {
        
super.setStyleSelector(styleSelector);
    
}

    
@Obvious
    
@Override
    
public GroundOverlay addToStyleSelector(final StyleSelector styleSelector) {
        
super.getStyleSelector().add(styleSelector);
        
return this;
    
}

    
/**
     
* @see featureSimpleExtension
     
*
 

     
*/

    
@Obvious
    
@Override
    
public void setFeatureSimpleExtension(final List<Object> featureSimpleExtension) {
        
super.setFeatureSimpleExtension(featureSimpleExtension);
    
}

    
@Obvious
    
@Override
    
public GroundOverlay addToFeatureSimpleExtension(final Object featureSimpleExtension) {
        
super.getFeatureSimpleExtension().add(featureSimpleExtension);
        
return this;
    
}

    
/**
     
* @see featureObjectExtension
     
*
 

     
*/

    
@Obvious
    
@Override
    
public void setFeatureObjectExtension(final List<AbstractObject> featureObjectExtension) {
        
super.setFeatureObjectExtension(featureObjectExtension);
    
}

    
@Obvious
    
@Override
    
public GroundOverlay addToFeatureObjectExtension(final AbstractObject featureObjectExtension) {
        
super.getFeatureObjectExtension().add(featureObjectExtension);
        
return this;
    
}

    
/**
     
* @see overlaySimpleExtension
     
*
 

     
*/

    
@Obvious
    
@Override
    
public void setOverlaySimpleExtension(final List<Object> overlaySimpleExtension) {
        
super.setOverlaySimpleExtension(overlaySimpleExtension);
    
}

    
@Obvious
    
@Override
    
public GroundOverlay addToOverlaySimpleExtension(final Object overlaySimpleExtension) {
        
super.getOverlaySimpleExtension().add(overlaySimpleExtension);
        
return this;
    
}

    
/**
     
* @see overlayObjectExtension
     
*
 

     
*/

    
@Obvious
    
@Override
    
public void setOverlayObjectExtension(final List<AbstractObject> overlayObjectExtension) {
        
super.setOverlayObjectExtension(overlayObjectExtension);
    
}

    
@Obvious
    
@Override
    
public GroundOverlay addToOverlayObjectExtension(final AbstractObject overlayObjectExtension) {
        
super.getOverlayObjectExtension().add(overlayObjectExtension);
        
return this;
    
}

    
/**
     
* fluent setter
     
* @see #setAltitude(double)
     
*
 

     
* @param altitude
     
*required parameter
     
*/

    
public GroundOverlay withAltitude(final double altitude) {
        
this.setAltitude(altitude);
        
return this;
    
}

    
/**
     
* fluent setter
     
* @see #setAltitudeMode(Object)
     
*
 

     
* @param altitudeMode
     
*required parameter
     
*/

    
public GroundOverlay withAltitudeMode(final
  
AltitudeMode altitudeMode) {
        
this.setAltitudeMode(altitudeMode);
        
return this;
    
}

    
/**
     
* fluent setter
     
* @see #setLatLonBox(LatLonBox)
     
*
 

     
* @param latLonBox
     
*required parameter
     
*/

    
public GroundOverlay withLatLonBox(final LatLonBox latLonBox) {
        
this.setLatLonBox(latLonBox);
        
return this;
    
}

    
/**
     
* fluent setter
     
* @see #setGroundOverlaySimpleExtension(List<Object>)
     
*
 

     
* @param groundOverlaySimpleExtension
     
*required parameter
     
*/

    
public GroundOverlay withGroundOverlaySimpleExtension(final List<Object> groundOverlaySimpleExtension) {
        
this.setGroundOverlaySimpleExtension(groundOverlaySimpleExtension);
        
return this;
    
}

    
/**
     
* fluent setter
     
* @see #setGroundOverlayObjectExtension(List<AbstractObject>)
     
*
 

     
* @param groundOverlayObjectExtension
     
*required parameter
     
*/

    
public GroundOverlay withGroundOverlayObjectExtension(final List<AbstractObject> groundOverlayObjectExtension) {
        
this.setGroundOverlayObjectExtension(groundOverlayObjectExtension);
        
return this;
    
}

    
@Obvious
    
@Override
    
public GroundOverlay withObjectSimpleExtension(final List<Object> objectSimpleExtension) {
        
super.withObjectSimpleExtension(objectSimpleExtension);
        
return this;
    
}

    
@Obvious
    
@Override
    
public GroundOverlay withId(final String id) {
        
super.withId(id);
        
return this;
    
}

    
@Obvious
    
@Override
    
public GroundOverlay withTargetId(final String targetId) {
        
super.withTargetId(targetId);
        
return this;
    
}

    
@Obvious
    
@Override
    
public GroundOverlay withName(final String name) {
        
super.withName(name);
        
return this;
    
}

    
@Obvious
    
@Override
    
public GroundOverlay withVisibility(final Boolean visibility) {
        
super.withVisibility(visibility);
        
return this;
    
}

    
@Obvious
    
@Override
    
public GroundOverlay withOpen(final Boolean open) {
        
super.withOpen(open);
        
return this;
    
}

    
@Obvious
    
@Override
    
public GroundOverlay withAtomAuthor(final Author atomAuthor) {
        
super.withAtomAuthor(atomAuthor);
        
return this;
    
}

    
@Obvious
    
@Override
    
public GroundOverlay withAtomLink(final Link atomLink) {
        
super.withAtomLink(atomLink);
        
return this;
    
}

    
@Obvious
    
@Override
    
public GroundOverlay withAddress(final String address) {
        
super.withAddress(address);
        
return this;
    
}

    
@Obvious
    
@Override
    
public GroundOverlay withXalAddressDetails(final AddressDetails xalAddressDetails) {
        
super.withXalAddressDetails(xalAddressDetails);
        
return this;
    
}

    
@Obvious
    
@Override
    
public GroundOverlay withPhoneNumber(final String phoneNumber) {
        
super.withPhoneNumber(phoneNumber);
        
return this;
    
}

    
@Obvious
    
@Override
    
public GroundOverlay withSnippet(final Snippet snippet) {
        
super.withSnippet(snippet);
        
return this;
    
}

    
@Obvious
    
@Override
    
public GroundOverlay withSnippetd(final String snippetd) {
        
super.withSnippetd(snippetd);
        
return this;
    
}

    
@Obvious
    
@Override
    
public GroundOverlay withDescription(final String description) {
        
super.withDescription(description);
        
return this;
    
}

    
@Obvious
    
@Override
    
public GroundOverlay withAbstractView(final AbstractView abstractView) {
        
super.withAbstractView(abstractView);
        
return this;
    
}

    
@Obvious
    
@Override
    
public GroundOverlay withTimePrimitive(final TimePrimitive timePrimitive) {
        
super.withTimePrimitive(timePrimitive);
        
return this;
    
}

    
@Obvious
    
@Override
    
public GroundOverlay withStyleUrl(final String styleUrl) {
        
super.withStyleUrl(styleUrl);
        
return this;
    
}

    
@Obvious
    
@Override
    
public GroundOverlay withStyleSelector(final List<StyleSelector> styleSelector) {
        
super.withStyleSelector(styleSelector);
        
return this;
    
}

    
@Obvious
    
@Override
    
public GroundOverlay withRegion(final Region region) {
        
super.withRegion(region);
        
return this;
    
}

    
@Obvious
    
@Override
    
public GroundOverlay withMetadata(final Metadata metadata) {
        
super.withMetadata(metadata);
        
return this;
    
}

    
@Obvious
    
@Override
    
public GroundOverlay withExtendedData(final ExtendedData extendedData) {
        
super.withExtendedData(extendedData);
        
return this;
    
}

    
@Obvious
    
@Override
    
public GroundOverlay withFeatureSimpleExtension(final List<Object> featureSimpleExtension) {
        
super.withFeatureSimpleExtension(featureSimpleExtension);
        
return this;
    
}

    
@Obvious
    
@Override
    
public GroundOverlay withFeatureObjectExtension(final List<AbstractObject> featureObjectExtension) {
        
super.withFeatureObjectExtension(featureObjectExtension);
        
return this;
    
}

    
@Obvious
    
@Override
    
public GroundOverlay withColor(final String color) {
        
super.withColor(color);
        
return this;
    
}

    
@Obvious
    
@Override
    
public GroundOverlay withDrawOrder(final int drawOrder) {
        
super.withDrawOrder(drawOrder);
        
return this;
    
}

    
@Obvious
    
@Override
    
public GroundOverlay withIcon(final Icon icon) {
        
super.withIcon(icon);
        
return this;
    
}

    
@Obvious
    
@Override
    
public GroundOverlay withOverlaySimpleExtension(final List<Object> overlaySimpleExtension) {
        
super.withOverlaySimpleExtension(overlaySimpleExtension);
        
return this;
    
}

    
@Obvious
    
@Override
    
public GroundOverlay withOverlayObjectExtension(final List<AbstractObject> overlayObjectExtension) {
        
super.withOverlayObjectExtension(overlayObjectExtension);
        
return this;
    
}

    
@Override
    
public GroundOverlay clone() {
        
GroundOverlay copy;
        
copy = ((GroundOverlay) super.clone());
        
copy.latLonBox = ((latLonBox == null)?null:((LatLonBox) latLonBox.clone()));
        
copy.groundOverlaySimpleExtension = new ArrayList<Object>((getGroundOverlaySimpleExtension().size()));
        
for (Object iter: groundOverlaySimpleExtension) {
            
copy.groundOverlaySimpleExtension.add(iter);
        
}
        
copy.groundOverlayObjectExtension = new ArrayList<AbstractObject>((getGroundOverlayObjectExtension().size()));
        
for (AbstractObject iter: groundOverlayObjectExtension) {
            
copy.groundOverlayObjectExtension.add(iter.clone());
        
}
        
return copy;
    
}

}