// // 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.11.14 at 01:59:38 AM CET // package eu.prestoprime.model.premis; import java.io.Serializable; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAnyAttribute; import javax.xml.bind.annotation.XmlAnyElement; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlID; import javax.xml.bind.annotation.XmlIDREF; import javax.xml.bind.annotation.XmlRootElement; 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; import javax.xml.namespace.QName; import org.w3c.dom.Element; /** * <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="eventIdentifier"> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="eventIdentifierType" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="eventIdentifierValue" type="{http://www.w3.org/2001/XMLSchema}string"/> * </sequence> * <anyAttribute namespace='http://www.w3.org/1999/xlink'/> * </restriction> * </complexContent> * </complexType> * </element> * <element name="eventType" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="eventDateTime"> * <simpleType> * <union memberTypes=" {http://www.w3.org/2001/XMLSchema}date {http://www.w3.org/2001/XMLSchema}dateTime"> * </union> * </simpleType> * </element> * <element name="eventDetail" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="eventOutcomeInformation" maxOccurs="unbounded" minOccurs="0"> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="eventOutcome" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="eventOutcomeDetail" minOccurs="0"> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <any processContents='lax'/> * </sequence> * </restriction> * </complexContent> * </complexType> * </element> * </sequence> * </restriction> * </complexContent> * </complexType> * </element> * <element name="linkingAgentIdentifier" maxOccurs="unbounded" minOccurs="0"> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="linkingAgentIdentifierType" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="linkingAgentIdentifierValue" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="linkingAgentRole" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> * </sequence> * <attribute name="LinkAgentXmlID" type="{http://www.w3.org/2001/XMLSchema}IDREF" /> * <anyAttribute namespace='http://www.w3.org/1999/xlink'/> * </restriction> * </complexContent> * </complexType> * </element> * <element name="linkingObjectIdentifier" maxOccurs="unbounded" minOccurs="0"> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="linkingObjectIdentifierType" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="linkingObjectIdentifierValue" type="{http://www.w3.org/2001/XMLSchema}string"/> * </sequence> * <attribute name="LinkObjectXmlID" type="{http://www.w3.org/2001/XMLSchema}IDREF" /> * <anyAttribute namespace='http://www.w3.org/1999/xlink'/> * </restriction> * </complexContent> * </complexType> * </element> * </sequence> * <attribute name="xmlID" type="{http://www.w3.org/2001/XMLSchema}ID" /> * <attribute name="version"> * <simpleType> * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> * <enumeration value="1.1"/> * </restriction> * </simpleType> * </attribute> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "eventIdentifier", "eventType", "eventDateTime", "eventDetail", "eventOutcomeInformation", "linkingAgentIdentifier", "linkingObjectIdentifier" }) @XmlRootElement(name = "event") public class Event implements Serializable { private final static long serialVersionUID = 1L; @XmlElement(required = true) protected Event.EventIdentifier eventIdentifier; @XmlElement(required = true) protected String eventType; @XmlElement(required = true) protected String eventDateTime; protected String eventDetail; protected List<Event.EventOutcomeInformation> eventOutcomeInformation; protected List<Event.LinkingAgentIdentifier> linkingAgentIdentifier; protected List<Event.LinkingObjectIdentifier> linkingObjectIdentifier; @XmlAttribute(name = "xmlID") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlID @XmlSchemaType(name = "ID") protected String xmlID; @XmlAttribute(name = "version") protected String version; /** * Gets the value of the eventIdentifier property. * * @return possible object is {@link Event.EventIdentifier } * */ public Event.EventIdentifier getEventIdentifier() { return eventIdentifier; } /** * Sets the value of the eventIdentifier property. * * @param value * allowed object is {@link Event.EventIdentifier } * */ public void setEventIdentifier(Event.EventIdentifier value) { this.eventIdentifier = value; } /** * Gets the value of the eventType property. * * @return possible object is {@link String } * */ public String getEventType() { return eventType; } /** * Sets the value of the eventType property. * * @param value * allowed object is {@link String } * */ public void setEventType(String value) { this.eventType = value; } /** * Gets the value of the eventDateTime property. * * @return possible object is {@link String } * */ public String getEventDateTime() { return eventDateTime; } /** * Sets the value of the eventDateTime property. * * @param value * allowed object is {@link String } * */ public void setEventDateTime(String value) { this.eventDateTime = value; } /** * Gets the value of the eventDetail property. * * @return possible object is {@link String } * */ public String getEventDetail() { return eventDetail; } /** * Sets the value of the eventDetail property. * * @param value * allowed object is {@link String } * */ public void setEventDetail(String value) { this.eventDetail = value; } /** * Gets the value of the eventOutcomeInformation 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 eventOutcomeInformation property. * * <p> * For example, to add a new item, do as follows: * * <pre> * getEventOutcomeInformation().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link Event.EventOutcomeInformation } * * */ public List<Event.EventOutcomeInformation> getEventOutcomeInformation() { if (eventOutcomeInformation == null) { eventOutcomeInformation = new ArrayList<Event.EventOutcomeInformation>(); } return this.eventOutcomeInformation; } /** * Gets the value of the linkingAgentIdentifier 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 linkingAgentIdentifier property. * * <p> * For example, to add a new item, do as follows: * * <pre> * getLinkingAgentIdentifier().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link Event.LinkingAgentIdentifier } * * */ public List<Event.LinkingAgentIdentifier> getLinkingAgentIdentifier() { if (linkingAgentIdentifier == null) { linkingAgentIdentifier = new ArrayList<Event.LinkingAgentIdentifier>(); } return this.linkingAgentIdentifier; } /** * Gets the value of the linkingObjectIdentifier 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 linkingObjectIdentifier property. * * <p> * For example, to add a new item, do as follows: * * <pre> * getLinkingObjectIdentifier().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link Event.LinkingObjectIdentifier } * * */ public List<Event.LinkingObjectIdentifier> getLinkingObjectIdentifier() { if (linkingObjectIdentifier == null) { linkingObjectIdentifier = new ArrayList<Event.LinkingObjectIdentifier>(); } return this.linkingObjectIdentifier; } /** * Gets the value of the xmlID property. * * @return possible object is {@link String } * */ public String getXmlID() { return xmlID; } /** * Sets the value of the xmlID property. * * @param value * allowed object is {@link String } * */ public void setXmlID(String value) { this.xmlID = 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; } /** * <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="eventIdentifierType" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="eventIdentifierValue" type="{http://www.w3.org/2001/XMLSchema}string"/> * </sequence> * <anyAttribute namespace='http://www.w3.org/1999/xlink'/> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "eventIdentifierType", "eventIdentifierValue" }) public static class EventIdentifier implements Serializable { private final static long serialVersionUID = 1L; @XmlElement(required = true) protected String eventIdentifierType; @XmlElement(required = true) protected String eventIdentifierValue; @XmlAnyAttribute private Map<QName, String> otherAttributes = new HashMap<QName, String>(); /** * Gets the value of the eventIdentifierType property. * * @return possible object is {@link String } * */ public String getEventIdentifierType() { return eventIdentifierType; } /** * Sets the value of the eventIdentifierType property. * * @param value * allowed object is {@link String } * */ public void setEventIdentifierType(String value) { this.eventIdentifierType = value; } /** * Gets the value of the eventIdentifierValue property. * * @return possible object is {@link String } * */ public String getEventIdentifierValue() { return eventIdentifierValue; } /** * Sets the value of the eventIdentifierValue property. * * @param value * allowed object is {@link String } * */ public void setEventIdentifierValue(String value) { this.eventIdentifierValue = value; } /** * Gets a map that contains attributes that aren't bound to any typed * property on this class. * * <p> * the map is keyed by the name of the attribute and the value is the * string value of the attribute. * * the map returned by this method is live, and you can add new * attribute by updating the map directly. Because of this design, * there's no setter. * * * @return always non-null */ public Map<QName, String> getOtherAttributes() { return otherAttributes; } } /** * <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="eventOutcome" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="eventOutcomeDetail" minOccurs="0"> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <any processContents='lax'/> * </sequence> * </restriction> * </complexContent> * </complexType> * </element> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "eventOutcome", "eventOutcomeDetail" }) public static class EventOutcomeInformation implements Serializable { private final static long serialVersionUID = 1L; protected String eventOutcome; protected Event.EventOutcomeInformation.EventOutcomeDetail eventOutcomeDetail; /** * Gets the value of the eventOutcome property. * * @return possible object is {@link String } * */ public String getEventOutcome() { return eventOutcome; } /** * Sets the value of the eventOutcome property. * * @param value * allowed object is {@link String } * */ public void setEventOutcome(String value) { this.eventOutcome = value; } /** * Gets the value of the eventOutcomeDetail property. * * @return possible object is * {@link Event.EventOutcomeInformation.EventOutcomeDetail } * */ public Event.EventOutcomeInformation.EventOutcomeDetail getEventOutcomeDetail() { return eventOutcomeDetail; } /** * Sets the value of the eventOutcomeDetail property. * * @param value * allowed object is * {@link Event.EventOutcomeInformation.EventOutcomeDetail } * */ public void setEventOutcomeDetail(Event.EventOutcomeInformation.EventOutcomeDetail value) { this.eventOutcomeDetail = 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> * <any processContents='lax'/> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "any" }) public static class EventOutcomeDetail implements Serializable { private final static long serialVersionUID = 1L; @XmlAnyElement(lax = true) protected Object any; /** * Gets the value of the any property. * * @return possible object is {@link Object } {@link Element } * */ public Object getAny() { return any; } /** * Sets the value of the any property. * * @param value * allowed object is {@link Object } {@link Element } * */ public void setAny(Object value) { this.any = 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="linkingAgentIdentifierType" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="linkingAgentIdentifierValue" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="linkingAgentRole" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> * </sequence> * <attribute name="LinkAgentXmlID" type="{http://www.w3.org/2001/XMLSchema}IDREF" /> * <anyAttribute namespace='http://www.w3.org/1999/xlink'/> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "linkingAgentIdentifierType", "linkingAgentIdentifierValue", "linkingAgentRole" }) public static class LinkingAgentIdentifier implements Serializable { private final static long serialVersionUID = 1L; @XmlElement(required = true) protected String linkingAgentIdentifierType; @XmlElement(required = true) protected String linkingAgentIdentifierValue; protected List<String> linkingAgentRole; @XmlAttribute(name = "LinkAgentXmlID") @XmlIDREF @XmlSchemaType(name = "IDREF") protected Object linkAgentXmlID; @XmlAnyAttribute private Map<QName, String> otherAttributes = new HashMap<QName, String>(); /** * Gets the value of the linkingAgentIdentifierType property. * * @return possible object is {@link String } * */ public String getLinkingAgentIdentifierType() { return linkingAgentIdentifierType; } /** * Sets the value of the linkingAgentIdentifierType property. * * @param value * allowed object is {@link String } * */ public void setLinkingAgentIdentifierType(String value) { this.linkingAgentIdentifierType = value; } /** * Gets the value of the linkingAgentIdentifierValue property. * * @return possible object is {@link String } * */ public String getLinkingAgentIdentifierValue() { return linkingAgentIdentifierValue; } /** * Sets the value of the linkingAgentIdentifierValue property. * * @param value * allowed object is {@link String } * */ public void setLinkingAgentIdentifierValue(String value) { this.linkingAgentIdentifierValue = value; } /** * Gets the value of the linkingAgentRole 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 linkingAgentRole property. * * <p> * For example, to add a new item, do as follows: * * <pre> * getLinkingAgentRole().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link String } * * */ public List<String> getLinkingAgentRole() { if (linkingAgentRole == null) { linkingAgentRole = new ArrayList<String>(); } return this.linkingAgentRole; } /** * Gets the value of the linkAgentXmlID property. * * @return possible object is {@link Object } * */ public Object getLinkAgentXmlID() { return linkAgentXmlID; } /** * Sets the value of the linkAgentXmlID property. * * @param value * allowed object is {@link Object } * */ public void setLinkAgentXmlID(Object value) { this.linkAgentXmlID = value; } /** * Gets a map that contains attributes that aren't bound to any typed * property on this class. * * <p> * the map is keyed by the name of the attribute and the value is the * string value of the attribute. * * the map returned by this method is live, and you can add new * attribute by updating the map directly. Because of this design, * there's no setter. * * * @return always non-null */ public Map<QName, String> getOtherAttributes() { return otherAttributes; } } /** * <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="linkingObjectIdentifierType" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="linkingObjectIdentifierValue" type="{http://www.w3.org/2001/XMLSchema}string"/> * </sequence> * <attribute name="LinkObjectXmlID" type="{http://www.w3.org/2001/XMLSchema}IDREF" /> * <anyAttribute namespace='http://www.w3.org/1999/xlink'/> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "linkingObjectIdentifierType", "linkingObjectIdentifierValue" }) public static class LinkingObjectIdentifier implements Serializable { private final static long serialVersionUID = 1L; @XmlElement(required = true) protected String linkingObjectIdentifierType; @XmlElement(required = true) protected String linkingObjectIdentifierValue; @XmlAttribute(name = "LinkObjectXmlID") @XmlIDREF @XmlSchemaType(name = "IDREF") protected Object linkObjectXmlID; @XmlAnyAttribute private Map<QName, String> otherAttributes = new HashMap<QName, String>(); /** * Gets the value of the linkingObjectIdentifierType property. * * @return possible object is {@link String } * */ public String getLinkingObjectIdentifierType() { return linkingObjectIdentifierType; } /** * Sets the value of the linkingObjectIdentifierType property. * * @param value * allowed object is {@link String } * */ public void setLinkingObjectIdentifierType(String value) { this.linkingObjectIdentifierType = value; } /** * Gets the value of the linkingObjectIdentifierValue property. * * @return possible object is {@link String } * */ public String getLinkingObjectIdentifierValue() { return linkingObjectIdentifierValue; } /** * Sets the value of the linkingObjectIdentifierValue property. * * @param value * allowed object is {@link String } * */ public void setLinkingObjectIdentifierValue(String value) { this.linkingObjectIdentifierValue = value; } /** * Gets the value of the linkObjectXmlID property. * * @return possible object is {@link Object } * */ public Object getLinkObjectXmlID() { return linkObjectXmlID; } /** * Sets the value of the linkObjectXmlID property. * * @param value * allowed object is {@link Object } * */ public void setLinkObjectXmlID(Object value) { this.linkObjectXmlID = value; } /** * Gets a map that contains attributes that aren't bound to any typed * property on this class. * * <p> * the map is keyed by the name of the attribute and the value is the * string value of the attribute. * * the map returned by this method is live, and you can add new * attribute by updating the map directly. Because of this design, * there's no setter. * * * @return always non-null */ public Map<QName, String> getOtherAttributes() { return otherAttributes; } } }