// // 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.XmlType; /** * <p>Java class for otherRightsInformationComplexType complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="otherRightsInformationComplexType"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element ref="{info:lc/xmlns/premis-v2}otherRightsDocumentationIdentifier" maxOccurs="unbounded" minOccurs="0"/> * <element ref="{info:lc/xmlns/premis-v2}otherRightsBasis"/> * <element ref="{info:lc/xmlns/premis-v2}otherRightsApplicableDates" minOccurs="0"/> * <element ref="{info:lc/xmlns/premis-v2}otherRightsNote" maxOccurs="unbounded" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "otherRightsInformationComplexType", propOrder = { "otherRightsDocumentationIdentifier", "otherRightsBasis", "otherRightsApplicableDates", "otherRightsNote" }) public class OtherRightsInformationComplexType { protected List<OtherRightsDocumentationIdentifierComplexType> otherRightsDocumentationIdentifier; @XmlElement(required = true) protected String otherRightsBasis; protected StartAndEndDateComplexType otherRightsApplicableDates; protected List<String> otherRightsNote; /** * Gets the value of the otherRightsDocumentationIdentifier 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 otherRightsDocumentationIdentifier property. * * <p> * For example, to add a new item, do as follows: * <pre> * getOtherRightsDocumentationIdentifier().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link OtherRightsDocumentationIdentifierComplexType } * * */ public List<OtherRightsDocumentationIdentifierComplexType> getOtherRightsDocumentationIdentifier() { if (otherRightsDocumentationIdentifier == null) { otherRightsDocumentationIdentifier = new ArrayList<OtherRightsDocumentationIdentifierComplexType>(); } return this.otherRightsDocumentationIdentifier; } /** * Gets the value of the otherRightsBasis property. * * @return * possible object is * {@link String } * */ public String getOtherRightsBasis() { return otherRightsBasis; } /** * Sets the value of the otherRightsBasis property. * * @param value * allowed object is * {@link String } * */ public void setOtherRightsBasis(String value) { this.otherRightsBasis = value; } /** * Gets the value of the otherRightsApplicableDates property. * * @return * possible object is * {@link StartAndEndDateComplexType } * */ public StartAndEndDateComplexType getOtherRightsApplicableDates() { return otherRightsApplicableDates; } /** * Sets the value of the otherRightsApplicableDates property. * * @param value * allowed object is * {@link StartAndEndDateComplexType } * */ public void setOtherRightsApplicableDates(StartAndEndDateComplexType value) { this.otherRightsApplicableDates = value; } /** * Gets the value of the otherRightsNote 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 otherRightsNote property. * * <p> * For example, to add a new item, do as follows: * <pre> * getOtherRightsNote().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link String } * * */ public List<String> getOtherRightsNote() { if (otherRightsNote == null) { otherRightsNote = new ArrayList<String>(); } return this.otherRightsNote; } }