1 package org.fosstrak.epcis.model;
2
3 import java.util.ArrayList;
4 import java.util.List;
5 import javax.xml.bind.JAXBElement;
6 import javax.xml.bind.annotation.XmlAccessType;
7 import javax.xml.bind.annotation.XmlAccessorType;
8 import javax.xml.bind.annotation.XmlElement;
9 import javax.xml.bind.annotation.XmlElementRef;
10 import javax.xml.bind.annotation.XmlType;
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32 @XmlAccessorType(XmlAccessType.FIELD)
33 @XmlType(name = "Scope", namespace = "http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader", propOrder = {
34 "type", "instanceIdentifier", "identifier", "scopeInformation" })
35 public class Scope {
36
37 @XmlElement(name = "Type", namespace = "http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader", required = true)
38 protected String type;
39 @XmlElement(name = "InstanceIdentifier", namespace = "http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader", required = true)
40 protected String instanceIdentifier;
41 @XmlElement(name = "Identifier", namespace = "http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader")
42 protected String identifier;
43 @XmlElementRef(name = "ScopeInformation", namespace = "http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader", type = JAXBElement.class)
44 protected List<JAXBElement<?>> scopeInformation;
45
46
47
48
49
50
51 public String getType() {
52 return type;
53 }
54
55
56
57
58
59
60
61 public void setType(String value) {
62 this.type = value;
63 }
64
65
66
67
68
69
70 public String getInstanceIdentifier() {
71 return instanceIdentifier;
72 }
73
74
75
76
77
78
79
80 public void setInstanceIdentifier(String value) {
81 this.instanceIdentifier = value;
82 }
83
84
85
86
87
88
89 public String getIdentifier() {
90 return identifier;
91 }
92
93
94
95
96
97
98
99 public void setIdentifier(String value) {
100 this.identifier = value;
101 }
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122 public List<JAXBElement<?>> getScopeInformation() {
123 if (scopeInformation == null) {
124 scopeInformation = new ArrayList<JAXBElement<?>>();
125 }
126 return this.scopeInformation;
127 }
128
129 }