All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.bremersee.opengis.kml.v22.Update Maven / Gradle / Ivy

//
// This file was generated by the Eclipse Implementation of JAXB, v4.0.2 
// See https://eclipse-ee4j.github.io/jaxb-ri 
// Any modifications to this file will be lost upon recompilation of the source schema. 
//


package org.bremersee.opengis.kml.v22;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlElements;
import jakarta.xml.bind.annotation.XmlRootElement;
import jakarta.xml.bind.annotation.XmlSchemaType;
import jakarta.xml.bind.annotation.XmlType;


/**
 * 

Java class for UpdateType complex type. * *

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

{@code
 * 
 *   
 *     
 *       
 *         
 *         
 *           
 *           
 *           
 *           
 *         
 *         
 *       
 *     
 *   
 * 
 * }
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "UpdateType", propOrder = { "targetHref", "createsAndDeletesAndChanges", "updateExtensionGroups" }) @XmlRootElement(name = "Update") public class Update implements Serializable { private static final long serialVersionUID = 1L; @XmlElement(required = true) @XmlSchemaType(name = "anyURI") protected String targetHref; @XmlElements({ @XmlElement(name = "Create", type = Create.class), @XmlElement(name = "Delete", type = Delete.class), @XmlElement(name = "Change", type = Change.class), @XmlElement(name = "UpdateOpExtensionGroup") }) protected List createsAndDeletesAndChanges; @XmlElement(name = "UpdateExtensionGroup") protected List updateExtensionGroups; /** * Gets the value of the targetHref property. * * @return * possible object is * {@link String } * */ public String getTargetHref() { return targetHref; } /** * Sets the value of the targetHref property. * * @param value * allowed object is * {@link String } * */ public void setTargetHref(String value) { this.targetHref = value; } /** * Gets the value of the createsAndDeletesAndChanges 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 Jakarta XML Binding object. * This is why there is not a {@code set} method for the createsAndDeletesAndChanges property. * *

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

     *    getCreatesAndDeletesAndChanges().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Object } * {@link Change } * {@link Create } * {@link Delete } * * * @return * The value of the createsAndDeletesAndChanges property. */ public List getCreatesAndDeletesAndChanges() { if (createsAndDeletesAndChanges == null) { createsAndDeletesAndChanges = new ArrayList<>(); } return this.createsAndDeletesAndChanges; } /** * Gets the value of the updateExtensionGroups 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 Jakarta XML Binding object. * This is why there is not a {@code set} method for the updateExtensionGroups property. * *

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

     *    getUpdateExtensionGroups().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Object } * * * @return * The value of the updateExtensionGroups property. */ public List getUpdateExtensionGroups() { if (updateExtensionGroups == null) { updateExtensionGroups = new ArrayList<>(); } return this.updateExtensionGroups; } }