/*******************************************************************************
* Australian National University Data Commons
* Copyright (C) 2013 The Australian National University
*
* This file is part of Australian National University Data Commons.
*
* Australian National University Data Commons 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/>.
******************************************************************************/
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
// 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.04 at 12:06:16 PM EST
//
package org.datacite.schema.kernel_2;
import java.io.Serializable;
import java.math.BigInteger;
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.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlElementRefs;
import javax.xml.bind.annotation.XmlMixed;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.XmlValue;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import javax.xml.datatype.XMLGregorianCalendar;
/**
* <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">
* <sequence>
* <element name="identifier">
* <complexType>
* <simpleContent>
* <extension base="<http://datacite.org/schema/kernel-2.2>doiType">
* <attribute name="identifierType" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" fixed="DOI" />
* </extension>
* </simpleContent>
* </complexType>
* </element>
* <element name="creators">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="creator" maxOccurs="unbounded">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="creatorName">
* <simpleType>
* <restriction base="{http://datacite.org/schema/kernel-2.2}nonemptycontentStringType">
* </restriction>
* </simpleType>
* </element>
* <element name="nameIdentifier" minOccurs="0">
* <complexType>
* <simpleContent>
* <extension base="<http://datacite.org/schema/kernel-2.2>nonemptycontentStringType">
* <attribute name="nameIdentifierScheme" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
* </extension>
* </simpleContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="titles">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="title" maxOccurs="unbounded">
* <complexType>
* <simpleContent>
* <extension base="<http://datacite.org/schema/kernel-2.2>nonemptycontentStringType">
* <attribute name="titleType" type="{http://datacite.org/schema/kernel-2.2}titleType" />
* </extension>
* </simpleContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="publisher">
* <simpleType>
* <restriction base="{http://datacite.org/schema/kernel-2.2}nonemptycontentStringType">
* </restriction>
* </simpleType>
* </element>
* <element name="publicationYear">
* <simpleType>
* <restriction base="{http://datacite.org/schema/kernel-2.2}yearType">
* </restriction>
* </simpleType>
* </element>
* <element name="subjects" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="subject" maxOccurs="unbounded">
* <complexType>
* <simpleContent>
* <extension base="<http://www.w3.org/2001/XMLSchema>string">
* <attribute name="subjectScheme" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
* </extension>
* </simpleContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="contributors" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="contributor" maxOccurs="unbounded">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="contributorName">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <minLength value="1"/>
* </restriction>
* </simpleType>
* </element>
* <element name="nameIdentifier" minOccurs="0">
* <complexType>
* <simpleContent>
* <extension base="<http://www.w3.org/2001/XMLSchema>string">
* <attribute name="nameIdentifierScheme" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
* </extension>
* </simpleContent>
* </complexType>
* </element>
* </sequence>
* <attribute name="contributorType" use="required" type="{http://datacite.org/schema/kernel-2.2}contributorType" />
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="dates" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="date" maxOccurs="unbounded">
* <complexType>
* <simpleContent>
* <extension base="<http://www.w3.org/2001/XMLSchema>string">
* <attribute name="dateType" use="required" type="{http://datacite.org/schema/kernel-2.2}dateType" />
* </extension>
* </simpleContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="language" type="{http://www.w3.org/2001/XMLSchema}language" minOccurs="0"/>
* <element name="resourceType" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="resourceTypeGeneral" use="required" type="{http://datacite.org/schema/kernel-2.2}resourceType" />
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="alternateIdentifiers" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="alternateIdentifier" maxOccurs="unbounded">
* <complexType>
* <simpleContent>
* <extension base="<http://www.w3.org/2001/XMLSchema>string">
* <attribute name="alternateIdentifierType" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
* </extension>
* </simpleContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="relatedIdentifiers" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="relatedIdentifier" maxOccurs="unbounded">
* <complexType>
* <simpleContent>
* <extension base="<http://www.w3.org/2001/XMLSchema>string">
* <attribute name="relatedIdentifierType" use="required" type="{http://datacite.org/schema/kernel-2.2}relatedIdentifierType" />
* <attribute name="relationType" use="required" type="{http://datacite.org/schema/kernel-2.2}relationType" />
* </extension>
* </simpleContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="sizes" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="size" type="{http://www.w3.org/2001/XMLSchema}anyType" maxOccurs="unbounded"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="formats" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="format" type="{http://www.w3.org/2001/XMLSchema}anyType" maxOccurs="unbounded"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="version" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="rights" type="{http://www.w3.org/2001/XMLSchema}anyType" minOccurs="0"/>
* <element name="descriptions" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="description" maxOccurs="unbounded">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <choice>
* <element name="br" maxOccurs="unbounded" minOccurs="0">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <length value="0"/>
* </restriction>
* </simpleType>
* </element>
* </choice>
* <attribute name="descriptionType" use="required" type="{http://datacite.org/schema/kernel-2.2}descriptionType" />
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* <attribute name="lastMetadataUpdate" type="{http://www.w3.org/2001/XMLSchema}date" />
* <attribute name="metadataVersionNumber" type="{http://www.w3.org/2001/XMLSchema}integer" />
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"identifier",
"creators",
"titles",
"publisher",
"publicationYear",
"subjects",
"contributors",
"dates",
"language",
"resourceType",
"alternateIdentifiers",
"relatedIdentifiers",
"sizes",
"formats",
"version",
"rights",
"descriptions"
})
@XmlRootElement(name = "resource")
public class Resource {
@XmlElement(required = true)
protected Resource.Identifier identifier;
@XmlElement(required = true)
protected Resource.Creators creators;
@XmlElement(required = true)
protected Resource.Titles titles;
@XmlElement(required = true)
protected String publisher;
@XmlElement(required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String publicationYear;
protected Resource.Subjects subjects;
protected Resource.Contributors contributors;
protected Resource.Dates dates;
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "language")
protected String language;
protected Resource.ResourceType resourceType;
protected Resource.AlternateIdentifiers alternateIdentifiers;
protected Resource.RelatedIdentifiers relatedIdentifiers;
protected Resource.Sizes sizes;
protected Resource.Formats formats;
protected String version;
protected Object rights;
protected Resource.Descriptions descriptions;
@XmlAttribute(name = "lastMetadataUpdate")
@XmlSchemaType(name = "date")
protected XMLGregorianCalendar lastMetadataUpdate;
@XmlAttribute(name = "metadataVersionNumber")
protected BigInteger metadataVersionNumber;
/**
* Gets the value of the identifier property.
*
* @return
* possible object is
* {@link Resource.Identifier }
*
*/
public Resource.Identifier getIdentifier() {
return identifier;
}
/**
* Sets the value of the identifier property.
*
* @param value
* allowed object is
* {@link Resource.Identifier }
*
*/
public void setIdentifier(Resource.Identifier value) {
this.identifier = value;
}
/**
* Gets the value of the creators property.
*
* @return
* possible object is
* {@link Resource.Creators }
*
*/
public Resource.Creators getCreators() {
return creators;
}
/**
* Sets the value of the creators property.
*
* @param value
* allowed object is
* {@link Resource.Creators }
*
*/
public void setCreators(Resource.Creators value) {
this.creators = value;
}
/**
* Gets the value of the titles property.
*
* @return
* possible object is
* {@link Resource.Titles }
*
*/
public Resource.Titles getTitles() {
return titles;
}
/**
* Sets the value of the titles property.
*
* @param value
* allowed object is
* {@link Resource.Titles }
*
*/
public void setTitles(Resource.Titles value) {
this.titles = value;
}
/**
* Gets the value of the publisher property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPublisher() {
return publisher;
}
/**
* Sets the value of the publisher property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setPublisher(String value) {
this.publisher = value;
}
/**
* Gets the value of the publicationYear property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPublicationYear() {
return publicationYear;
}
/**
* Sets the value of the publicationYear property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setPublicationYear(String value) {
this.publicationYear = value;
}
/**
* Gets the value of the subjects property.
*
* @return
* possible object is
* {@link Resource.Subjects }
*
*/
public Resource.Subjects getSubjects() {
return subjects;
}
/**
* Sets the value of the subjects property.
*
* @param value
* allowed object is
* {@link Resource.Subjects }
*
*/
public void setSubjects(Resource.Subjects value) {
this.subjects = value;
}
/**
* Gets the value of the contributors property.
*
* @return
* possible object is
* {@link Resource.Contributors }
*
*/
public Resource.Contributors getContributors() {
return contributors;
}
/**
* Sets the value of the contributors property.
*
* @param value
* allowed object is
* {@link Resource.Contributors }
*
*/
public void setContributors(Resource.Contributors value) {
this.contributors = value;
}
/**
* Gets the value of the dates property.
*
* @return
* possible object is
* {@link Resource.Dates }
*
*/
public Resource.Dates getDates() {
return dates;
}
/**
* Sets the value of the dates property.
*
* @param value
* allowed object is
* {@link Resource.Dates }
*
*/
public void setDates(Resource.Dates value) {
this.dates = value;
}
/**
* Gets the value of the language property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getLanguage() {
return language;
}
/**
* Sets the value of the language property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLanguage(String value) {
this.language = value;
}
/**
* Gets the value of the resourceType property.
*
* @return
* possible object is
* {@link Resource.ResourceType }
*
*/
public Resource.ResourceType getResourceType() {
return resourceType;
}
/**
* Sets the value of the resourceType property.
*
* @param value
* allowed object is
* {@link Resource.ResourceType }
*
*/
public void setResourceType(Resource.ResourceType value) {
this.resourceType = value;
}
/**
* Gets the value of the alternateIdentifiers property.
*
* @return
* possible object is
* {@link Resource.AlternateIdentifiers }
*
*/
public Resource.AlternateIdentifiers getAlternateIdentifiers() {
return alternateIdentifiers;
}
/**
* Sets the value of the alternateIdentifiers property.
*
* @param value
* allowed object is
* {@link Resource.AlternateIdentifiers }
*
*/
public void setAlternateIdentifiers(Resource.AlternateIdentifiers value) {
this.alternateIdentifiers = value;
}
/**
* Gets the value of the relatedIdentifiers property.
*
* @return
* possible object is
* {@link Resource.RelatedIdentifiers }
*
*/
public Resource.RelatedIdentifiers getRelatedIdentifiers() {
return relatedIdentifiers;
}
/**
* Sets the value of the relatedIdentifiers property.
*
* @param value
* allowed object is
* {@link Resource.RelatedIdentifiers }
*
*/
public void setRelatedIdentifiers(Resource.RelatedIdentifiers value) {
this.relatedIdentifiers = value;
}
/**
* Gets the value of the sizes property.
*
* @return
* possible object is
* {@link Resource.Sizes }
*
*/
public Resource.Sizes getSizes() {
return sizes;
}
/**
* Sets the value of the sizes property.
*
* @param value
* allowed object is
* {@link Resource.Sizes }
*
*/
public void setSizes(Resource.Sizes value) {
this.sizes = value;
}
/**
* Gets the value of the formats property.
*
* @return
* possible object is
* {@link Resource.Formats }
*
*/
public Resource.Formats getFormats() {
return formats;
}
/**
* Sets the value of the formats property.
*
* @param value
* allowed object is
* {@link Resource.Formats }
*
*/
public void setFormats(Resource.Formats value) {
this.formats = value;
}
/**
* Gets the value of the version property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getVersion() {
return version;
}
/**
* Sets the value of the version property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setVersion(String value) {
this.version = value;
}
/**
* Gets the value of the rights property.
*
* @return
* possible object is
* {@link Object }
*
*/
public Object getRights() {
return rights;
}
/**
* Sets the value of the rights property.
*
* @param value
* allowed object is
* {@link Object }
*
*/
public void setRights(Object value) {
this.rights = value;
}
/**
* Gets the value of the descriptions property.
*
* @return
* possible object is
* {@link Resource.Descriptions }
*
*/
public Resource.Descriptions getDescriptions() {
return descriptions;
}
/**
* Sets the value of the descriptions property.
*
* @param value
* allowed object is
* {@link Resource.Descriptions }
*
*/
public void setDescriptions(Resource.Descriptions value) {
this.descriptions = value;
}
/**
* Gets the value of the lastMetadataUpdate property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getLastMetadataUpdate() {
return lastMetadataUpdate;
}
/**
* Sets the value of the lastMetadataUpdate property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setLastMetadataUpdate(XMLGregorianCalendar value) {
this.lastMetadataUpdate = value;
}
/**
* Gets the value of the metadataVersionNumber property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getMetadataVersionNumber() {
return metadataVersionNumber;
}
/**
* Sets the value of the metadataVersionNumber property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setMetadataVersionNumber(BigInteger value) {
this.metadataVersionNumber = 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">
* <sequence>
* <element name="alternateIdentifier" maxOccurs="unbounded">
* <complexType>
* <simpleContent>
* <extension base="<http://www.w3.org/2001/XMLSchema>string">
* <attribute name="alternateIdentifierType" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
* </extension>
* </simpleContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"alternateIdentifier"
})
public static class AlternateIdentifiers {
@XmlElement(required = true)
protected List<Resource.AlternateIdentifiers.AlternateIdentifier> alternateIdentifier;
/**
* Gets the value of the alternateIdentifier 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 alternateIdentifier property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getAlternateIdentifier().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Resource.AlternateIdentifiers.AlternateIdentifier }
*
*
*/
public List<Resource.AlternateIdentifiers.AlternateIdentifier> getAlternateIdentifier() {
if (alternateIdentifier == null) {
alternateIdentifier = new ArrayList<Resource.AlternateIdentifiers.AlternateIdentifier>();
}
return this.alternateIdentifier;
}
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType>
* <simpleContent>
* <extension base="<http://www.w3.org/2001/XMLSchema>string">
* <attribute name="alternateIdentifierType" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
* </extension>
* </simpleContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"value"
})
public static class AlternateIdentifier {
@XmlValue
protected String value;
@XmlAttribute(name = "alternateIdentifierType", required = true)
@XmlSchemaType(name = "anySimpleType")
protected String alternateIdentifierType;
/**
* Gets the value of the value property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getValue() {
return value;
}
/**
* Sets the value of the value property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setValue(String value) {
this.value = value;
}
/**
* Gets the value of the alternateIdentifierType property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAlternateIdentifierType() {
return alternateIdentifierType;
}
/**
* Sets the value of the alternateIdentifierType property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAlternateIdentifierType(String value) {
this.alternateIdentifierType = 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">
* <sequence>
* <element name="contributor" maxOccurs="unbounded">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="contributorName">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <minLength value="1"/>
* </restriction>
* </simpleType>
* </element>
* <element name="nameIdentifier" minOccurs="0">
* <complexType>
* <simpleContent>
* <extension base="<http://www.w3.org/2001/XMLSchema>string">
* <attribute name="nameIdentifierScheme" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
* </extension>
* </simpleContent>
* </complexType>
* </element>
* </sequence>
* <attribute name="contributorType" use="required" type="{http://datacite.org/schema/kernel-2.2}contributorType" />
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"contributor"
})
public static class Contributors {
@XmlElement(required = true)
protected List<Resource.Contributors.Contributor> contributor;
/**
* Gets the value of the contributor 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 contributor property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getContributor().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Resource.Contributors.Contributor }
*
*
*/
public List<Resource.Contributors.Contributor> getContributor() {
if (contributor == null) {
contributor = new ArrayList<Resource.Contributors.Contributor>();
}
return this.contributor;
}
/**
* <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">
* <sequence>
* <element name="contributorName">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <minLength value="1"/>
* </restriction>
* </simpleType>
* </element>
* <element name="nameIdentifier" minOccurs="0">
* <complexType>
* <simpleContent>
* <extension base="<http://www.w3.org/2001/XMLSchema>string">
* <attribute name="nameIdentifierScheme" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
* </extension>
* </simpleContent>
* </complexType>
* </element>
* </sequence>
* <attribute name="contributorType" use="required" type="{http://datacite.org/schema/kernel-2.2}contributorType" />
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"content"
})
public static class Contributor {
@XmlElementRefs({
@XmlElementRef(name = "nameIdentifier", namespace = "http://datacite.org/schema/kernel-2.2", type = JAXBElement.class),
@XmlElementRef(name = "contributorName", namespace = "http://datacite.org/schema/kernel-2.2", type = JAXBElement.class)
})
@XmlMixed
protected List<Serializable> content;
@XmlAttribute(name = "contributorType", required = true)
protected ContributorType contributorType;
/**
* Gets the value of the content 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 content property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getContent().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link String }
* {@link JAXBElement }{@code <}{@link Resource.Contributors.Contributor.NameIdentifier }{@code >}
* {@link JAXBElement }{@code <}{@link String }{@code >}
*
*
*/
public List<Serializable> getContent() {
if (content == null) {
content = new ArrayList<Serializable>();
}
return this.content;
}
/**
* Gets the value of the contributorType property.
*
* @return
* possible object is
* {@link ContributorType }
*
*/
public ContributorType getContributorType() {
return contributorType;
}
/**
* Sets the value of the contributorType property.
*
* @param value
* allowed object is
* {@link ContributorType }
*
*/
public void setContributorType(ContributorType value) {
this.contributorType = value;
}
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType>
* <simpleContent>
* <extension base="<http://www.w3.org/2001/XMLSchema>string">
* <attribute name="nameIdentifierScheme" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
* </extension>
* </simpleContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"value"
})
public static class NameIdentifier {
@XmlValue
protected String value;
@XmlAttribute(name = "nameIdentifierScheme", required = true)
@XmlSchemaType(name = "anySimpleType")
protected String nameIdentifierScheme;
/**
* Gets the value of the value property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getValue() {
return value;
}
/**
* Sets the value of the value property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setValue(String value) {
this.value = value;
}
/**
* Gets the value of the nameIdentifierScheme property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getNameIdentifierScheme() {
return nameIdentifierScheme;
}
/**
* Sets the value of the nameIdentifierScheme property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setNameIdentifierScheme(String value) {
this.nameIdentifierScheme = 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">
* <sequence>
* <element name="creator" maxOccurs="unbounded">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="creatorName">
* <simpleType>
* <restriction base="{http://datacite.org/schema/kernel-2.2}nonemptycontentStringType">
* </restriction>
* </simpleType>
* </element>
* <element name="nameIdentifier" minOccurs="0">
* <complexType>
* <simpleContent>
* <extension base="<http://datacite.org/schema/kernel-2.2>nonemptycontentStringType">
* <attribute name="nameIdentifierScheme" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
* </extension>
* </simpleContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"creator"
})
public static class Creators {
@XmlElement(required = true)
protected List<Resource.Creators.Creator> creator;
/**
* Gets the value of the creator 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 creator property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getCreator().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Resource.Creators.Creator }
*
*
*/
public List<Resource.Creators.Creator> getCreator() {
if (creator == null) {
creator = new ArrayList<Resource.Creators.Creator>();
}
return this.creator;
}
/**
* <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">
* <sequence>
* <element name="creatorName">
* <simpleType>
* <restriction base="{http://datacite.org/schema/kernel-2.2}nonemptycontentStringType">
* </restriction>
* </simpleType>
* </element>
* <element name="nameIdentifier" minOccurs="0">
* <complexType>
* <simpleContent>
* <extension base="<http://datacite.org/schema/kernel-2.2>nonemptycontentStringType">
* <attribute name="nameIdentifierScheme" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
* </extension>
* </simpleContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"creatorName",
"nameIdentifier"
})
public static class Creator {
@XmlElement(required = true)
protected String creatorName;
protected Resource.Creators.Creator.NameIdentifier nameIdentifier;
/**
* Gets the value of the creatorName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCreatorName() {
return creatorName;
}
/**
* Sets the value of the creatorName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCreatorName(String value) {
this.creatorName = value;
}
/**
* Gets the value of the nameIdentifier property.
*
* @return
* possible object is
* {@link Resource.Creators.Creator.NameIdentifier }
*
*/
public Resource.Creators.Creator.NameIdentifier getNameIdentifier() {
return nameIdentifier;
}
/**
* Sets the value of the nameIdentifier property.
*
* @param value
* allowed object is
* {@link Resource.Creators.Creator.NameIdentifier }
*
*/
public void setNameIdentifier(Resource.Creators.Creator.NameIdentifier value) {
this.nameIdentifier = value;
}
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType>
* <simpleContent>
* <extension base="<http://datacite.org/schema/kernel-2.2>nonemptycontentStringType">
* <attribute name="nameIdentifierScheme" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
* </extension>
* </simpleContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"value"
})
public static class NameIdentifier {
@XmlValue
protected String value;
@XmlAttribute(name = "nameIdentifierScheme", required = true)
@XmlSchemaType(name = "anySimpleType")
protected String nameIdentifierScheme;
/**
* Gets the value of the value property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getValue() {
return value;
}
/**
* Sets the value of the value property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setValue(String value) {
this.value = value;
}
/**
* Gets the value of the nameIdentifierScheme property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getNameIdentifierScheme() {
return nameIdentifierScheme;
}
/**
* Sets the value of the nameIdentifierScheme property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setNameIdentifierScheme(String value) {
this.nameIdentifierScheme = 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">
* <sequence>
* <element name="date" maxOccurs="unbounded">
* <complexType>
* <simpleContent>
* <extension base="<http://www.w3.org/2001/XMLSchema>string">
* <attribute name="dateType" use="required" type="{http://datacite.org/schema/kernel-2.2}dateType" />
* </extension>
* </simpleContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"date"
})
public static class Dates {
@XmlElement(required = true)
protected List<Resource.Dates.Date> date;
/**
* 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 Resource.Dates.Date }
*
*
*/
public List<Resource.Dates.Date> getDate() {
if (date == null) {
date = new ArrayList<Resource.Dates.Date>();
}
return this.date;
}
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType>
* <simpleContent>
* <extension base="<http://www.w3.org/2001/XMLSchema>string">
* <attribute name="dateType" use="required" type="{http://datacite.org/schema/kernel-2.2}dateType" />
* </extension>
* </simpleContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"value"
})
public static class Date {
@XmlValue
protected String value;
@XmlAttribute(name = "dateType", required = true)
protected DateType dateType;
/**
* Gets the value of the value property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getValue() {
return value;
}
/**
* Sets the value of the value property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setValue(String value) {
this.value = value;
}
/**
* Gets the value of the dateType property.
*
* @return
* possible object is
* {@link DateType }
*
*/
public DateType getDateType() {
return dateType;
}
/**
* Sets the value of the dateType property.
*
* @param value
* allowed object is
* {@link DateType }
*
*/
public void setDateType(DateType value) {
this.dateType = 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">
* <sequence>
* <element name="description" maxOccurs="unbounded">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <choice>
* <element name="br" maxOccurs="unbounded" minOccurs="0">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <length value="0"/>
* </restriction>
* </simpleType>
* </element>
* </choice>
* <attribute name="descriptionType" use="required" type="{http://datacite.org/schema/kernel-2.2}descriptionType" />
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"description"
})
public static class Descriptions {
@XmlElement(required = true)
protected List<Resource.Descriptions.Description> description;
/**
* Gets the value of the description 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 description property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getDescription().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Resource.Descriptions.Description }
*
*
*/
public List<Resource.Descriptions.Description> getDescription() {
if (description == null) {
description = new ArrayList<Resource.Descriptions.Description>();
}
return this.description;
}
/**
* <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">
* <choice>
* <element name="br" maxOccurs="unbounded" minOccurs="0">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <length value="0"/>
* </restriction>
* </simpleType>
* </element>
* </choice>
* <attribute name="descriptionType" use="required" type="{http://datacite.org/schema/kernel-2.2}descriptionType" />
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"content"
})
public static class Description {
@XmlElementRef(name = "br", namespace = "http://datacite.org/schema/kernel-2.2", type = JAXBElement.class, required = false)
@XmlMixed
protected List<Serializable> content;
@XmlAttribute(name = "descriptionType", required = true)
protected DescriptionType descriptionType;
/**
* Gets the value of the content 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 content property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getContent().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link JAXBElement }{@code <}{@link String }{@code >}
* {@link String }
*
*
*/
public List<Serializable> getContent() {
if (content == null) {
content = new ArrayList<Serializable>();
}
return this.content;
}
/**
* Gets the value of the descriptionType property.
*
* @return
* possible object is
* {@link DescriptionType }
*
*/
public DescriptionType getDescriptionType() {
return descriptionType;
}
/**
* Sets the value of the descriptionType property.
*
* @param value
* allowed object is
* {@link DescriptionType }
*
*/
public void setDescriptionType(DescriptionType value) {
this.descriptionType = 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">
* <sequence>
* <element name="format" type="{http://www.w3.org/2001/XMLSchema}anyType" maxOccurs="unbounded"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"format"
})
public static class Formats {
@XmlElement(required = true)
protected List<Object> format;
/**
* 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 Object }
*
*
*/
public List<Object> getFormat() {
if (format == null) {
format = new ArrayList<Object>();
}
return this.format;
}
}
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType>
* <simpleContent>
* <extension base="<http://datacite.org/schema/kernel-2.2>doiType">
* <attribute name="identifierType" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" fixed="DOI" />
* </extension>
* </simpleContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"value"
})
public static class Identifier {
@XmlValue
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String value;
@XmlAttribute(name = "identifierType", required = true)
@XmlSchemaType(name = "anySimpleType")
protected String identifierType;
/**
* Gets the value of the value property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getValue() {
return value;
}
/**
* Sets the value of the value property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setValue(String value) {
this.value = value;
}
/**
* Gets the value of the identifierType property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getIdentifierType() {
if (identifierType == null) {
return "DOI";
} else {
return identifierType;
}
}
/**
* Sets the value of the identifierType property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setIdentifierType(String value) {
this.identifierType = 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">
* <sequence>
* <element name="relatedIdentifier" maxOccurs="unbounded">
* <complexType>
* <simpleContent>
* <extension base="<http://www.w3.org/2001/XMLSchema>string">
* <attribute name="relatedIdentifierType" use="required" type="{http://datacite.org/schema/kernel-2.2}relatedIdentifierType" />
* <attribute name="relationType" use="required" type="{http://datacite.org/schema/kernel-2.2}relationType" />
* </extension>
* </simpleContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"relatedIdentifier"
})
public static class RelatedIdentifiers {
@XmlElement(required = true)
protected List<Resource.RelatedIdentifiers.RelatedIdentifier> relatedIdentifier;
/**
* Gets the value of the relatedIdentifier 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 relatedIdentifier property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getRelatedIdentifier().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Resource.RelatedIdentifiers.RelatedIdentifier }
*
*
*/
public List<Resource.RelatedIdentifiers.RelatedIdentifier> getRelatedIdentifier() {
if (relatedIdentifier == null) {
relatedIdentifier = new ArrayList<Resource.RelatedIdentifiers.RelatedIdentifier>();
}
return this.relatedIdentifier;
}
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType>
* <simpleContent>
* <extension base="<http://www.w3.org/2001/XMLSchema>string">
* <attribute name="relatedIdentifierType" use="required" type="{http://datacite.org/schema/kernel-2.2}relatedIdentifierType" />
* <attribute name="relationType" use="required" type="{http://datacite.org/schema/kernel-2.2}relationType" />
* </extension>
* </simpleContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"value"
})
public static class RelatedIdentifier {
@XmlValue
protected String value;
@XmlAttribute(name = "relatedIdentifierType", required = true)
protected RelatedIdentifierType relatedIdentifierType;
@XmlAttribute(name = "relationType", required = true)
protected RelationType relationType;
/**
* Gets the value of the value property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getValue() {
return value;
}
/**
* Sets the value of the value property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setValue(String value) {
this.value = value;
}
/**
* Gets the value of the relatedIdentifierType property.
*
* @return
* possible object is
* {@link RelatedIdentifierType }
*
*/
public RelatedIdentifierType getRelatedIdentifierType() {
return relatedIdentifierType;
}
/**
* Sets the value of the relatedIdentifierType property.
*
* @param value
* allowed object is
* {@link RelatedIdentifierType }
*
*/
public void setRelatedIdentifierType(RelatedIdentifierType value) {
this.relatedIdentifierType = value;
}
/**
* Gets the value of the relationType property.
*
* @return
* possible object is
* {@link RelationType }
*
*/
public RelationType getRelationType() {
return relationType;
}
/**
* Sets the value of the relationType property.
*
* @param value
* allowed object is
* {@link RelationType }
*
*/
public void setRelationType(RelationType value) {
this.relationType = value;
}
}
}
/**
* Use this attribute to choose the general type of the resource from the controlled list.
*
* <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">
* <attribute name="resourceTypeGeneral" use="required" type="{http://datacite.org/schema/kernel-2.2}resourceType" />
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"content"
})
public static class ResourceType {
@XmlValue
protected String content;
@XmlAttribute(name = "resourceTypeGeneral", required = true)
protected org.datacite.schema.kernel_2.ResourceType resourceTypeGeneral;
/**
* Use this attribute to choose the general type of the resource from the controlled list.
*
* @return
* possible object is
* {@link String }
*
*/
public String getContent() {
return content;
}
/**
* Sets the value of the content property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setContent(String value) {
this.content = value;
}
/**
* Gets the value of the resourceTypeGeneral property.
*
* @return
* possible object is
* {@link org.datacite.schema.kernel_2.ResourceType }
*
*/
public org.datacite.schema.kernel_2.ResourceType getResourceTypeGeneral() {
return resourceTypeGeneral;
}
/**
* Sets the value of the resourceTypeGeneral property.
*
* @param value
* allowed object is
* {@link org.datacite.schema.kernel_2.ResourceType }
*
*/
public void setResourceTypeGeneral(org.datacite.schema.kernel_2.ResourceType value) {
this.resourceTypeGeneral = 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">
* <sequence>
* <element name="size" type="{http://www.w3.org/2001/XMLSchema}anyType" maxOccurs="unbounded"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"size"
})
public static class Sizes {
@XmlElement(required = true)
protected List<Object> size;
/**
* Gets the value of the size 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 size property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getSize().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Object }
*
*
*/
public List<Object> getSize() {
if (size == null) {
size = new ArrayList<Object>();
}
return this.size;
}
}
/**
* <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">
* <sequence>
* <element name="subject" maxOccurs="unbounded">
* <complexType>
* <simpleContent>
* <extension base="<http://www.w3.org/2001/XMLSchema>string">
* <attribute name="subjectScheme" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
* </extension>
* </simpleContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"subject"
})
public static class Subjects {
@XmlElement(required = true)
protected List<Resource.Subjects.Subject> subject;
/**
* 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 Resource.Subjects.Subject }
*
*
*/
public List<Resource.Subjects.Subject> getSubject() {
if (subject == null) {
subject = new ArrayList<Resource.Subjects.Subject>();
}
return this.subject;
}
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType>
* <simpleContent>
* <extension base="<http://www.w3.org/2001/XMLSchema>string">
* <attribute name="subjectScheme" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
* </extension>
* </simpleContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"value"
})
public static class Subject {
@XmlValue
protected String value;
@XmlAttribute(name = "subjectScheme")
@XmlSchemaType(name = "anySimpleType")
protected String subjectScheme;
/**
* Gets the value of the value property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getValue() {
return value;
}
/**
* Sets the value of the value property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setValue(String value) {
this.value = value;
}
/**
* Gets the value of the subjectScheme property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSubjectScheme() {
return subjectScheme;
}
/**
* Sets the value of the subjectScheme property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSubjectScheme(String value) {
this.subjectScheme = 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">
* <sequence>
* <element name="title" maxOccurs="unbounded">
* <complexType>
* <simpleContent>
* <extension base="<http://datacite.org/schema/kernel-2.2>nonemptycontentStringType">
* <attribute name="titleType" type="{http://datacite.org/schema/kernel-2.2}titleType" />
* </extension>
* </simpleContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"title"
})
public static class Titles {
@XmlElement(required = true)
protected List<Resource.Titles.Title> title;
/**
* 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 Resource.Titles.Title }
*
*
*/
public List<Resource.Titles.Title> getTitle() {
if (title == null) {
title = new ArrayList<Resource.Titles.Title>();
}
return this.title;
}
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType>
* <simpleContent>
* <extension base="<http://datacite.org/schema/kernel-2.2>nonemptycontentStringType">
* <attribute name="titleType" type="{http://datacite.org/schema/kernel-2.2}titleType" />
* </extension>
* </simpleContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"value"
})
public static class Title {
@XmlValue
protected String value;
@XmlAttribute(name = "titleType")
protected TitleType titleType;
/**
* Gets the value of the value property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getValue() {
return value;
}
/**
* Sets the value of the value property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setValue(String value) {
this.value = value;
}
/**
* Gets the value of the titleType property.
*
* @return
* possible object is
* {@link TitleType }
*
*/
public TitleType getTitleType() {
return titleType;
}
/**
* Sets the value of the titleType property.
*
* @param value
* allowed object is
* {@link TitleType }
*
*/
public void setTitleType(TitleType value) {
this.titleType = value;
}
}
}
}