// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-646 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2010.08.13 at 10:12:26 PM MESZ // package slash.navigation.kml.binding22; import javax.xml.bind.JAXBElement; 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.XmlSchemaType; import javax.xml.bind.annotation.XmlType; import java.util.ArrayList; import java.util.List; /** * <p>Java class for ModelType complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="ModelType"> * <complexContent> * <extension base="{http://www.opengis.net/kml/2.2}AbstractGeometryType"> * <sequence> * <element ref="{http://www.opengis.net/kml/2.2}altitudeModeGroup" minOccurs="0"/> * <element ref="{http://www.opengis.net/kml/2.2}Location" minOccurs="0"/> * <element ref="{http://www.opengis.net/kml/2.2}Orientation" minOccurs="0"/> * <element ref="{http://www.opengis.net/kml/2.2}Scale" minOccurs="0"/> * <element ref="{http://www.opengis.net/kml/2.2}Link" minOccurs="0"/> * <element ref="{http://www.opengis.net/kml/2.2}ResourceMap" minOccurs="0"/> * <element ref="{http://www.opengis.net/kml/2.2}ModelSimpleExtensionGroup" maxOccurs="unbounded" minOccurs="0"/> * <element ref="{http://www.opengis.net/kml/2.2}ModelObjectExtensionGroup" maxOccurs="unbounded" minOccurs="0"/> * </sequence> * </extension> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "ModelType", propOrder = { "altitudeModeGroup", "location", "orientation", "scale", "link", "resourceMap", "modelSimpleExtensionGroup", "modelObjectExtensionGroup" }) public class ModelType extends AbstractGeometryType { @XmlElementRef(name = "altitudeModeGroup", namespace = "http://www.opengis.net/kml/2.2", type = JAXBElement.class) protected JAXBElement<?> altitudeModeGroup; @XmlElement(name = "Location") protected LocationType location; @XmlElement(name = "Orientation") protected OrientationType orientation; @XmlElement(name = "Scale") protected ScaleType scale; @XmlElement(name = "Link") protected LinkType link; @XmlElement(name = "ResourceMap") protected ResourceMapType resourceMap; @XmlElement(name = "ModelSimpleExtensionGroup") @XmlSchemaType(name = "anySimpleType") protected List<Object> modelSimpleExtensionGroup; @XmlElement(name = "ModelObjectExtensionGroup") protected List<AbstractObjectType> modelObjectExtensionGroup; /** * Gets the value of the altitudeModeGroup property. * * @return * possible object is * {@link JAXBElement }{@code <}{@link slash.navigation.kml.binding22.AltitudeModeEnumType }{@code >} * {@link JAXBElement }{@code <}{@link slash.navigation.kml.binding22gx.AltitudeModeEnumType }{@code >} * {@link JAXBElement }{@code <}{@link Object }{@code >} * */ public JAXBElement<?> getAltitudeModeGroup() { return altitudeModeGroup; } /** * Sets the value of the altitudeModeGroup property. * * @param value * allowed object is * {@link JAXBElement }{@code <}{@link slash.navigation.kml.binding22.AltitudeModeEnumType }{@code >} * {@link JAXBElement }{@code <}{@link slash.navigation.kml.binding22gx.AltitudeModeEnumType }{@code >} * {@link JAXBElement }{@code <}{@link Object }{@code >} * */ public void setAltitudeModeGroup(JAXBElement<?> value) { this.altitudeModeGroup = value; } /** * Gets the value of the location property. * * @return * possible object is * {@link LocationType } * */ public LocationType getLocation() { return location; } /** * Sets the value of the location property. * * @param value * allowed object is * {@link LocationType } * */ public void setLocation(LocationType value) { this.location = value; } /** * Gets the value of the orientation property. * * @return * possible object is * {@link OrientationType } * */ public OrientationType getOrientation() { return orientation; } /** * Sets the value of the orientation property. * * @param value * allowed object is * {@link OrientationType } * */ public void setOrientation(OrientationType value) { this.orientation = value; } /** * Gets the value of the scale property. * * @return * possible object is * {@link ScaleType } * */ public ScaleType getScale() { return scale; } /** * Sets the value of the scale property. * * @param value * allowed object is * {@link ScaleType } * */ public void setScale(ScaleType value) { this.scale = value; } /** * Gets the value of the link property. * * @return * possible object is * {@link LinkType } * */ public LinkType getLink() { return link; } /** * Sets the value of the link property. * * @param value * allowed object is * {@link LinkType } * */ public void setLink(LinkType value) { this.link = value; } /** * Gets the value of the resourceMap property. * * @return * possible object is * {@link ResourceMapType } * */ public ResourceMapType getResourceMap() { return resourceMap; } /** * Sets the value of the resourceMap property. * * @param value * allowed object is * {@link ResourceMapType } * */ public void setResourceMap(ResourceMapType value) { this.resourceMap = value; } /** * Gets the value of the modelSimpleExtensionGroup property. * * <p> * 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 <CODE>set</CODE> method for the modelSimpleExtensionGroup property. * * <p> * For example, to add a new item, do as follows: * <pre> * getModelSimpleExtensionGroup().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link Object } * * */ public List<Object> getModelSimpleExtensionGroup() { if (modelSimpleExtensionGroup == null) { modelSimpleExtensionGroup = new ArrayList<>(); } return this.modelSimpleExtensionGroup; } /** * Gets the value of the modelObjectExtensionGroup property. * * <p> * 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 <CODE>set</CODE> method for the modelObjectExtensionGroup property. * * <p> * For example, to add a new item, do as follows: * <pre> * getModelObjectExtensionGroup().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link AbstractObjectType } * * */ public List<AbstractObjectType> getModelObjectExtensionGroup() { if (modelObjectExtensionGroup == null) { modelObjectExtensionGroup = new ArrayList<>(); } return this.modelObjectExtensionGroup; } }