/** * * geo-platform * Rich webgis framework * http://geo-platform.org * ==================================================================== * * Copyright (C) 2008-2017 geoSDI Group (CNR IMAA - Potenza - ITALY). * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. This program is distributed in the * hope that it will be useful, but WITHOUT ANY WARRANTY; without * even the implied warranty of MERCHANTABILITY or FITNESS FOR * A PARTICULAR PURPOSE. See the GNU General Public License * for more details. You should have received a copy of the GNU General * Public License along with this program. If not, see http://www.gnu.org/licenses/ * * ==================================================================== * * Linking this library statically or dynamically with other modules is * making a combined work based on this library. Thus, the terms and * conditions of the GNU General Public License cover the whole combination. * * As a special exception, the copyright holders of this library give you permission * to link this library with independent modules to produce an executable, regardless * of the license terms of these independent modules, and to copy and distribute * the resulting executable under terms of your choice, provided that you also meet, * for each linked independent module, the terms and conditions of the license of * that module. An independent module is a module which is not derived from or * based on this library. If you modify this library, you may extend this exception * to your version of the library, but you are not obligated to do so. If you do not * wish to do so, delete this exception statement from your version. */ // // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.5-b10 // 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: 2012.10.26 at 03:16:42 PM CEST // package org.geosdi.geoplatform.xml.wfs.v110; 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.XmlSchemaType; import javax.xml.bind.annotation.XmlType; import javax.xml.namespace.QName; import org.geosdi.geoplatform.xml.ows.v100.KeywordsType; import org.geosdi.geoplatform.xml.ows.v100.WGS84BoundingBoxType; import org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy; import org.jvnet.jaxb2_commons.lang.ToString; import org.jvnet.jaxb2_commons.lang.ToStringStrategy; import org.jvnet.jaxb2_commons.locator.ObjectLocator; /** * * An element of this type that describes a feature in an application * namespace shall have an xml xmlns specifier, e.g. * xmlns:bo="http://www.BlueOx.org/BlueOx" * * * <p>Java class for FeatureTypeType complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="FeatureTypeType"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="Name" type="{http://www.w3.org/2001/XMLSchema}QName"/> * <element name="Title" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="Abstract" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element ref="{http://www.opengis.net/ows}Keywords" maxOccurs="unbounded" minOccurs="0"/> * <choice> * <sequence> * <element name="DefaultSRS" type="{http://www.w3.org/2001/XMLSchema}anyURI"/> * <element name="OtherSRS" type="{http://www.w3.org/2001/XMLSchema}anyURI" maxOccurs="unbounded" minOccurs="0"/> * </sequence> * <element name="NoSRS"> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * </restriction> * </complexContent> * </complexType> * </element> * </choice> * <element name="Operations" type="{http://www.opengis.net/wfs}OperationsType" minOccurs="0"/> * <element name="OutputFormats" type="{http://www.opengis.net/wfs}OutputFormatListType" minOccurs="0"/> * <element ref="{http://www.opengis.net/ows}WGS84BoundingBox" maxOccurs="unbounded" minOccurs="0"/> * <element name="MetadataURL" type="{http://www.opengis.net/wfs}MetadataURLType" maxOccurs="unbounded" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "FeatureTypeType", propOrder = { "name", "title", "_abstract", "keywords", "defaultSRS", "otherSRS", "noSRS", "operations", "outputFormats", "wgs84BoundingBox", "metadataURL" }) public class FeatureTypeType implements ToString { @XmlElement(name = "Name", required = true) protected QName name; @XmlElement(name = "Title", required = true) protected String title; @XmlElement(name = "Abstract") protected String _abstract; @XmlElement(name = "Keywords", namespace = "http://www.opengis.net/ows") protected List<KeywordsType> keywords; @XmlElement(name = "DefaultSRS") @XmlSchemaType(name = "anyURI") protected String defaultSRS; @XmlElement(name = "OtherSRS") @XmlSchemaType(name = "anyURI") protected List<String> otherSRS; @XmlElement(name = "NoSRS") protected FeatureTypeType.NoSRS noSRS; @XmlElement(name = "Operations") protected OperationsType operations; @XmlElement(name = "OutputFormats") protected OutputFormatListType outputFormats; @XmlElement(name = "WGS84BoundingBox", namespace = "http://www.opengis.net/ows") protected List<WGS84BoundingBoxType> wgs84BoundingBox; @XmlElement(name = "MetadataURL") protected List<MetadataURLType> metadataURL; /** * Gets the value of the name property. * * @return * possible object is * {@link QName } * */ public QName getName() { return name; } /** * Sets the value of the name property. * * @param value * allowed object is * {@link QName } * */ public void setName(QName value) { this.name = value; } /** * Gets the value of the title property. * * @return * possible object is * {@link String } * */ public String getTitle() { return title; } /** * Sets the value of the title property. * * @param value * allowed object is * {@link String } * */ public void setTitle(String value) { this.title = value; } /** * Gets the value of the abstract property. * * @return * possible object is * {@link String } * */ public String getAbstract() { return _abstract; } /** * Sets the value of the abstract property. * * @param value * allowed object is * {@link String } * */ public void setAbstract(String value) { this._abstract = value; } /** * Gets the value of the keywords 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 keywords property. * * <p> * For example, to add a new item, do as follows: * <pre> * getKeywords().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link KeywordsType } * * */ public List<KeywordsType> getKeywords() { if (keywords == null) { keywords = new ArrayList<KeywordsType>(); } return this.keywords; } /** * Gets the value of the defaultSRS property. * * @return * possible object is * {@link String } * */ public String getDefaultSRS() { return defaultSRS; } /** * Sets the value of the defaultSRS property. * * @param value * allowed object is * {@link String } * */ public void setDefaultSRS(String value) { this.defaultSRS = value; } /** * Gets the value of the otherSRS 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 otherSRS property. * * <p> * For example, to add a new item, do as follows: * <pre> * getOtherSRS().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link String } * * */ public List<String> getOtherSRS() { if (otherSRS == null) { otherSRS = new ArrayList<String>(); } return this.otherSRS; } /** * Gets the value of the noSRS property. * * @return * possible object is * {@link FeatureTypeType.NoSRS } * */ public FeatureTypeType.NoSRS getNoSRS() { return noSRS; } /** * Sets the value of the noSRS property. * * @param value * allowed object is * {@link FeatureTypeType.NoSRS } * */ public void setNoSRS(FeatureTypeType.NoSRS value) { this.noSRS = value; } /** * Gets the value of the operations property. * * @return * possible object is * {@link OperationsType } * */ public OperationsType getOperations() { return operations; } /** * Sets the value of the operations property. * * @param value * allowed object is * {@link OperationsType } * */ public void setOperations(OperationsType value) { this.operations = value; } /** * Gets the value of the outputFormats property. * * @return * possible object is * {@link OutputFormatListType } * */ public OutputFormatListType getOutputFormats() { return outputFormats; } /** * Sets the value of the outputFormats property. * * @param value * allowed object is * {@link OutputFormatListType } * */ public void setOutputFormats(OutputFormatListType value) { this.outputFormats = value; } /** * Gets the value of the wgs84BoundingBox 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 wgs84BoundingBox property. * * <p> * For example, to add a new item, do as follows: * <pre> * getWGS84BoundingBox().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link WGS84BoundingBoxType } * * */ public List<WGS84BoundingBoxType> getWGS84BoundingBox() { if (wgs84BoundingBox == null) { wgs84BoundingBox = new ArrayList<WGS84BoundingBoxType>(); } return this.wgs84BoundingBox; } /** * Gets the value of the metadataURL 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 metadataURL property. * * <p> * For example, to add a new item, do as follows: * <pre> * getMetadataURL().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link MetadataURLType } * * */ public List<MetadataURLType> getMetadataURL() { if (metadataURL == null) { metadataURL = new ArrayList<MetadataURLType>(); } return this.metadataURL; } public String toString() { final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE; final StringBuilder buffer = new StringBuilder(); append(null, buffer, strategy); return buffer.toString(); } public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { strategy.appendStart(locator, this, buffer); appendFields(locator, buffer, strategy); strategy.appendEnd(locator, this, buffer); return buffer; } public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { { QName theName; theName = this.getName(); strategy.appendField(locator, this, "name", buffer, theName); } { String theTitle; theTitle = this.getTitle(); strategy.appendField(locator, this, "title", buffer, theTitle); } { String theAbstract; theAbstract = this.getAbstract(); strategy.appendField(locator, this, "_abstract", buffer, theAbstract); } { List<KeywordsType> theKeywords; theKeywords = (((this.keywords!= null)&&(!this.keywords.isEmpty()))?this.getKeywords():null); strategy.appendField(locator, this, "keywords", buffer, theKeywords); } { String theDefaultSRS; theDefaultSRS = this.getDefaultSRS(); strategy.appendField(locator, this, "defaultSRS", buffer, theDefaultSRS); } { List<String> theOtherSRS; theOtherSRS = (((this.otherSRS!= null)&&(!this.otherSRS.isEmpty()))?this.getOtherSRS():null); strategy.appendField(locator, this, "otherSRS", buffer, theOtherSRS); } { FeatureTypeType.NoSRS theNoSRS; theNoSRS = this.getNoSRS(); strategy.appendField(locator, this, "noSRS", buffer, theNoSRS); } { OperationsType theOperations; theOperations = this.getOperations(); strategy.appendField(locator, this, "operations", buffer, theOperations); } { OutputFormatListType theOutputFormats; theOutputFormats = this.getOutputFormats(); strategy.appendField(locator, this, "outputFormats", buffer, theOutputFormats); } { List<WGS84BoundingBoxType> theWGS84BoundingBox; theWGS84BoundingBox = (((this.wgs84BoundingBox!= null)&&(!this.wgs84BoundingBox.isEmpty()))?this.getWGS84BoundingBox():null); strategy.appendField(locator, this, "wgs84BoundingBox", buffer, theWGS84BoundingBox); } { List<MetadataURLType> theMetadataURL; theMetadataURL = (((this.metadataURL!= null)&&(!this.metadataURL.isEmpty()))?this.getMetadataURL():null); strategy.appendField(locator, this, "metadataURL", buffer, theMetadataURL); } return buffer; } public void setKeywords(List<KeywordsType> value) { this.keywords = null; List<KeywordsType> draftl = this.getKeywords(); draftl.addAll(value); } public void setOtherSRS(List<String> value) { this.otherSRS = null; List<String> draftl = this.getOtherSRS(); draftl.addAll(value); } public void setWGS84BoundingBox(List<WGS84BoundingBoxType> value) { this.wgs84BoundingBox = null; List<WGS84BoundingBoxType> draftl = this.getWGS84BoundingBox(); draftl.addAll(value); } public void setMetadataURL(List<MetadataURLType> value) { this.metadataURL = null; List<MetadataURLType> draftl = this.getMetadataURL(); draftl.addAll(value); } /** * <p>Java class for anonymous complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "") public static class NoSRS implements ToString { public String toString() { final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE; final StringBuilder buffer = new StringBuilder(); append(null, buffer, strategy); return buffer.toString(); } public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { strategy.appendStart(locator, this, buffer); appendFields(locator, buffer, strategy); strategy.appendEnd(locator, this, buffer); return buffer; } public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { return buffer; } } }