//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4
// 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.08.04 at 03:25:13 AM CEST
//
package eu.prestoprime.model.oaipmh;
import java.io.Serializable;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.XmlValue;
/**
* <p>
* Java class for OAI-PMHerrorType complex type.
*
* <p>
* The following schema fragment specifies the expected content contained within
* this class.
*
* <pre>
* <complexType name="OAI-PMHerrorType">
* <simpleContent>
* <extension base="<http://www.w3.org/2001/XMLSchema>string">
* <attribute name="code" use="required" type="{http://www.openarchives.org/OAI/2.0/}OAI-PMHerrorcodeType" />
* </extension>
* </simpleContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "OAI-PMHerrorType", propOrder = { "value" })
public class OAIPMHerrorType implements Serializable {
private final static long serialVersionUID = 1L;
@XmlValue
protected String value;
@XmlAttribute(name = "code", required = true)
protected OAIPMHerrorcodeType code;
/**
* 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 code property.
*
* @return possible object is {@link OAIPMHerrorcodeType }
*
*/
public OAIPMHerrorcodeType getCode() {
return code;
}
/**
* Sets the value of the code property.
*
* @param value
* allowed object is {@link OAIPMHerrorcodeType }
*
*/
public void setCode(OAIPMHerrorcodeType value) {
this.code = value;
}
}