1 package org.fosstrak.epcis.model;
2
3 import java.util.ArrayList;
4 import java.util.HashMap;
5 import java.util.List;
6 import java.util.Map;
7 import javax.xml.bind.annotation.XmlAccessType;
8 import javax.xml.bind.annotation.XmlAccessorType;
9 import javax.xml.bind.annotation.XmlAnyAttribute;
10 import javax.xml.bind.annotation.XmlAnyElement;
11 import javax.xml.bind.annotation.XmlAttribute;
12 import javax.xml.bind.annotation.XmlMixed;
13 import javax.xml.bind.annotation.XmlSchemaType;
14 import javax.xml.bind.annotation.XmlType;
15 import javax.xml.namespace.QName;
16 import org.w3c.dom.Element;
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36 @XmlAccessorType(XmlAccessType.FIELD)
37 @XmlType(name = "AttributeType", namespace = "urn:epcglobal:epcis-masterdata:xsd:1", propOrder = { "content" })
38 public class AttributeType {
39
40 @XmlMixed
41 @XmlAnyElement
42 protected List<Object> content;
43 @XmlAttribute(name = "id", required = true)
44 @XmlSchemaType(name = "anyURI")
45 protected String id;
46 @XmlAnyAttribute
47 private Map<QName, String> otherAttributes = new HashMap<QName, String>();
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66 public List<Object> getContent() {
67 if (content == null) {
68 content = new ArrayList<Object>();
69 }
70 return this.content;
71 }
72
73
74
75
76
77
78 public String getId() {
79 return id;
80 }
81
82
83
84
85
86
87
88 public void setId(String value) {
89 this.id = value;
90 }
91
92
93
94
95
96
97
98
99
100
101
102
103 public Map<QName, String> getOtherAttributes() {
104 return otherAttributes;
105 }
106
107 }