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.XmlAttribute; 016import javax.xml.bind.annotation.XmlElement; 017import javax.xml.bind.annotation.XmlType; 018import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; 019import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; 020 021 022/** 023 * If these are present, they define the meaning of code 024 * 025 * <p>Java class for ActiveParticipantType complex type. 026 * 027 * <p>The following schema fragment specifies the expected content contained within this class. 028 * 029 * <pre> 030 * <complexType name="ActiveParticipantType"> 031 * <complexContent> 032 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 033 * <sequence> 034 * <element ref="{}RoleIDCode" maxOccurs="unbounded" minOccurs="0"/> 035 * <element ref="{}MediaIdentifier" minOccurs="0"/> 036 * </sequence> 037 * <attribute name="UserID" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> 038 * <attribute name="AlternativeUserID" type="{http://www.w3.org/2001/XMLSchema}string" /> 039 * <attribute name="UserName" type="{http://www.w3.org/2001/XMLSchema}string" /> 040 * <attribute name="UserIsRequestor" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" /> 041 * <attribute name="NetworkAccessPointID" type="{http://www.w3.org/2001/XMLSchema}string" /> 042 * <attribute name="NetworkAccessPointTypeCode"> 043 * <simpleType> 044 * <restriction base="{http://www.w3.org/2001/XMLSchema}token"> 045 * <enumeration value="1"/> 046 * <enumeration value="2"/> 047 * <enumeration value="3"/> 048 * <enumeration value="4"/> 049 * <enumeration value="5"/> 050 * </restriction> 051 * </simpleType> 052 * </attribute> 053 * </restriction> 054 * </complexContent> 055 * </complexType> 056 * </pre> 057 * 058 * 059 */ 060@XmlAccessorType(XmlAccessType.FIELD) 061@XmlType(name = "ActiveParticipantType", propOrder = { 062 "roleIDCode", 063 "mediaIdentifier" 064}) 065public class ActiveParticipant { 066 067 @XmlElement(name = "RoleIDCode") 068 protected List<RoleIDCode> roleIDCode; 069 @XmlElement(name = "MediaIdentifier") 070 protected MediaIdentifier mediaIdentifier; 071 @XmlAttribute(name = "UserID", required = true) 072 protected String userID; 073 @XmlAttribute(name = "AlternativeUserID") 074 protected String alternativeUserID; 075 @XmlAttribute(name = "UserName") 076 protected String userName; 077 @XmlAttribute(name = "UserIsRequestor", required = true) 078 protected boolean userIsRequestor; 079 @XmlAttribute(name = "NetworkAccessPointID") 080 protected String networkAccessPointID; 081 @XmlAttribute(name = "NetworkAccessPointTypeCode") 082 @XmlJavaTypeAdapter(CollapsedStringAdapter.class) 083 protected String networkAccessPointTypeCode; 084 085 /** 086 * Gets the value of the roleIDCode property. 087 * 088 * <p> 089 * This accessor method returns a reference to the live list, 090 * not a snapshot. Therefore any modification you make to the 091 * returned list will be present inside the JAXB object. 092 * This is why there is not a <CODE>set</CODE> method for the roleIDCode property. 093 * 094 * <p> 095 * For example, to add a new item, do as follows: 096 * <pre> 097 * getRoleIDCode().add(newItem); 098 * </pre> 099 * 100 * 101 * <p> 102 * Objects of the following type(s) are allowed in the list 103 * {@link RoleIDCode } 104 * 105 * 106 */ 107 public List<RoleIDCode> getRoleIDCode() { 108 if (roleIDCode == null) { 109 roleIDCode = new ArrayList<RoleIDCode>(); 110 } 111 return this.roleIDCode; 112 } 113 114 /** 115 * Gets the value of the mediaIdentifier property. 116 * 117 * @return 118 * possible object is 119 * {@link MediaIdentifier } 120 * 121 */ 122 public MediaIdentifier getMediaIdentifier() { 123 return mediaIdentifier; 124 } 125 126 /** 127 * Sets the value of the mediaIdentifier property. 128 * 129 * @param value 130 * allowed object is 131 * {@link MediaIdentifier } 132 * 133 */ 134 public void setMediaIdentifier(MediaIdentifier value) { 135 this.mediaIdentifier = value; 136 } 137 138 /** 139 * Gets the value of the userID property. 140 * 141 * @return 142 * possible object is 143 * {@link String } 144 * 145 */ 146 public String getUserID() { 147 return userID; 148 } 149 150 /** 151 * Sets the value of the userID property. 152 * 153 * @param value 154 * allowed object is 155 * {@link String } 156 * 157 */ 158 public void setUserID(String value) { 159 this.userID = value; 160 } 161 162 /** 163 * Gets the value of the alternativeUserID property. 164 * 165 * @return 166 * possible object is 167 * {@link String } 168 * 169 */ 170 public String getAlternativeUserID() { 171 return alternativeUserID; 172 } 173 174 /** 175 * Sets the value of the alternativeUserID property. 176 * 177 * @param value 178 * allowed object is 179 * {@link String } 180 * 181 */ 182 public void setAlternativeUserID(String value) { 183 this.alternativeUserID = value; 184 } 185 186 /** 187 * Gets the value of the userName property. 188 * 189 * @return 190 * possible object is 191 * {@link String } 192 * 193 */ 194 public String getUserName() { 195 return userName; 196 } 197 198 /** 199 * Sets the value of the userName property. 200 * 201 * @param value 202 * allowed object is 203 * {@link String } 204 * 205 */ 206 public void setUserName(String value) { 207 this.userName = value; 208 } 209 210 /** 211 * Gets the value of the userIsRequestor property. 212 * 213 */ 214 public boolean isUserIsRequestor() { 215 return userIsRequestor; 216 } 217 218 /** 219 * Sets the value of the userIsRequestor property. 220 * 221 */ 222 public void setUserIsRequestor(boolean value) { 223 this.userIsRequestor = value; 224 } 225 226 /** 227 * Gets the value of the networkAccessPointID property. 228 * 229 * @return 230 * possible object is 231 * {@link String } 232 * 233 */ 234 public String getNetworkAccessPointID() { 235 return networkAccessPointID; 236 } 237 238 /** 239 * Sets the value of the networkAccessPointID property. 240 * 241 * @param value 242 * allowed object is 243 * {@link String } 244 * 245 */ 246 public void setNetworkAccessPointID(String value) { 247 this.networkAccessPointID = value; 248 } 249 250 /** 251 * Gets the value of the networkAccessPointTypeCode property. 252 * 253 * @return 254 * possible object is 255 * {@link String } 256 * 257 */ 258 public String getNetworkAccessPointTypeCode() { 259 return networkAccessPointTypeCode; 260 } 261 262 /** 263 * Sets the value of the networkAccessPointTypeCode property. 264 * 265 * @param value 266 * allowed object is 267 * {@link String } 268 * 269 */ 270 public void setNetworkAccessPointTypeCode(String value) { 271 this.networkAccessPointTypeCode = value; 272 } 273 274}