de.micromata.opengis.kml.v_2_2_0
Class Change

java.lang.Object
  extended by de.micromata.opengis.kml.v_2_2_0.Change
All Implemented Interfaces:
java.lang.Cloneable

public class Change
extends java.lang.Object
implements java.lang.Cloneable

Children of this element are the element(s) to be modified, which are identified by the targetId attribute.

Modifies the values in an element that has already been loaded with a . Within the Change element, the child to be modified must include a targetId attribute that references the original element's id.

This update can be considered a "sparse update": in the modified element, only the values listed in are replaced; all other values remained untouched. When is applied to a set of coordinates, the new coordinates replace the current coordinates.


Field Summary
protected  java.util.List<AbstractObject> abstractObject
          
 
Constructor Summary
Change()
           
 
Method Summary
 Change addToAbstractObject(AbstractObject abstractObject)
          add a value to the abstractObject property collection
 Change clone()
           
 boolean equals(java.lang.Object obj)
           
 java.util.List<AbstractObject> getAbstractObject()
           
 int hashCode()
           
 void setAbstractObject(java.util.List<AbstractObject> abstractObject)
           
 Change withAbstractObject(java.util.List<AbstractObject> abstractObject)
          fluent setter
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

abstractObject

protected java.util.List<AbstractObject> abstractObject

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 mechanism is to be used.

Syntax:
<!-- abstract element; do not create -->
 <!-- Object id="ID" targetId="NCName" -->
 <!-- /Object> -->

Constructor Detail

Change

public Change()
Method Detail

getAbstractObject

public java.util.List<AbstractObject> getAbstractObject()
See Also:
abstractObject

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

setAbstractObject

public void setAbstractObject(java.util.List<AbstractObject> abstractObject)
Parameters:
abstractObject -
See Also:
abstractObject

addToAbstractObject

public Change addToAbstractObject(AbstractObject abstractObject)
add a value to the abstractObject property collection

Parameters:
abstractObject - Objects of the following type are allowed in the list: <AbstractObjectJAXBElement<AbstractObjectJAXBElement<AbstractObjectJAXBElement<LinkJAXBElement<GeometryJAXBElement<AbstractObjectJAXBElement<AbstractObjectJAXBElement<AbstractObjectJAXBElement<AbstractObjectJAXBElement<ViewVolumeJAXBElement<ItemIconJAXBElement<AbstractObjectJAXBElement<PointJAXBElement<StyleSelectorJAXBElement<TimeStampJAXBElement<LinearRingJAXBElement<AnimatedUpdateJAXBElement<AbstractObjectJAXBElement<LineStringJAXBElement<PairJAXBElement<MultiGeometryJAXBElement<LinkJAXBElement<TourJAXBElement<AliasJAXBElement<AbstractObjectJAXBElement<LodJAXBElement<AbstractObjectJAXBElement<ScaleJAXBElement<AbstractObjectJAXBElement<AbstractObjectJAXBElement<AbstractObjectJAXBElement<AbstractObjectJAXBElement<GroundOverlayJAXBElement<AbstractObjectJAXBElement<SchemaDataJAXBElement<AbstractObjectJAXBElement<AbstractObjectJAXBElement<LatLonBoxJAXBElement<ModelJAXBElement<PolygonJAXBElement<AbstractObjectJAXBElement<PolyStyleJAXBElement<OverlayJAXBElement<BalloonStyleJAXBElement<NetworkLinkJAXBElement<AbstractObjectJAXBElement<AbstractObjectJAXBElement<AbstractObjectJAXBElement<AbstractViewJAXBElement<AbstractObjectJAXBElement<AbstractObjectJAXBElement<TourPrimitiveJAXBElement<LatLonQuadJAXBElement<PlaylistJAXBElement<TimeSpanJAXBElement<AbstractObjectJAXBElement<FlyToJAXBElement<TourControlJAXBElement<AbstractObjectJAXBElement<AbstractObjectJAXBElement<RegionJAXBElement<TimeSpanJAXBElement<LocationJAXBElement<LabelStyleJAXBElement<AbstractObjectJAXBElement<AbstractObjectJAXBElement<AbstractObjectJAXBElement<ResourceMapJAXBElement<TimePrimitiveJAXBElement<AbstractObjectJAXBElement<AbstractObjectJAXBElement<IconStyleJAXBElement<ScreenOverlayJAXBElement<AbstractObjectJAXBElement<OrientationJAXBElement<StyleJAXBElement<AbstractObjectJAXBElement<AbstractObjectJAXBElement<AbstractObjectJAXBElement<AbstractObjectJAXBElement<StyleMapJAXBElement<SubStyleJAXBElement<AbstractObjectJAXBElement<PlacemarkJAXBElement<FeatureJAXBElement<LineStyleJAXBElement<AbstractObjectJAXBElement<ContainerJAXBElement<AbstractObjectJAXBElement<AbstractObjectJAXBElement<SoundCueJAXBElement<AbstractObjectJAXBElement<DocumentJAXBElement<AbstractObjectJAXBElement<ImagePyramidJAXBElement<AbstractObjectJAXBElement<TimeStampJAXBElement<PhotoOverlayJAXBElement<AbstractObjectJAXBElement<AbstractObjectJAXBElement<ListStyleJAXBElement<AbstractObjectJAXBElement<LookAtJAXBElement<AbstractObjectJAXBElement<AbstractObjectJAXBElement<AbstractObjectJAXBElement<WaitJAXBElement<FolderJAXBElement<AbstractObjectJAXBElement<LatLonAltBoxJAXBElement<DataJAXBElement<ColorStyleJAXBElement<CameraJAXBElement<LinkJAXBElement<AbstractObjectJAXBElement<AbstractObjectJAXBElement<AbstractObject
Returns:
true (as general contract of Collection.add).

withAbstractObject

public Change withAbstractObject(java.util.List<AbstractObject> abstractObject)
fluent setter

Parameters:
abstractObject - required parameter
See Also:
#setAbstractObject(List)

clone

public Change clone()
Overrides:
clone in class java.lang.Object