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.Calendar;
013import java.util.List;
014import javax.xml.bind.annotation.XmlAccessType;
015import javax.xml.bind.annotation.XmlAccessorType;
016import javax.xml.bind.annotation.XmlAttribute;
017import javax.xml.bind.annotation.XmlElement;
018import javax.xml.bind.annotation.XmlSchemaType;
019import javax.xml.bind.annotation.XmlType;
020import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
021import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
022
023
024/**
025 * <p>Java class for EventIdentificationType complex type.
026 * 
027 * <p>The following schema fragment specifies the expected content contained within this class.
028 * 
029 * <pre>
030 * &lt;complexType name="EventIdentificationType"&gt;
031 *   &lt;complexContent&gt;
032 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
033 *       &lt;sequence&gt;
034 *         &lt;element ref="{}EventID"/&gt;
035 *         &lt;element ref="{}EventTypeCode" maxOccurs="unbounded" minOccurs="0"/&gt;
036 *         &lt;element ref="{}EventOutcomeDescription" minOccurs="0"/&gt;
037 *       &lt;/sequence&gt;
038 *       &lt;attribute name="EventActionCode"&gt;
039 *         &lt;simpleType&gt;
040 *           &lt;restriction base="{http://www.w3.org/2001/XMLSchema}token"&gt;
041 *             &lt;enumeration value="C"/&gt;
042 *             &lt;enumeration value="R"/&gt;
043 *             &lt;enumeration value="U"/&gt;
044 *             &lt;enumeration value="D"/&gt;
045 *             &lt;enumeration value="E"/&gt;
046 *           &lt;/restriction&gt;
047 *         &lt;/simpleType&gt;
048 *       &lt;/attribute&gt;
049 *       &lt;attribute name="EventDateTime" use="required" type="{http://www.w3.org/2001/XMLSchema}dateTime" /&gt;
050 *       &lt;attribute name="EventOutcomeIndicator" use="required"&gt;
051 *         &lt;simpleType&gt;
052 *           &lt;restriction base="{http://www.w3.org/2001/XMLSchema}token"&gt;
053 *             &lt;enumeration value="0"/&gt;
054 *             &lt;enumeration value="4"/&gt;
055 *             &lt;enumeration value="8"/&gt;
056 *             &lt;enumeration value="12"/&gt;
057 *           &lt;/restriction&gt;
058 *         &lt;/simpleType&gt;
059 *       &lt;/attribute&gt;
060 *     &lt;/restriction&gt;
061 *   &lt;/complexContent&gt;
062 * &lt;/complexType&gt;
063 * </pre>
064 * 
065 * 
066 */
067@XmlAccessorType(XmlAccessType.FIELD)
068@XmlType(name = "EventIdentificationType", propOrder = {
069    "eventID",
070    "eventTypeCode",
071    "eventOutcomeDescription"
072})
073public class EventIdentification {
074
075    @XmlElement(name = "EventID", required = true)
076    protected EventID eventID;
077    @XmlElement(name = "EventTypeCode")
078    protected List<EventTypeCode> eventTypeCode;
079    @XmlElement(name = "EventOutcomeDescription")
080    protected String eventOutcomeDescription;
081    @XmlAttribute(name = "EventActionCode")
082    @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
083    protected String eventActionCode;
084    @XmlAttribute(name = "EventDateTime", required = true)
085    @XmlJavaTypeAdapter(Adapter1 .class)
086    @XmlSchemaType(name = "dateTime")
087    protected Calendar eventDateTime;
088    @XmlAttribute(name = "EventOutcomeIndicator", required = true)
089    @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
090    protected String eventOutcomeIndicator;
091
092    /**
093     * Gets the value of the eventID property.
094     * 
095     * @return
096     *     possible object is
097     *     {@link EventID }
098     *     
099     */
100    public EventID getEventID() {
101        return eventID;
102    }
103
104    /**
105     * Sets the value of the eventID property.
106     * 
107     * @param value
108     *     allowed object is
109     *     {@link EventID }
110     *     
111     */
112    public void setEventID(EventID value) {
113        this.eventID = value;
114    }
115
116    /**
117     * Gets the value of the eventTypeCode property.
118     * 
119     * <p>
120     * This accessor method returns a reference to the live list,
121     * not a snapshot. Therefore any modification you make to the
122     * returned list will be present inside the JAXB object.
123     * This is why there is not a <CODE>set</CODE> method for the eventTypeCode property.
124     * 
125     * <p>
126     * For example, to add a new item, do as follows:
127     * <pre>
128     *    getEventTypeCode().add(newItem);
129     * </pre>
130     * 
131     * 
132     * <p>
133     * Objects of the following type(s) are allowed in the list
134     * {@link EventTypeCode }
135     * 
136     * 
137     */
138    public List<EventTypeCode> getEventTypeCode() {
139        if (eventTypeCode == null) {
140            eventTypeCode = new ArrayList<EventTypeCode>();
141        }
142        return this.eventTypeCode;
143    }
144
145    /**
146     * Gets the value of the eventOutcomeDescription property.
147     * 
148     * @return
149     *     possible object is
150     *     {@link String }
151     *     
152     */
153    public String getEventOutcomeDescription() {
154        return eventOutcomeDescription;
155    }
156
157    /**
158     * Sets the value of the eventOutcomeDescription property.
159     * 
160     * @param value
161     *     allowed object is
162     *     {@link String }
163     *     
164     */
165    public void setEventOutcomeDescription(String value) {
166        this.eventOutcomeDescription = value;
167    }
168
169    /**
170     * Gets the value of the eventActionCode property.
171     * 
172     * @return
173     *     possible object is
174     *     {@link String }
175     *     
176     */
177    public String getEventActionCode() {
178        return eventActionCode;
179    }
180
181    /**
182     * Sets the value of the eventActionCode property.
183     * 
184     * @param value
185     *     allowed object is
186     *     {@link String }
187     *     
188     */
189    public void setEventActionCode(String value) {
190        this.eventActionCode = value;
191    }
192
193    /**
194     * Gets the value of the eventDateTime property.
195     * 
196     * @return
197     *     possible object is
198     *     {@link String }
199     *     
200     */
201    public Calendar getEventDateTime() {
202        return eventDateTime;
203    }
204
205    /**
206     * Sets the value of the eventDateTime property.
207     * 
208     * @param value
209     *     allowed object is
210     *     {@link String }
211     *     
212     */
213    public void setEventDateTime(Calendar value) {
214        this.eventDateTime = value;
215    }
216
217    /**
218     * Gets the value of the eventOutcomeIndicator property.
219     * 
220     * @return
221     *     possible object is
222     *     {@link String }
223     *     
224     */
225    public String getEventOutcomeIndicator() {
226        return eventOutcomeIndicator;
227    }
228
229    /**
230     * Sets the value of the eventOutcomeIndicator property.
231     * 
232     * @param value
233     *     allowed object is
234     *     {@link String }
235     *     
236     */
237    public void setEventOutcomeIndicator(String value) {
238        this.eventOutcomeIndicator = value;
239    }
240
241}