001//
002// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 
003// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
004// Any modifications to this file will be lost upon recompilation of the source schema. 
005// Generated on: 2017.05.21 at 04:43:57 PM EDT 
006//
007
008
009package org.dcm4che3.audit;
010
011import java.util.ArrayList;
012import java.util.List;
013import javax.xml.bind.annotation.XmlAccessType;
014import javax.xml.bind.annotation.XmlAccessorType;
015import javax.xml.bind.annotation.XmlElement;
016import javax.xml.bind.annotation.XmlType;
017
018
019/**
020 * <p>Java class for AuditMessageType complex type.
021 * 
022 * <p>The following schema fragment specifies the expected content contained within this class.
023 * 
024 * <pre>
025 * &lt;complexType name="AuditMessageType"&gt;
026 *   &lt;complexContent&gt;
027 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
028 *       &lt;sequence&gt;
029 *         &lt;element ref="{}EventIdentification"/&gt;
030 *         &lt;element ref="{}ActiveParticipant" maxOccurs="unbounded"/&gt;
031 *         &lt;element ref="{}AuditSourceIdentification" maxOccurs="unbounded"/&gt;
032 *         &lt;element ref="{}ParticipantObjectIdentification" maxOccurs="unbounded" minOccurs="0"/&gt;
033 *       &lt;/sequence&gt;
034 *     &lt;/restriction&gt;
035 *   &lt;/complexContent&gt;
036 * &lt;/complexType&gt;
037 * </pre>
038 * 
039 * 
040 */
041@XmlAccessorType(XmlAccessType.FIELD)
042@XmlType(name = "AuditMessageType", propOrder = {
043    "eventIdentification",
044    "activeParticipant",
045    "auditSourceIdentification",
046    "participantObjectIdentification"
047})
048public class AuditMessage {
049
050    @XmlElement(name = "EventIdentification", required = true)
051    protected EventIdentification eventIdentification;
052    @XmlElement(name = "ActiveParticipant", required = true)
053    protected List<ActiveParticipant> activeParticipant;
054    @XmlElement(name = "AuditSourceIdentification", required = true)
055    protected List<AuditSourceIdentification> auditSourceIdentification;
056    @XmlElement(name = "ParticipantObjectIdentification")
057    protected List<ParticipantObjectIdentification> participantObjectIdentification;
058
059    /**
060     * Gets the value of the eventIdentification property.
061     * 
062     * @return
063     *     possible object is
064     *     {@link EventIdentification }
065     *     
066     */
067    public EventIdentification getEventIdentification() {
068        return eventIdentification;
069    }
070
071    /**
072     * Sets the value of the eventIdentification property.
073     * 
074     * @param value
075     *     allowed object is
076     *     {@link EventIdentification }
077     *     
078     */
079    public void setEventIdentification(EventIdentification value) {
080        this.eventIdentification = value;
081    }
082
083    /**
084     * Gets the value of the activeParticipant property.
085     * 
086     * <p>
087     * This accessor method returns a reference to the live list,
088     * not a snapshot. Therefore any modification you make to the
089     * returned list will be present inside the JAXB object.
090     * This is why there is not a <CODE>set</CODE> method for the activeParticipant property.
091     * 
092     * <p>
093     * For example, to add a new item, do as follows:
094     * <pre>
095     *    getActiveParticipant().add(newItem);
096     * </pre>
097     * 
098     * 
099     * <p>
100     * Objects of the following type(s) are allowed in the list
101     * {@link ActiveParticipant }
102     * 
103     * 
104     */
105    public List<ActiveParticipant> getActiveParticipant() {
106        if (activeParticipant == null) {
107            activeParticipant = new ArrayList<ActiveParticipant>();
108        }
109        return this.activeParticipant;
110    }
111
112    /**
113     * Gets the value of the auditSourceIdentification property.
114     * 
115     * <p>
116     * This accessor method returns a reference to the live list,
117     * not a snapshot. Therefore any modification you make to the
118     * returned list will be present inside the JAXB object.
119     * This is why there is not a <CODE>set</CODE> method for the auditSourceIdentification property.
120     * 
121     * <p>
122     * For example, to add a new item, do as follows:
123     * <pre>
124     *    getAuditSourceIdentification().add(newItem);
125     * </pre>
126     * 
127     * 
128     * <p>
129     * Objects of the following type(s) are allowed in the list
130     * {@link AuditSourceIdentification }
131     * 
132     * 
133     */
134    public List<AuditSourceIdentification> getAuditSourceIdentification() {
135        if (auditSourceIdentification == null) {
136            auditSourceIdentification = new ArrayList<AuditSourceIdentification>();
137        }
138        return this.auditSourceIdentification;
139    }
140
141    /**
142     * Gets the value of the participantObjectIdentification property.
143     * 
144     * <p>
145     * This accessor method returns a reference to the live list,
146     * not a snapshot. Therefore any modification you make to the
147     * returned list will be present inside the JAXB object.
148     * This is why there is not a <CODE>set</CODE> method for the participantObjectIdentification property.
149     * 
150     * <p>
151     * For example, to add a new item, do as follows:
152     * <pre>
153     *    getParticipantObjectIdentification().add(newItem);
154     * </pre>
155     * 
156     * 
157     * <p>
158     * Objects of the following type(s) are allowed in the list
159     * {@link ParticipantObjectIdentification }
160     * 
161     * 
162     */
163    public List<ParticipantObjectIdentification> getParticipantObjectIdentification() {
164        if (participantObjectIdentification == null) {
165            participantObjectIdentification = new ArrayList<ParticipantObjectIdentification>();
166        }
167        return this.participantObjectIdentification;
168    }
169
170}