Class Interchange


  • public class Interchange
    extends Object

    Java class for anonymous complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType>
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element name="UNA" type="{http://www.ibm.com/dfdl/edi/un/service/4.1}UNA" minOccurs="0"/>
             <element name="UNB" type="{http://www.ibm.com/dfdl/edi/un/service/4.1}UNB-InterchangeHeader"/>
             <choice>
               <element name="FunctionGroup" maxOccurs="unbounded">
                 <complexType>
                   <complexContent>
                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                       <sequence>
                         <element name="UNG" type="{http://www.ibm.com/dfdl/edi/un/service/4.1}UNG-GroupHeader"/>
                         <element ref="{http://www.ibm.com/dfdl/edi/un/edifact/D03B}Message" maxOccurs="unbounded"/>
                         <element name="UNE" type="{http://www.ibm.com/dfdl/edi/un/service/4.1}UNE-GroupTrailer"/>
                       </sequence>
                     </restriction>
                   </complexContent>
                 </complexType>
               </element>
               <element ref="{http://www.ibm.com/dfdl/edi/un/edifact/D03B}Message" maxOccurs="unbounded"/>
             </choice>
             <element name="UNZ" type="{http://www.ibm.com/dfdl/edi/un/service/4.1}UNZ-InterchangeTrailer"/>
           </sequence>
         </restriction>
       </complexContent>
     </complexType>
     
    • Constructor Detail

      • Interchange

        public Interchange()
    • Method Detail

      • getUNA

        public UNA getUNA()
        Gets the value of the una property.
        Returns:
        possible object is UNA
      • setUNA

        public void setUNA​(UNA value)
        Sets the value of the una property.
        Parameters:
        value - allowed object is UNA
      • getFunctionGroup

        public List<Interchange.FunctionGroup> getFunctionGroup()
        Gets the value of the functionGroup property.

        This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a set method for the functionGroup property.

        For example, to add a new item, do as follows:

            getFunctionGroup().add(newItem);
         

        Objects of the following type(s) are allowed in the list Interchange.FunctionGroup

      • getMessage

        public List<Message> getMessage()
        Gets the value of the message property.

        This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a set method for the message property.

        For example, to add a new item, do as follows:

            getMessage().add(newItem);
         

        Objects of the following type(s) are allowed in the list Message