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/D12B}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/D12B}Message" maxOccurs="unbounded"/>
</choice>
<element name="UNZ" type="{http://www.ibm.com/dfdl/edi/un/service/4.1}UNZ-InterchangeTrailer"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Class and Description |
|---|---|
static class |
Interchange.FunctionGroup
Java class for anonymous complex type.
|
| Constructor and Description |
|---|
Interchange() |
| Modifier and Type | Method and Description |
|---|---|
List<Interchange.FunctionGroup> |
getFunctionGroup()
Gets the value of the functionGroup property.
|
List<Message> |
getMessage()
Gets the value of the message property.
|
UNA |
getUNA()
Gets the value of the una property.
|
UNBInterchangeHeader |
getUNB()
Gets the value of the unb property.
|
UNZInterchangeTrailer |
getUNZ()
Gets the value of the unz property.
|
void |
setUNA(UNA value)
Sets the value of the una property.
|
void |
setUNB(UNBInterchangeHeader value)
Sets the value of the unb property.
|
void |
setUNZ(UNZInterchangeTrailer value)
Sets the value of the unz property.
|
Interchange |
withFunctionGroup(Collection<Interchange.FunctionGroup> values) |
Interchange |
withFunctionGroup(Interchange.FunctionGroup... values) |
Interchange |
withMessage(Collection<Message> values) |
Interchange |
withMessage(Message... values) |
Interchange |
withUNA(UNA value) |
Interchange |
withUNB(UNBInterchangeHeader value) |
Interchange |
withUNZ(UNZInterchangeTrailer value) |
public void setUNA(UNA value)
value - allowed object is
UNApublic UNBInterchangeHeader getUNB()
UNBInterchangeHeaderpublic void setUNB(UNBInterchangeHeader value)
value - allowed object is
UNBInterchangeHeaderpublic List<Interchange.FunctionGroup> getFunctionGroup()
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 JAXB 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
public List<Message> getMessage()
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 JAXB 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
public UNZInterchangeTrailer getUNZ()
UNZInterchangeTrailerpublic void setUNZ(UNZInterchangeTrailer value)
value - allowed object is
UNZInterchangeTrailerpublic Interchange withUNA(UNA value)
public Interchange withUNB(UNBInterchangeHeader value)
public Interchange withFunctionGroup(Interchange.FunctionGroup... values)
public Interchange withFunctionGroup(Collection<Interchange.FunctionGroup> values)
public Interchange withMessage(Message... values)
public Interchange withMessage(Collection<Message> values)
public Interchange withUNZ(UNZInterchangeTrailer value)
Copyright © 2020. All rights reserved.