// // 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.XmlElement; import javax.xml.bind.annotation.XmlElements; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for signatureInformationComplexType complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="signatureInformationComplexType"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <choice> * <sequence> * <element ref="{info:lc/xmlns/premis-v2}signature"/> * <element ref="{info:lc/xmlns/premis-v2}signatureInformationExtension" maxOccurs="unbounded" minOccurs="0"/> * <element ref="{info:lc/xmlns/premis-v2}mdSec" maxOccurs="unbounded" minOccurs="0"/> * </sequence> * <choice maxOccurs="unbounded"> * <element ref="{info:lc/xmlns/premis-v2}signatureInformationExtension"/> * <element ref="{info:lc/xmlns/premis-v2}mdSec"/> * </choice> * </choice> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "signatureInformationComplexType", propOrder = { "signature", "signatureInformationExtension", "mdSec", "signatureInformationExtensionOrMdSec" }) public class SignatureInformationComplexType { protected SignatureComplexType signature; protected List<ExtensionComplexType> signatureInformationExtension; protected List<MdSecDefinition> mdSec; @XmlElements({ @XmlElement(name = "signatureInformationExtension", type = ExtensionComplexType.class), @XmlElement(name = "mdSec", type = MdSecDefinition.class) }) protected List<Object> signatureInformationExtensionOrMdSec; /** * Gets the value of the signature property. * * @return * possible object is * {@link SignatureComplexType } * */ public SignatureComplexType getSignature() { return signature; } /** * Sets the value of the signature property. * * @param value * allowed object is * {@link SignatureComplexType } * */ public void setSignature(SignatureComplexType value) { this.signature = value; } /** * Gets the value of the signatureInformationExtension 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 signatureInformationExtension property. * * <p> * For example, to add a new item, do as follows: * <pre> * getSignatureInformationExtension().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link ExtensionComplexType } * * */ public List<ExtensionComplexType> getSignatureInformationExtension() { if (signatureInformationExtension == null) { signatureInformationExtension = new ArrayList<ExtensionComplexType>(); } return this.signatureInformationExtension; } /** * Gets the value of the mdSec 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 mdSec property. * * <p> * For example, to add a new item, do as follows: * <pre> * getMdSec().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link MdSecDefinition } * * */ public List<MdSecDefinition> getMdSec() { if (mdSec == null) { mdSec = new ArrayList<MdSecDefinition>(); } return this.mdSec; } /** * Gets the value of the signatureInformationExtensionOrMdSec 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 signatureInformationExtensionOrMdSec property. * * <p> * For example, to add a new item, do as follows: * <pre> * getSignatureInformationExtensionOrMdSec().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link ExtensionComplexType } * {@link MdSecDefinition } * * */ public List<Object> getSignatureInformationExtensionOrMdSec() { if (signatureInformationExtensionOrMdSec == null) { signatureInformationExtensionOrMdSec = new ArrayList<Object>(); } return this.signatureInformationExtensionOrMdSec; } }