1 package org.fosstrak.epcis.model;
2
3 import java.math.BigDecimal;
4 import javax.xml.bind.annotation.XmlAccessType;
5 import javax.xml.bind.annotation.XmlAccessorType;
6 import javax.xml.bind.annotation.XmlAttribute;
7 import javax.xml.bind.annotation.XmlSchemaType;
8 import javax.xml.bind.annotation.XmlSeeAlso;
9 import javax.xml.bind.annotation.XmlType;
10 import javax.xml.datatype.XMLGregorianCalendar;
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31 @XmlAccessorType(XmlAccessType.FIELD)
32 @XmlType(name = "Document", namespace = "urn:epcglobal:xsd:1")
33 @XmlSeeAlso( { EPCISDocumentType.class, EPCISMasterDataDocumentType.class, EPCISQueryDocumentType.class })
34 public abstract class Document {
35
36 @XmlAttribute(name = "schemaVersion", required = true)
37 protected BigDecimal schemaVersion;
38 @XmlAttribute(name = "creationDate", required = true)
39 @XmlSchemaType(name = "dateTime")
40 protected XMLGregorianCalendar creationDate;
41
42
43
44
45
46
47 public BigDecimal getSchemaVersion() {
48 return schemaVersion;
49 }
50
51
52
53
54
55
56
57 public void setSchemaVersion(BigDecimal value) {
58 this.schemaVersion = value;
59 }
60
61
62
63
64
65
66 public XMLGregorianCalendar getCreationDate() {
67 return creationDate;
68 }
69
70
71
72
73
74
75
76 public void setCreationDate(XMLGregorianCalendar value) {
77 this.creationDate = value;
78 }
79
80 }