/**
*
* 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 03:12:11 PM CEST
//
package org.geosdi.geoplatform.xml.iso19139.v20070417.gmd;
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.XmlType;
import org.geosdi.geoplatform.xml.iso19139.v20070417.gco.AbstractObjectType;
import org.geosdi.geoplatform.xml.iso19139.v20070417.gco.CharacterStringPropertyType;
import org.geosdi.geoplatform.xml.iso19139.v20070417.gco.DatePropertyType;
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;
/**
* Standardized resource reference
*
* <p>Java class for CI_Citation_Type complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="CI_Citation_Type">
* <complexContent>
* <extension base="{http://www.isotc211.org/2005/gco}AbstractObject_Type">
* <sequence>
* <element name="title" type="{http://www.isotc211.org/2005/gco}CharacterString_PropertyType"/>
* <element name="alternateTitle" type="{http://www.isotc211.org/2005/gco}CharacterString_PropertyType" maxOccurs="unbounded" minOccurs="0"/>
* <element name="date" type="{http://www.isotc211.org/2005/gmd}CI_Date_PropertyType" maxOccurs="unbounded"/>
* <element name="edition" type="{http://www.isotc211.org/2005/gco}CharacterString_PropertyType" minOccurs="0"/>
* <element name="editionDate" type="{http://www.isotc211.org/2005/gco}Date_PropertyType" minOccurs="0"/>
* <element name="identifier" type="{http://www.isotc211.org/2005/gmd}MD_Identifier_PropertyType" maxOccurs="unbounded" minOccurs="0"/>
* <element name="citedResponsibleParty" type="{http://www.isotc211.org/2005/gmd}CI_ResponsibleParty_PropertyType" maxOccurs="unbounded" minOccurs="0"/>
* <element name="presentationForm" type="{http://www.isotc211.org/2005/gmd}CI_PresentationFormCode_PropertyType" maxOccurs="unbounded" minOccurs="0"/>
* <element name="series" type="{http://www.isotc211.org/2005/gmd}CI_Series_PropertyType" minOccurs="0"/>
* <element name="otherCitationDetails" type="{http://www.isotc211.org/2005/gco}CharacterString_PropertyType" minOccurs="0"/>
* <element name="collectiveTitle" type="{http://www.isotc211.org/2005/gco}CharacterString_PropertyType" minOccurs="0"/>
* <element name="ISBN" type="{http://www.isotc211.org/2005/gco}CharacterString_PropertyType" minOccurs="0"/>
* <element name="ISSN" type="{http://www.isotc211.org/2005/gco}CharacterString_PropertyType" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CI_Citation_Type", propOrder = {
"title",
"alternateTitle",
"date",
"edition",
"editionDate",
"identifier",
"citedResponsibleParty",
"presentationForm",
"series",
"otherCitationDetails",
"collectiveTitle",
"isbn",
"issn"
})
public class CICitationType
extends AbstractObjectType
implements ToString
{
@XmlElement(required = true)
protected CharacterStringPropertyType title;
protected List<CharacterStringPropertyType> alternateTitle;
@XmlElement(required = true)
protected List<CIDatePropertyType> date;
protected CharacterStringPropertyType edition;
protected DatePropertyType editionDate;
protected List<MDIdentifierPropertyType> identifier;
protected List<CIResponsiblePartyPropertyType> citedResponsibleParty;
protected List<CIPresentationFormCodePropertyType> presentationForm;
protected CISeriesPropertyType series;
protected CharacterStringPropertyType otherCitationDetails;
protected CharacterStringPropertyType collectiveTitle;
@XmlElement(name = "ISBN")
protected CharacterStringPropertyType isbn;
@XmlElement(name = "ISSN")
protected CharacterStringPropertyType issn;
/**
* Gets the value of the title property.
*
* @return
* possible object is
* {@link CharacterStringPropertyType }
*
*/
public CharacterStringPropertyType getTitle() {
return title;
}
/**
* Sets the value of the title property.
*
* @param value
* allowed object is
* {@link CharacterStringPropertyType }
*
*/
public void setTitle(CharacterStringPropertyType value) {
this.title = value;
}
public boolean isSetTitle() {
return (this.title!= null);
}
/**
* Gets the value of the alternateTitle 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 alternateTitle property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getAlternateTitle().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link CharacterStringPropertyType }
*
*
*/
public List<CharacterStringPropertyType> getAlternateTitle() {
if (alternateTitle == null) {
alternateTitle = new ArrayList<CharacterStringPropertyType>();
}
return this.alternateTitle;
}
public boolean isSetAlternateTitle() {
return ((this.alternateTitle!= null)&&(!this.alternateTitle.isEmpty()));
}
public void unsetAlternateTitle() {
this.alternateTitle = null;
}
/**
* Gets the value of the date 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 date property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getDate().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link CIDatePropertyType }
*
*
*/
public List<CIDatePropertyType> getDate() {
if (date == null) {
date = new ArrayList<CIDatePropertyType>();
}
return this.date;
}
public boolean isSetDate() {
return ((this.date!= null)&&(!this.date.isEmpty()));
}
public void unsetDate() {
this.date = null;
}
/**
* Gets the value of the edition property.
*
* @return
* possible object is
* {@link CharacterStringPropertyType }
*
*/
public CharacterStringPropertyType getEdition() {
return edition;
}
/**
* Sets the value of the edition property.
*
* @param value
* allowed object is
* {@link CharacterStringPropertyType }
*
*/
public void setEdition(CharacterStringPropertyType value) {
this.edition = value;
}
public boolean isSetEdition() {
return (this.edition!= null);
}
/**
* Gets the value of the editionDate property.
*
* @return
* possible object is
* {@link DatePropertyType }
*
*/
public DatePropertyType getEditionDate() {
return editionDate;
}
/**
* Sets the value of the editionDate property.
*
* @param value
* allowed object is
* {@link DatePropertyType }
*
*/
public void setEditionDate(DatePropertyType value) {
this.editionDate = value;
}
public boolean isSetEditionDate() {
return (this.editionDate!= null);
}
/**
* 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 MDIdentifierPropertyType }
*
*
*/
public List<MDIdentifierPropertyType> getIdentifier() {
if (identifier == null) {
identifier = new ArrayList<MDIdentifierPropertyType>();
}
return this.identifier;
}
public boolean isSetIdentifier() {
return ((this.identifier!= null)&&(!this.identifier.isEmpty()));
}
public void unsetIdentifier() {
this.identifier = null;
}
/**
* Gets the value of the citedResponsibleParty 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 citedResponsibleParty property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getCitedResponsibleParty().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link CIResponsiblePartyPropertyType }
*
*
*/
public List<CIResponsiblePartyPropertyType> getCitedResponsibleParty() {
if (citedResponsibleParty == null) {
citedResponsibleParty = new ArrayList<CIResponsiblePartyPropertyType>();
}
return this.citedResponsibleParty;
}
public boolean isSetCitedResponsibleParty() {
return ((this.citedResponsibleParty!= null)&&(!this.citedResponsibleParty.isEmpty()));
}
public void unsetCitedResponsibleParty() {
this.citedResponsibleParty = null;
}
/**
* Gets the value of the presentationForm 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 presentationForm property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getPresentationForm().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link CIPresentationFormCodePropertyType }
*
*
*/
public List<CIPresentationFormCodePropertyType> getPresentationForm() {
if (presentationForm == null) {
presentationForm = new ArrayList<CIPresentationFormCodePropertyType>();
}
return this.presentationForm;
}
public boolean isSetPresentationForm() {
return ((this.presentationForm!= null)&&(!this.presentationForm.isEmpty()));
}
public void unsetPresentationForm() {
this.presentationForm = null;
}
/**
* Gets the value of the series property.
*
* @return
* possible object is
* {@link CISeriesPropertyType }
*
*/
public CISeriesPropertyType getSeries() {
return series;
}
/**
* Sets the value of the series property.
*
* @param value
* allowed object is
* {@link CISeriesPropertyType }
*
*/
public void setSeries(CISeriesPropertyType value) {
this.series = value;
}
public boolean isSetSeries() {
return (this.series!= null);
}
/**
* Gets the value of the otherCitationDetails property.
*
* @return
* possible object is
* {@link CharacterStringPropertyType }
*
*/
public CharacterStringPropertyType getOtherCitationDetails() {
return otherCitationDetails;
}
/**
* Sets the value of the otherCitationDetails property.
*
* @param value
* allowed object is
* {@link CharacterStringPropertyType }
*
*/
public void setOtherCitationDetails(CharacterStringPropertyType value) {
this.otherCitationDetails = value;
}
public boolean isSetOtherCitationDetails() {
return (this.otherCitationDetails!= null);
}
/**
* Gets the value of the collectiveTitle property.
*
* @return
* possible object is
* {@link CharacterStringPropertyType }
*
*/
public CharacterStringPropertyType getCollectiveTitle() {
return collectiveTitle;
}
/**
* Sets the value of the collectiveTitle property.
*
* @param value
* allowed object is
* {@link CharacterStringPropertyType }
*
*/
public void setCollectiveTitle(CharacterStringPropertyType value) {
this.collectiveTitle = value;
}
public boolean isSetCollectiveTitle() {
return (this.collectiveTitle!= null);
}
/**
* Gets the value of the isbn property.
*
* @return
* possible object is
* {@link CharacterStringPropertyType }
*
*/
public CharacterStringPropertyType getISBN() {
return isbn;
}
/**
* Sets the value of the isbn property.
*
* @param value
* allowed object is
* {@link CharacterStringPropertyType }
*
*/
public void setISBN(CharacterStringPropertyType value) {
this.isbn = value;
}
public boolean isSetISBN() {
return (this.isbn!= null);
}
/**
* Gets the value of the issn property.
*
* @return
* possible object is
* {@link CharacterStringPropertyType }
*
*/
public CharacterStringPropertyType getISSN() {
return issn;
}
/**
* Sets the value of the issn property.
*
* @param value
* allowed object is
* {@link CharacterStringPropertyType }
*
*/
public void setISSN(CharacterStringPropertyType value) {
this.issn = value;
}
public boolean isSetISSN() {
return (this.issn!= 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);
{
CharacterStringPropertyType theTitle;
theTitle = this.getTitle();
strategy.appendField(locator, this, "title", buffer, theTitle);
}
{
List<CharacterStringPropertyType> theAlternateTitle;
theAlternateTitle = (this.isSetAlternateTitle()?this.getAlternateTitle():null);
strategy.appendField(locator, this, "alternateTitle", buffer, theAlternateTitle);
}
{
List<CIDatePropertyType> theDate;
theDate = (this.isSetDate()?this.getDate():null);
strategy.appendField(locator, this, "date", buffer, theDate);
}
{
CharacterStringPropertyType theEdition;
theEdition = this.getEdition();
strategy.appendField(locator, this, "edition", buffer, theEdition);
}
{
DatePropertyType theEditionDate;
theEditionDate = this.getEditionDate();
strategy.appendField(locator, this, "editionDate", buffer, theEditionDate);
}
{
List<MDIdentifierPropertyType> theIdentifier;
theIdentifier = (this.isSetIdentifier()?this.getIdentifier():null);
strategy.appendField(locator, this, "identifier", buffer, theIdentifier);
}
{
List<CIResponsiblePartyPropertyType> theCitedResponsibleParty;
theCitedResponsibleParty = (this.isSetCitedResponsibleParty()?this.getCitedResponsibleParty():null);
strategy.appendField(locator, this, "citedResponsibleParty", buffer, theCitedResponsibleParty);
}
{
List<CIPresentationFormCodePropertyType> thePresentationForm;
thePresentationForm = (this.isSetPresentationForm()?this.getPresentationForm():null);
strategy.appendField(locator, this, "presentationForm", buffer, thePresentationForm);
}
{
CISeriesPropertyType theSeries;
theSeries = this.getSeries();
strategy.appendField(locator, this, "series", buffer, theSeries);
}
{
CharacterStringPropertyType theOtherCitationDetails;
theOtherCitationDetails = this.getOtherCitationDetails();
strategy.appendField(locator, this, "otherCitationDetails", buffer, theOtherCitationDetails);
}
{
CharacterStringPropertyType theCollectiveTitle;
theCollectiveTitle = this.getCollectiveTitle();
strategy.appendField(locator, this, "collectiveTitle", buffer, theCollectiveTitle);
}
{
CharacterStringPropertyType theISBN;
theISBN = this.getISBN();
strategy.appendField(locator, this, "isbn", buffer, theISBN);
}
{
CharacterStringPropertyType theISSN;
theISSN = this.getISSN();
strategy.appendField(locator, this, "issn", buffer, theISSN);
}
return buffer;
}
public void setAlternateTitle(List<CharacterStringPropertyType> value) {
this.alternateTitle = null;
List<CharacterStringPropertyType> draftl = this.getAlternateTitle();
draftl.addAll(value);
}
public void setDate(List<CIDatePropertyType> value) {
this.date = null;
List<CIDatePropertyType> draftl = this.getDate();
draftl.addAll(value);
}
public void setIdentifier(List<MDIdentifierPropertyType> value) {
this.identifier = null;
List<MDIdentifierPropertyType> draftl = this.getIdentifier();
draftl.addAll(value);
}
public void setCitedResponsibleParty(List<CIResponsiblePartyPropertyType> value) {
this.citedResponsibleParty = null;
List<CIResponsiblePartyPropertyType> draftl = this.getCitedResponsibleParty();
draftl.addAll(value);
}
public void setPresentationForm(List<CIPresentationFormCodePropertyType> value) {
this.presentationForm = null;
List<CIPresentationFormCodePropertyType> draftl = this.getPresentationForm();
draftl.addAll(value);
}
}