/** * * 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.04.18 at 12:36:36 PM CEST // package org.geosdi.geoplatform.xml.csw.v202; import java.util.ArrayList; import java.util.List; 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.XmlType; import org.geosdi.geoplatform.xml.csw.v202.dc.elements.SimpleLiteral; import org.geosdi.geoplatform.xml.ows.v100.BoundingBoxType; 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; /** * * This type defines a summary representation of the common record * format. It extends AbstractRecordType to include the core * properties. * * * <p>Java class for SummaryRecordType complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="SummaryRecordType"> * <complexContent> * <extension base="{http://www.opengis.net/cat/csw/2.0.2}AbstractRecordType"> * <sequence> * <element ref="{http://purl.org/dc/elements/1.1/}identifier" maxOccurs="unbounded"/> * <element ref="{http://purl.org/dc/elements/1.1/}title" maxOccurs="unbounded"/> * <element ref="{http://purl.org/dc/elements/1.1/}type" minOccurs="0"/> * <element ref="{http://purl.org/dc/elements/1.1/}subject" maxOccurs="unbounded" minOccurs="0"/> * <element ref="{http://purl.org/dc/elements/1.1/}format" maxOccurs="unbounded" minOccurs="0"/> * <element ref="{http://purl.org/dc/elements/1.1/}relation" maxOccurs="unbounded" minOccurs="0"/> * <element ref="{http://purl.org/dc/terms/}modified" maxOccurs="unbounded" minOccurs="0"/> * <element ref="{http://purl.org/dc/terms/}abstract" maxOccurs="unbounded" minOccurs="0"/> * <element ref="{http://purl.org/dc/terms/}spatial" maxOccurs="unbounded" minOccurs="0"/> * <element ref="{http://www.opengis.net/ows}BoundingBox" maxOccurs="unbounded" minOccurs="0"/> * </sequence> * </extension> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "SummaryRecordType", propOrder = { "identifier", "title", "type", "subject", "format", "relation", "modified", "_abstract", "spatial", "boundingBox" }) public class SummaryRecordType extends AbstractRecordType implements ToString { @XmlElementRef(name = "identifier", namespace = "http://purl.org/dc/elements/1.1/", type = JAXBElement.class) protected List<JAXBElement<SimpleLiteral>> identifier; @XmlElementRef(name = "title", namespace = "http://purl.org/dc/elements/1.1/", type = JAXBElement.class) protected List<JAXBElement<SimpleLiteral>> title; @XmlElement(namespace = "http://purl.org/dc/elements/1.1/") protected SimpleLiteral type; @XmlElement(namespace = "http://purl.org/dc/elements/1.1/") protected List<SimpleLiteral> subject; @XmlElementRef(name = "format", namespace = "http://purl.org/dc/elements/1.1/", type = JAXBElement.class) protected List<JAXBElement<SimpleLiteral>> format; @XmlElementRef(name = "relation", namespace = "http://purl.org/dc/elements/1.1/", type = JAXBElement.class) protected List<JAXBElement<SimpleLiteral>> relation; @XmlElement(namespace = "http://purl.org/dc/terms/") protected List<SimpleLiteral> modified; @XmlElement(name = "abstract", namespace = "http://purl.org/dc/terms/") protected List<SimpleLiteral> _abstract; @XmlElement(namespace = "http://purl.org/dc/terms/") protected List<SimpleLiteral> spatial; @XmlElementRef(name = "BoundingBox", namespace = "http://www.opengis.net/ows", type = JAXBElement.class) protected List<JAXBElement<BoundingBoxType>> boundingBox; /** * Gets the value of the identifier 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 identifier property. * * <p> * For example, to add a new item, do as follows: * <pre> * getIdentifier().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link JAXBElement }{@code <}{@link SimpleLiteral }{@code >} * {@link JAXBElement }{@code <}{@link SimpleLiteral }{@code >} * * */ public List<JAXBElement<SimpleLiteral>> getIdentifier() { if (identifier == null) { identifier = new ArrayList<JAXBElement<SimpleLiteral>>(); } return this.identifier; } public boolean isSetIdentifier() { return ((this.identifier!= null)&&(!this.identifier.isEmpty())); } public void unsetIdentifier() { this.identifier = null; } /** * Gets the value of the title 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 title property. * * <p> * For example, to add a new item, do as follows: * <pre> * getTitle().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link JAXBElement }{@code <}{@link SimpleLiteral }{@code >} * {@link JAXBElement }{@code <}{@link SimpleLiteral }{@code >} * * */ public List<JAXBElement<SimpleLiteral>> getTitle() { if (title == null) { title = new ArrayList<JAXBElement<SimpleLiteral>>(); } return this.title; } public boolean isSetTitle() { return ((this.title!= null)&&(!this.title.isEmpty())); } public void unsetTitle() { this.title = null; } /** * Gets the value of the type property. * * @return * possible object is * {@link SimpleLiteral } * */ public SimpleLiteral getType() { return type; } /** * Sets the value of the type property. * * @param value * allowed object is * {@link SimpleLiteral } * */ public void setType(SimpleLiteral value) { this.type = value; } public boolean isSetType() { return (this.type!= null); } /** * Gets the value of the subject 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 subject property. * * <p> * For example, to add a new item, do as follows: * <pre> * getSubject().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link SimpleLiteral } * * */ public List<SimpleLiteral> getSubject() { if (subject == null) { subject = new ArrayList<SimpleLiteral>(); } return this.subject; } public boolean isSetSubject() { return ((this.subject!= null)&&(!this.subject.isEmpty())); } public void unsetSubject() { this.subject = null; } /** * Gets the value of the format 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 format property. * * <p> * For example, to add a new item, do as follows: * <pre> * getFormat().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link JAXBElement }{@code <}{@link SimpleLiteral }{@code >} * {@link JAXBElement }{@code <}{@link SimpleLiteral }{@code >} * {@link JAXBElement }{@code <}{@link SimpleLiteral }{@code >} * * */ public List<JAXBElement<SimpleLiteral>> getFormat() { if (format == null) { format = new ArrayList<JAXBElement<SimpleLiteral>>(); } return this.format; } public boolean isSetFormat() { return ((this.format!= null)&&(!this.format.isEmpty())); } public void unsetFormat() { this.format = null; } /** * Gets the value of the relation 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 relation property. * * <p> * For example, to add a new item, do as follows: * <pre> * getRelation().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link JAXBElement }{@code <}{@link SimpleLiteral }{@code >} * {@link JAXBElement }{@code <}{@link SimpleLiteral }{@code >} * {@link JAXBElement }{@code <}{@link SimpleLiteral }{@code >} * {@link JAXBElement }{@code <}{@link SimpleLiteral }{@code >} * {@link JAXBElement }{@code <}{@link SimpleLiteral }{@code >} * {@link JAXBElement }{@code <}{@link SimpleLiteral }{@code >} * {@link JAXBElement }{@code <}{@link SimpleLiteral }{@code >} * {@link JAXBElement }{@code <}{@link SimpleLiteral }{@code >} * {@link JAXBElement }{@code <}{@link SimpleLiteral }{@code >} * {@link JAXBElement }{@code <}{@link SimpleLiteral }{@code >} * {@link JAXBElement }{@code <}{@link SimpleLiteral }{@code >} * {@link JAXBElement }{@code <}{@link SimpleLiteral }{@code >} * {@link JAXBElement }{@code <}{@link SimpleLiteral }{@code >} * {@link JAXBElement }{@code <}{@link SimpleLiteral }{@code >} * * */ public List<JAXBElement<SimpleLiteral>> getRelation() { if (relation == null) { relation = new ArrayList<JAXBElement<SimpleLiteral>>(); } return this.relation; } public boolean isSetRelation() { return ((this.relation!= null)&&(!this.relation.isEmpty())); } public void unsetRelation() { this.relation = null; } /** * Gets the value of the modified 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 modified property. * * <p> * For example, to add a new item, do as follows: * <pre> * getModified().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link SimpleLiteral } * * */ public List<SimpleLiteral> getModified() { if (modified == null) { modified = new ArrayList<SimpleLiteral>(); } return this.modified; } public boolean isSetModified() { return ((this.modified!= null)&&(!this.modified.isEmpty())); } public void unsetModified() { this.modified = null; } /** * Gets the value of the abstract 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 abstract property. * * <p> * For example, to add a new item, do as follows: * <pre> * getAbstract().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link SimpleLiteral } * * */ public List<SimpleLiteral> getAbstract() { if (_abstract == null) { _abstract = new ArrayList<SimpleLiteral>(); } return this._abstract; } public boolean isSetAbstract() { return ((this._abstract!= null)&&(!this._abstract.isEmpty())); } public void unsetAbstract() { this._abstract = null; } /** * Gets the value of the spatial 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 spatial property. * * <p> * For example, to add a new item, do as follows: * <pre> * getSpatial().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link SimpleLiteral } * * */ public List<SimpleLiteral> getSpatial() { if (spatial == null) { spatial = new ArrayList<SimpleLiteral>(); } return this.spatial; } public boolean isSetSpatial() { return ((this.spatial!= null)&&(!this.spatial.isEmpty())); } public void unsetSpatial() { this.spatial = null; } /** * Gets the value of the boundingBox 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 boundingBox property. * * <p> * For example, to add a new item, do as follows: * <pre> * getBoundingBox().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link JAXBElement }{@code <}{@link BoundingBoxType }{@code >} * * */ public List<JAXBElement<BoundingBoxType>> getBoundingBox() { if (boundingBox == null) { boundingBox = new ArrayList<JAXBElement<BoundingBoxType>>(); } return this.boundingBox; } public boolean isSetBoundingBox() { return ((this.boundingBox!= null)&&(!this.boundingBox.isEmpty())); } public void unsetBoundingBox() { this.boundingBox = null; } 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) { super.appendFields(locator, buffer, strategy); { List<JAXBElement<SimpleLiteral>> theIdentifier; theIdentifier = (this.isSetIdentifier()?this.getIdentifier():null); strategy.appendField(locator, this, "identifier", buffer, theIdentifier); } { List<JAXBElement<SimpleLiteral>> theTitle; theTitle = (this.isSetTitle()?this.getTitle():null); strategy.appendField(locator, this, "title", buffer, theTitle); } { SimpleLiteral theType; theType = this.getType(); strategy.appendField(locator, this, "type", buffer, theType); } { List<SimpleLiteral> theSubject; theSubject = (this.isSetSubject()?this.getSubject():null); strategy.appendField(locator, this, "subject", buffer, theSubject); } { List<JAXBElement<SimpleLiteral>> theFormat; theFormat = (this.isSetFormat()?this.getFormat():null); strategy.appendField(locator, this, "format", buffer, theFormat); } { List<JAXBElement<SimpleLiteral>> theRelation; theRelation = (this.isSetRelation()?this.getRelation():null); strategy.appendField(locator, this, "relation", buffer, theRelation); } { List<SimpleLiteral> theModified; theModified = (this.isSetModified()?this.getModified():null); strategy.appendField(locator, this, "modified", buffer, theModified); } { List<SimpleLiteral> theAbstract; theAbstract = (this.isSetAbstract()?this.getAbstract():null); strategy.appendField(locator, this, "_abstract", buffer, theAbstract); } { List<SimpleLiteral> theSpatial; theSpatial = (this.isSetSpatial()?this.getSpatial():null); strategy.appendField(locator, this, "spatial", buffer, theSpatial); } { List<JAXBElement<BoundingBoxType>> theBoundingBox; theBoundingBox = (this.isSetBoundingBox()?this.getBoundingBox():null); strategy.appendField(locator, this, "boundingBox", buffer, theBoundingBox); } return buffer; } public void setIdentifier(List<JAXBElement<SimpleLiteral>> value) { this.identifier = null; List<JAXBElement<SimpleLiteral>> draftl = this.getIdentifier(); draftl.addAll(value); } public void setTitle(List<JAXBElement<SimpleLiteral>> value) { this.title = null; List<JAXBElement<SimpleLiteral>> draftl = this.getTitle(); draftl.addAll(value); } public void setSubject(List<SimpleLiteral> value) { this.subject = null; List<SimpleLiteral> draftl = this.getSubject(); draftl.addAll(value); } public void setFormat(List<JAXBElement<SimpleLiteral>> value) { this.format = null; List<JAXBElement<SimpleLiteral>> draftl = this.getFormat(); draftl.addAll(value); } public void setRelation(List<JAXBElement<SimpleLiteral>> value) { this.relation = null; List<JAXBElement<SimpleLiteral>> draftl = this.getRelation(); draftl.addAll(value); } public void setModified(List<SimpleLiteral> value) { this.modified = null; List<SimpleLiteral> draftl = this.getModified(); draftl.addAll(value); } public void setAbstract(List<SimpleLiteral> value) { this._abstract = null; List<SimpleLiteral> draftl = this.getAbstract(); draftl.addAll(value); } public void setSpatial(List<SimpleLiteral> value) { this.spatial = null; List<SimpleLiteral> draftl = this.getSpatial(); draftl.addAll(value); } public void setBoundingBox(List<JAXBElement<BoundingBoxType>> value) { this.boundingBox = null; List<JAXBElement<BoundingBoxType>> draftl = this.getBoundingBox(); draftl.addAll(value); } }