/*
* Geotoolkit - An Open Source Java GIS Toolkit
* http://www.geotoolkit.org
*
* (C) 2008 - 2009, Geomatys
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library 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
* Lesser General Public License for more details.
*/
package org.geotoolkit.csw.xml.v200;
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.XmlElementRef;
import javax.xml.bind.annotation.XmlElementRefs;
import javax.xml.bind.annotation.XmlType;
import org.geotoolkit.dublincore.xml.v1.elements.SimpleLiteral;
/**
* 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}AbstractRecordType">
* <sequence>
* <choice maxOccurs="unbounded">
* <element ref="{http://www.purl.org/dc/elements/1.1/}identifier"/>
* <element ref="{http://www.purl.org/dc/elements/1.1/}type"/>
* <element ref="{http://www.purl.org/dc/elements/1.1/}title"/>
* <element ref="{http://www.purl.org/dc/elements/1.1/}subject"/>
* <element ref="{http://www.purl.org/dc/elements/1.1/}format"/>
* <element ref="{http://www.purl.org/dc/elements/1.1/}relation"/>
* <element ref="{http://www.purl.org/dc/terms/}modified"/>
* <element ref="{http://www.purl.org/dc/terms/}abstract"/>
* <element ref="{http://www.purl.org/dc/terms/}spatial"/>
* </choice>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
* </pre>
*
*
* @module
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "SummaryRecordType", propOrder = {
"identifierOrTypeOrTitle"
})
public class SummaryRecordType extends AbstractRecordType {
@XmlElementRefs({
@XmlElementRef(name = "type" , namespace = "http://www.purl.org/dc/elements/1.1/", type = JAXBElement.class),
@XmlElementRef(name = "modified" , namespace = "http://www.purl.org/dc/terms/" , type = JAXBElement.class),
@XmlElementRef(name = "subject" , namespace = "http://www.purl.org/dc/elements/1.1/", type = JAXBElement.class),
@XmlElementRef(name = "spatial" , namespace = "http://www.purl.org/dc/terms/" , type = JAXBElement.class),
@XmlElementRef(name = "title" , namespace = "http://www.purl.org/dc/elements/1.1/", type = JAXBElement.class),
@XmlElementRef(name = "abstract" , namespace = "http://www.purl.org/dc/terms/" , type = JAXBElement.class),
@XmlElementRef(name = "format" , namespace = "http://www.purl.org/dc/elements/1.1/", type = JAXBElement.class),
@XmlElementRef(name = "identifier", namespace = "http://www.purl.org/dc/elements/1.1/", type = JAXBElement.class),
@XmlElementRef(name = "relation" , namespace = "http://www.purl.org/dc/elements/1.1/", type = JAXBElement.class)
})
private List<JAXBElement<SimpleLiteral>> identifierOrTypeOrTitle;
/**
* Gets the value of the identifierOrTypeOrTitle property.
*
*/
public List<JAXBElement<SimpleLiteral>> getIdentifierOrTypeOrTitle() {
if (identifierOrTypeOrTitle == null) {
identifierOrTypeOrTitle = new ArrayList<JAXBElement<SimpleLiteral>>();
}
return this.identifierOrTypeOrTitle;
}
}