1 package org.fosstrak.epcis.model;
2
3 import java.util.HashMap;
4 import java.util.Map;
5 import javax.xml.bind.annotation.XmlAccessType;
6 import javax.xml.bind.annotation.XmlAccessorType;
7 import javax.xml.bind.annotation.XmlAnyAttribute;
8 import javax.xml.bind.annotation.XmlElement;
9 import javax.xml.bind.annotation.XmlSchemaType;
10 import javax.xml.bind.annotation.XmlSeeAlso;
11 import javax.xml.bind.annotation.XmlType;
12 import javax.xml.datatype.XMLGregorianCalendar;
13 import javax.xml.namespace.QName;
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39 @XmlAccessorType(XmlAccessType.FIELD)
40 @XmlType(name = "EPCISEventType", namespace = "urn:epcglobal:epcis:xsd:1", propOrder = {
41 "eventTime", "recordTime", "eventTimeZoneOffset", "baseExtension" })
42 @XmlSeeAlso( { TransactionEventType.class, QuantityEventType.class, ObjectEventType.class, AggregationEventType.class })
43 public abstract class EPCISEventType {
44
45 @XmlElement(required = true)
46 @XmlSchemaType(name = "dateTime")
47 protected XMLGregorianCalendar eventTime;
48 @XmlSchemaType(name = "dateTime")
49 protected XMLGregorianCalendar recordTime;
50 @XmlElement(required = true)
51 protected String eventTimeZoneOffset;
52 protected EPCISEventExtensionType baseExtension;
53 @XmlAnyAttribute
54 private Map<QName, String> otherAttributes = new HashMap<QName, String>();
55
56
57
58
59
60
61 public XMLGregorianCalendar getEventTime() {
62 return eventTime;
63 }
64
65
66
67
68
69
70
71 public void setEventTime(XMLGregorianCalendar value) {
72 this.eventTime = value;
73 }
74
75
76
77
78
79
80 public XMLGregorianCalendar getRecordTime() {
81 return recordTime;
82 }
83
84
85
86
87
88
89
90 public void setRecordTime(XMLGregorianCalendar value) {
91 this.recordTime = value;
92 }
93
94
95
96
97
98
99 public String getEventTimeZoneOffset() {
100 return eventTimeZoneOffset;
101 }
102
103
104
105
106
107
108
109 public void setEventTimeZoneOffset(String value) {
110 this.eventTimeZoneOffset = value;
111 }
112
113
114
115
116
117
118 public EPCISEventExtensionType getBaseExtension() {
119 return baseExtension;
120 }
121
122
123
124
125
126
127
128 public void setBaseExtension(EPCISEventExtensionType value) {
129 this.baseExtension = value;
130 }
131
132
133
134
135
136
137
138
139
140
141
142
143 public Map<QName, String> getOtherAttributes() {
144 return otherAttributes;
145 }
146
147 }