// // 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.13 at 06:00:06 PM CET // package eu.prestoprime.premis; import java.util.ArrayList; import java.util.List; 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; /** * <p>Java class for file complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="file"> * <complexContent> * <extension base="{info:lc/xmlns/premis-v2}objectComplexType"> * <sequence> * <element ref="{info:lc/xmlns/premis-v2}objectIdentifier" maxOccurs="unbounded"/> * <element ref="{info:lc/xmlns/premis-v2}preservationLevel" maxOccurs="unbounded" minOccurs="0"/> * <element ref="{info:lc/xmlns/premis-v2}significantProperties" maxOccurs="unbounded" minOccurs="0"/> * <element ref="{info:lc/xmlns/premis-v2}objectCharacteristics" maxOccurs="unbounded"/> * <element ref="{info:lc/xmlns/premis-v2}originalName" minOccurs="0"/> * <element ref="{info:lc/xmlns/premis-v2}storage" maxOccurs="unbounded" minOccurs="0"/> * <element ref="{info:lc/xmlns/premis-v2}environment" maxOccurs="unbounded" minOccurs="0"/> * <element ref="{info:lc/xmlns/premis-v2}signatureInformation" maxOccurs="unbounded" minOccurs="0"/> * <element ref="{info:lc/xmlns/premis-v2}relationship" maxOccurs="unbounded" minOccurs="0"/> * <element ref="{info:lc/xmlns/premis-v2}linkingEventIdentifier" maxOccurs="unbounded" minOccurs="0"/> * <element ref="{info:lc/xmlns/premis-v2}linkingIntellectualEntityIdentifier" maxOccurs="unbounded" minOccurs="0"/> * <element ref="{info:lc/xmlns/premis-v2}linkingRightsStatementIdentifier" maxOccurs="unbounded" minOccurs="0"/> * </sequence> * <attribute name="xmlID" type="{http://www.w3.org/2001/XMLSchema}ID" /> * <attribute name="version" type="{info:lc/xmlns/premis-v2}versionSimpleType" /> * </extension> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "file", propOrder = { "objectIdentifier", "preservationLevel", "significantProperties", "objectCharacteristics", "originalName", "storage", "environment", "signatureInformation", "relationship", "linkingEventIdentifier", "linkingIntellectualEntityIdentifier", "linkingRightsStatementIdentifier" }) public class File extends ObjectComplexType { @XmlElement(required = true) protected List<ObjectIdentifierComplexType> objectIdentifier; protected List<PreservationLevelComplexType> preservationLevel; protected List<SignificantPropertiesComplexType> significantProperties; @XmlElement(required = true) protected List<ObjectCharacteristicsComplexType> objectCharacteristics; protected OriginalNameComplexType originalName; protected List<StorageComplexType> storage; protected List<EnvironmentComplexType> environment; protected List<SignatureInformationComplexType> signatureInformation; protected List<RelationshipComplexType> relationship; protected List<LinkingEventIdentifierComplexType> linkingEventIdentifier; protected List<LinkingIntellectualEntityIdentifierComplexType> linkingIntellectualEntityIdentifier; protected List<LinkingRightsStatementIdentifierComplexType> linkingRightsStatementIdentifier; @XmlAttribute(name = "xmlID") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlID @XmlSchemaType(name = "ID") protected String xmlID; @XmlAttribute(name = "version") protected String version; /** * Gets the value of the objectIdentifier 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 objectIdentifier property. * * <p> * For example, to add a new item, do as follows: * <pre> * getObjectIdentifier().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link ObjectIdentifierComplexType } * * */ public List<ObjectIdentifierComplexType> getObjectIdentifier() { if (objectIdentifier == null) { objectIdentifier = new ArrayList<ObjectIdentifierComplexType>(); } return this.objectIdentifier; } /** * Gets the value of the preservationLevel 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 preservationLevel property. * * <p> * For example, to add a new item, do as follows: * <pre> * getPreservationLevel().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link PreservationLevelComplexType } * * */ public List<PreservationLevelComplexType> getPreservationLevel() { if (preservationLevel == null) { preservationLevel = new ArrayList<PreservationLevelComplexType>(); } return this.preservationLevel; } /** * Gets the value of the significantProperties 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 significantProperties property. * * <p> * For example, to add a new item, do as follows: * <pre> * getSignificantProperties().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link SignificantPropertiesComplexType } * * */ public List<SignificantPropertiesComplexType> getSignificantProperties() { if (significantProperties == null) { significantProperties = new ArrayList<SignificantPropertiesComplexType>(); } return this.significantProperties; } /** * Gets the value of the objectCharacteristics 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 objectCharacteristics property. * * <p> * For example, to add a new item, do as follows: * <pre> * getObjectCharacteristics().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link ObjectCharacteristicsComplexType } * * */ public List<ObjectCharacteristicsComplexType> getObjectCharacteristics() { if (objectCharacteristics == null) { objectCharacteristics = new ArrayList<ObjectCharacteristicsComplexType>(); } return this.objectCharacteristics; } /** * Gets the value of the originalName property. * * @return * possible object is * {@link OriginalNameComplexType } * */ public OriginalNameComplexType getOriginalName() { return originalName; } /** * Sets the value of the originalName property. * * @param value * allowed object is * {@link OriginalNameComplexType } * */ public void setOriginalName(OriginalNameComplexType value) { this.originalName = value; } /** * Gets the value of the storage 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 storage property. * * <p> * For example, to add a new item, do as follows: * <pre> * getStorage().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link StorageComplexType } * * */ public List<StorageComplexType> getStorage() { if (storage == null) { storage = new ArrayList<StorageComplexType>(); } return this.storage; } /** * Gets the value of the environment 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 environment property. * * <p> * For example, to add a new item, do as follows: * <pre> * getEnvironment().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link EnvironmentComplexType } * * */ public List<EnvironmentComplexType> getEnvironment() { if (environment == null) { environment = new ArrayList<EnvironmentComplexType>(); } return this.environment; } /** * Gets the value of the signatureInformation 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 signatureInformation property. * * <p> * For example, to add a new item, do as follows: * <pre> * getSignatureInformation().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link SignatureInformationComplexType } * * */ public List<SignatureInformationComplexType> getSignatureInformation() { if (signatureInformation == null) { signatureInformation = new ArrayList<SignatureInformationComplexType>(); } return this.signatureInformation; } /** * Gets the value of the relationship 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 relationship property. * * <p> * For example, to add a new item, do as follows: * <pre> * getRelationship().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link RelationshipComplexType } * * */ public List<RelationshipComplexType> getRelationship() { if (relationship == null) { relationship = new ArrayList<RelationshipComplexType>(); } return this.relationship; } /** * Gets the value of the linkingEventIdentifier 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 linkingEventIdentifier property. * * <p> * For example, to add a new item, do as follows: * <pre> * getLinkingEventIdentifier().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link LinkingEventIdentifierComplexType } * * */ public List<LinkingEventIdentifierComplexType> getLinkingEventIdentifier() { if (linkingEventIdentifier == null) { linkingEventIdentifier = new ArrayList<LinkingEventIdentifierComplexType>(); } return this.linkingEventIdentifier; } /** * Gets the value of the linkingIntellectualEntityIdentifier 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 linkingIntellectualEntityIdentifier property. * * <p> * For example, to add a new item, do as follows: * <pre> * getLinkingIntellectualEntityIdentifier().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link LinkingIntellectualEntityIdentifierComplexType } * * */ public List<LinkingIntellectualEntityIdentifierComplexType> getLinkingIntellectualEntityIdentifier() { if (linkingIntellectualEntityIdentifier == null) { linkingIntellectualEntityIdentifier = new ArrayList<LinkingIntellectualEntityIdentifierComplexType>(); } return this.linkingIntellectualEntityIdentifier; } /** * Gets the value of the linkingRightsStatementIdentifier 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 linkingRightsStatementIdentifier property. * * <p> * For example, to add a new item, do as follows: * <pre> * getLinkingRightsStatementIdentifier().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link LinkingRightsStatementIdentifierComplexType } * * */ public List<LinkingRightsStatementIdentifierComplexType> getLinkingRightsStatementIdentifier() { if (linkingRightsStatementIdentifier == null) { linkingRightsStatementIdentifier = new ArrayList<LinkingRightsStatementIdentifierComplexType>(); } return this.linkingRightsStatementIdentifier; } /** * 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; } }