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 * <complexType name="EventIdentificationType"> 031 * <complexContent> 032 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 033 * <sequence> 034 * <element ref="{}EventID"/> 035 * <element ref="{}EventTypeCode" maxOccurs="unbounded" minOccurs="0"/> 036 * <element ref="{}EventOutcomeDescription" minOccurs="0"/> 037 * </sequence> 038 * <attribute name="EventActionCode"> 039 * <simpleType> 040 * <restriction base="{http://www.w3.org/2001/XMLSchema}token"> 041 * <enumeration value="C"/> 042 * <enumeration value="R"/> 043 * <enumeration value="U"/> 044 * <enumeration value="D"/> 045 * <enumeration value="E"/> 046 * </restriction> 047 * </simpleType> 048 * </attribute> 049 * <attribute name="EventDateTime" use="required" type="{http://www.w3.org/2001/XMLSchema}dateTime" /> 050 * <attribute name="EventOutcomeIndicator" use="required"> 051 * <simpleType> 052 * <restriction base="{http://www.w3.org/2001/XMLSchema}token"> 053 * <enumeration value="0"/> 054 * <enumeration value="4"/> 055 * <enumeration value="8"/> 056 * <enumeration value="12"/> 057 * </restriction> 058 * </simpleType> 059 * </attribute> 060 * </restriction> 061 * </complexContent> 062 * </complexType> 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}