1 package ca.uhn.hl7v2.model.primitive;
2
3 import ca.uhn.hl7v2.model.Message;
4
5
6
7
8 @SuppressWarnings("serial")
9 public class ISWithNamespace extends IS {
10
11 private final String myNamespace;
12 private final String myHl7Version;
13
14
15
16
17 public ISWithNamespace(Message theMessage, String theHl7Version, String theNamespace, int theTable) {
18 super(theMessage, theTable);
19 myHl7Version = theHl7Version;
20 myNamespace = theNamespace;
21 }
22
23
24
25
26
27 public ISWithNamespace(Message theMessage, String theHl7Version, String theNamespace, Integer theTable) {
28 super(theMessage, theTable);
29 myHl7Version = theHl7Version;
30 myNamespace = theNamespace;
31 }
32
33
34
35
36
37 @Override
38 public String getName() {
39 return "IS";
40 }
41
42
43
44
45
46 public String getVersion() {
47 return myHl7Version;
48 }
49
50
51
52
53 public String getTableNamespace() {
54 return myNamespace;
55 }
56
57 }