/* * Copyright (C) 2014 Robert Simonovsky * * 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/>. */ package cz.cas.lib.proarc.mets; 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.XmlID; import javax.xml.bind.annotation.XmlSchemaType; import javax.xml.bind.annotation.XmlType; import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; /** * structMapType: Complex Type for Structural Maps The structural map * (structMap) outlines a hierarchical structure for the original object being * encoded, using a series of nested div elements. * * * <p> * Java class for structMapType complex type. * * <p> * The following schema fragment specifies the expected content contained within * this class. * * <pre> * <complexType name="structMapType"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="div" type="{http://www.loc.gov/METS/}divType"/> * </sequence> * <attribute name="ID" type="{http://www.w3.org/2001/XMLSchema}ID" /> * <attribute name="TYPE" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="LABEL" type="{http://www.w3.org/2001/XMLSchema}string" /> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "structMapType", namespace = "http://www.loc.gov/METS/", propOrder = { "div" }) public class StructMapType { @XmlElement(namespace = "http://www.loc.gov/METS/", required = true) protected DivType div; @XmlAttribute(name = "ID") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlID @XmlSchemaType(name = "ID") protected String id; @XmlAttribute(name = "TYPE") protected String type; @XmlAttribute(name = "LABEL") protected String label2; /** * Gets the value of the div property. * * @return possible object is {@link DivType } * */ public DivType getDiv() { return div; } /** * Sets the value of the div property. * * @param value * allowed object is {@link DivType } * */ public void setDiv(DivType value) { this.div = value; } /** * Gets the value of the id property. * * @return possible object is {@link String } * */ public String getID() { return id; } /** * Sets the value of the id property. * * @param value * allowed object is {@link String } * */ public void setID(String value) { this.id = value; } /** * Gets the value of the type property. * * @return possible object is {@link String } * */ public String getTYPE() { return type; } /** * Sets the value of the type property. * * @param value * allowed object is {@link String } * */ public void setTYPE(String value) { this.type = value; } /** * Gets the value of the label2 property. * * @return possible object is {@link String } * */ public String getLabel2() { return label2; } /** * Sets the value of the label2 property. * * @param value * allowed object is {@link String } * */ public void setLabel2(String value) { this.label2 = value; } }