//
// 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 agentComplexType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="agentComplexType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{info:lc/xmlns/premis-v2}agentIdentifier" maxOccurs="unbounded"/>
* <element ref="{info:lc/xmlns/premis-v2}agentName" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{info:lc/xmlns/premis-v2}agentType" minOccurs="0"/>
* <element ref="{info:lc/xmlns/premis-v2}agentNote" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{info:lc/xmlns/premis-v2}agentExtension" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{info:lc/xmlns/premis-v2}mdSec" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{info:lc/xmlns/premis-v2}linkingEventIdentifier" 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" />
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "agentComplexType", propOrder = {
"agentIdentifier",
"agentName",
"agentType",
"agentNote",
"agentExtension",
"mdSec",
"linkingEventIdentifier",
"linkingRightsStatementIdentifier"
})
public class AgentComplexType {
@XmlElement(required = true)
protected List<AgentIdentifierComplexType> agentIdentifier;
protected List<String> agentName;
protected String agentType;
protected List<String> agentNote;
protected List<ExtensionComplexType> agentExtension;
protected List<MdSecDefinition> mdSec;
protected List<LinkingEventIdentifierComplexType> linkingEventIdentifier;
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 agentIdentifier 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 agentIdentifier property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getAgentIdentifier().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link AgentIdentifierComplexType }
*
*
*/
public List<AgentIdentifierComplexType> getAgentIdentifier() {
if (agentIdentifier == null) {
agentIdentifier = new ArrayList<AgentIdentifierComplexType>();
}
return this.agentIdentifier;
}
/**
* Gets the value of the agentName 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 agentName property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getAgentName().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List<String> getAgentName() {
if (agentName == null) {
agentName = new ArrayList<String>();
}
return this.agentName;
}
/**
* Gets the value of the agentType property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAgentType() {
return agentType;
}
/**
* Sets the value of the agentType property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAgentType(String value) {
this.agentType = value;
}
/**
* Gets the value of the agentNote 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 agentNote property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getAgentNote().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List<String> getAgentNote() {
if (agentNote == null) {
agentNote = new ArrayList<String>();
}
return this.agentNote;
}
/**
* Gets the value of the agentExtension 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 agentExtension property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getAgentExtension().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link ExtensionComplexType }
*
*
*/
public List<ExtensionComplexType> getAgentExtension() {
if (agentExtension == null) {
agentExtension = new ArrayList<ExtensionComplexType>();
}
return this.agentExtension;
}
/**
* 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 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 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;
}
}