View Javadoc
1   //
2   // This file was generated by the Eclipse Implementation of JAXB, v3.0.0 
3   // See https://eclipse-ee4j.github.io/jaxb-ri 
4   // Any modifications to this file will be lost upon recompilation of the source schema. 
5   // Generated on: 2023.11.01 at 04:26:55 PM EDT 
6   //
7   
8   
9   package ca.uhn.hl7v2.testpanel.xsd;
10  
11  import jakarta.xml.bind.annotation.XmlAccessType;
12  import jakarta.xml.bind.annotation.XmlAccessorType;
13  import jakarta.xml.bind.annotation.XmlAttribute;
14  import jakarta.xml.bind.annotation.XmlType;
15  
16  
17  /**
18   * <p>Java class for MllpHl7V2Interface complex type.
19   * 
20   * <p>The following schema fragment specifies the expected content contained within this class.
21   * 
22   * <pre>
23   * &lt;complexType name="MllpHl7V2Interface"&gt;
24   *   &lt;complexContent&gt;
25   *     &lt;extension base="{http://hl7api.sourceforge.net/hunit/hunit_tests.xsd}Interface"&gt;
26   *       &lt;sequence&gt;
27   *       &lt;/sequence&gt;
28   *       &lt;attribute name="ip" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
29   *       &lt;attribute name="singleOrIncomingPort" use="required" type="{http://www.w3.org/2001/XMLSchema}int" /&gt;
30   *       &lt;attribute name="outgoingPort" type="{http://www.w3.org/2001/XMLSchema}int" /&gt;
31   *       &lt;attribute name="encoding" use="required" type="{http://hl7api.sourceforge.net/hunit/hunit_tests.xsd}Hl7V2EncodingTypeEnum" /&gt;
32   *       &lt;attribute name="captureBytes" use="required" type="{http://hl7api.sourceforge.net/hunit/hunit_tests.xsd}Hl7V2EncodingTypeEnum" /&gt;
33   *     &lt;/extension&gt;
34   *   &lt;/complexContent&gt;
35   * &lt;/complexType&gt;
36   * </pre>
37   * 
38   * 
39   */
40  @XmlAccessorType(XmlAccessType.FIELD)
41  @XmlType(name = "MllpHl7V2Interface")
42  public class MllpHl7V2Interface
43      extends Interface
44  {
45  
46      @XmlAttribute(name = "ip", required = true)
47      protected String ip;
48      @XmlAttribute(name = "singleOrIncomingPort", required = true)
49      protected int singleOrIncomingPort;
50      @XmlAttribute(name = "outgoingPort")
51      protected Integer outgoingPort;
52      @XmlAttribute(name = "encoding", required = true)
53      protected Hl7V2EncodingTypeEnum encoding;
54      @XmlAttribute(name = "captureBytes", required = true)
55      protected Hl7V2EncodingTypeEnum captureBytes;
56  
57      /**
58       * Gets the value of the ip property.
59       * 
60       * @return
61       *     possible object is
62       *     {@link String }
63       *     
64       */
65      public String getIp() {
66          return ip;
67      }
68  
69      /**
70       * Sets the value of the ip property.
71       * 
72       * @param value
73       *     allowed object is
74       *     {@link String }
75       *     
76       */
77      public void setIp(String value) {
78          this.ip = value;
79      }
80  
81      /**
82       * Gets the value of the singleOrIncomingPort property.
83       * 
84       */
85      public int getSingleOrIncomingPort() {
86          return singleOrIncomingPort;
87      }
88  
89      /**
90       * Sets the value of the singleOrIncomingPort property.
91       * 
92       */
93      public void setSingleOrIncomingPort(int value) {
94          this.singleOrIncomingPort = value;
95      }
96  
97      /**
98       * Gets the value of the outgoingPort property.
99       * 
100      * @return
101      *     possible object is
102      *     {@link Integer }
103      *     
104      */
105     public Integer getOutgoingPort() {
106         return outgoingPort;
107     }
108 
109     /**
110      * Sets the value of the outgoingPort property.
111      * 
112      * @param value
113      *     allowed object is
114      *     {@link Integer }
115      *     
116      */
117     public void setOutgoingPort(Integer value) {
118         this.outgoingPort = value;
119     }
120 
121     /**
122      * Gets the value of the encoding property.
123      * 
124      * @return
125      *     possible object is
126      *     {@link Hl7V2EncodingTypeEnum }
127      *     
128      */
129     public Hl7V2EncodingTypeEnum getEncoding() {
130         return encoding;
131     }
132 
133     /**
134      * Sets the value of the encoding property.
135      * 
136      * @param value
137      *     allowed object is
138      *     {@link Hl7V2EncodingTypeEnum }
139      *     
140      */
141     public void setEncoding(Hl7V2EncodingTypeEnum value) {
142         this.encoding = value;
143     }
144 
145     /**
146      * Gets the value of the captureBytes property.
147      * 
148      * @return
149      *     possible object is
150      *     {@link Hl7V2EncodingTypeEnum }
151      *     
152      */
153     public Hl7V2EncodingTypeEnum getCaptureBytes() {
154         return captureBytes;
155     }
156 
157     /**
158      * Sets the value of the captureBytes property.
159      * 
160      * @param value
161      *     allowed object is
162      *     {@link Hl7V2EncodingTypeEnum }
163      *     
164      */
165     public void setCaptureBytes(Hl7V2EncodingTypeEnum value) {
166         this.captureBytes = value;
167     }
168 
169 }