View Javadoc
1   //
2   // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.9-03/31/2009 04:14 PM(snajper)-fcs 
3   // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
4   // Any modifications to this file will be lost upon recompilation of the source schema. 
5   // Generated on: 2009.04.30 at 06:20:20 PM CEST 
6   //
7   
8   
9   package org.openehealth.ipf.commons.ihe.xds.core.stub.ebrs30.rim;
10  
11  import javax.xml.bind.annotation.XmlAccessType;
12  import javax.xml.bind.annotation.XmlAccessorType;
13  import javax.xml.bind.annotation.XmlAttribute;
14  import javax.xml.bind.annotation.XmlElement;
15  import javax.xml.bind.annotation.XmlSchemaType;
16  import javax.xml.bind.annotation.XmlType;
17  import javax.xml.datatype.XMLGregorianCalendar;
18  
19  
20  /**
21   * An Event that forms an audit trail in ebXML Registry.
22   * 
23   * <p>Java class for AuditableEventType complex type.
24   * 
25   * <p>The following schema fragment specifies the expected content contained within this class.
26   * 
27   * <pre>
28   * &lt;complexType name="AuditableEventType">
29   *   &lt;complexContent>
30   *     &lt;extension base="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0}RegistryObjectType">
31   *       &lt;sequence>
32   *         &lt;element name="affectedObjects" type="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0}ObjectRefListType"/>
33   *       &lt;/sequence>
34   *       &lt;attribute name="eventType" use="required" type="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0}referenceURI" />
35   *       &lt;attribute name="timestamp" use="required" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
36   *       &lt;attribute name="user" use="required" type="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0}referenceURI" />
37   *       &lt;attribute name="requestId" use="required" type="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0}referenceURI" />
38   *     &lt;/extension>
39   *   &lt;/complexContent>
40   * &lt;/complexType>
41   * </pre>
42   * 
43   * 
44   */
45  @XmlAccessorType(XmlAccessType.FIELD)
46  @XmlType(name = "AuditableEventType", propOrder = {
47      "affectedObjects"
48  })
49  public class AuditableEventType
50      extends RegistryObjectType
51  {
52  
53      @XmlElement(required = true)
54      protected ObjectRefListType affectedObjects;
55      @XmlAttribute(required = true)
56      protected String eventType;
57      @XmlAttribute(required = true)
58      @XmlSchemaType(name = "dateTime")
59      protected XMLGregorianCalendar timestamp;
60      @XmlAttribute(required = true)
61      protected String user;
62      @XmlAttribute(required = true)
63      protected String requestId;
64  
65      /**
66       * Gets the value of the affectedObjects property.
67       * 
68       * @return
69       *     possible object is
70       *     {@link ObjectRefListType }
71       *     
72       */
73      public ObjectRefListType getAffectedObjects() {
74          return affectedObjects;
75      }
76  
77      /**
78       * Sets the value of the affectedObjects property.
79       * 
80       * @param value
81       *     allowed object is
82       *     {@link ObjectRefListType }
83       *     
84       */
85      public void setAffectedObjects(ObjectRefListType value) {
86          this.affectedObjects = value;
87      }
88  
89      /**
90       * Gets the value of the eventType property.
91       * 
92       * @return
93       *     possible object is
94       *     {@link String }
95       *     
96       */
97      public String getEventType() {
98          return eventType;
99      }
100 
101     /**
102      * Sets the value of the eventType property.
103      * 
104      * @param value
105      *     allowed object is
106      *     {@link String }
107      *     
108      */
109     public void setEventType(String value) {
110         this.eventType = value;
111     }
112 
113     /**
114      * Gets the value of the timestamp property.
115      * 
116      * @return
117      *     possible object is
118      *     {@link XMLGregorianCalendar }
119      *     
120      */
121     public XMLGregorianCalendar getTimestamp() {
122         return timestamp;
123     }
124 
125     /**
126      * Sets the value of the timestamp property.
127      * 
128      * @param value
129      *     allowed object is
130      *     {@link XMLGregorianCalendar }
131      *     
132      */
133     public void setTimestamp(XMLGregorianCalendar value) {
134         this.timestamp = value;
135     }
136 
137     /**
138      * Gets the value of the user property.
139      * 
140      * @return
141      *     possible object is
142      *     {@link String }
143      *     
144      */
145     public String getUser() {
146         return user;
147     }
148 
149     /**
150      * Sets the value of the user property.
151      * 
152      * @param value
153      *     allowed object is
154      *     {@link String }
155      *     
156      */
157     public void setUser(String value) {
158         this.user = value;
159     }
160 
161     /**
162      * Gets the value of the requestId property.
163      * 
164      * @return
165      *     possible object is
166      *     {@link String }
167      *     
168      */
169     public String getRequestId() {
170         return requestId;
171     }
172 
173     /**
174      * Sets the value of the requestId property.
175      * 
176      * @param value
177      *     allowed object is
178      *     {@link String }
179      *     
180      */
181     public void setRequestId(String value) {
182         this.requestId = value;
183     }
184 
185 }