Class Interchange
- java.lang.Object
-
- org.smooks.edifact.binding.d03b.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>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classInterchange.FunctionGroupJava class for anonymous complex type.
-
Constructor Summary
Constructors Constructor Description Interchange()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Interchange.FunctionGroup>getFunctionGroup()Gets the value of the functionGroup property.List<Message>getMessage()Gets the value of the message property.UNAgetUNA()Gets the value of the una property.UNBInterchangeHeadergetUNB()Gets the value of the unb property.UNZInterchangeTrailergetUNZ()Gets the value of the unz property.voidsetUNA(UNA value)Sets the value of the una property.voidsetUNB(UNBInterchangeHeader value)Sets the value of the unb property.voidsetUNZ(UNZInterchangeTrailer value)Sets the value of the unz property.InterchangewithFunctionGroup(Collection<Interchange.FunctionGroup> values)InterchangewithFunctionGroup(Interchange.FunctionGroup... values)InterchangewithMessage(Collection<Message> values)InterchangewithMessage(Message... values)InterchangewithUNA(UNA value)InterchangewithUNB(UNBInterchangeHeader value)InterchangewithUNZ(UNZInterchangeTrailer value)
-
-
-
Method Detail
-
setUNA
public void setUNA(UNA value)
Sets the value of the una property.- Parameters:
value- allowed object isUNA
-
getUNB
public UNBInterchangeHeader getUNB()
Gets the value of the unb property.- Returns:
- possible object is
UNBInterchangeHeader
-
setUNB
public void setUNB(UNBInterchangeHeader value)
Sets the value of the unb property.- Parameters:
value- allowed object isUNBInterchangeHeader
-
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
setmethod 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
setmethod 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
-
getUNZ
public UNZInterchangeTrailer getUNZ()
Gets the value of the unz property.- Returns:
- possible object is
UNZInterchangeTrailer
-
setUNZ
public void setUNZ(UNZInterchangeTrailer value)
Sets the value of the unz property.- Parameters:
value- allowed object isUNZInterchangeTrailer
-
withUNA
public Interchange withUNA(UNA value)
-
withUNB
public Interchange withUNB(UNBInterchangeHeader value)
-
withFunctionGroup
public Interchange withFunctionGroup(Interchange.FunctionGroup... values)
-
withFunctionGroup
public Interchange withFunctionGroup(Collection<Interchange.FunctionGroup> values)
-
withMessage
public Interchange withMessage(Message... values)
-
withMessage
public Interchange withMessage(Collection<Message> values)
-
withUNZ
public Interchange withUNZ(UNZInterchangeTrailer value)
-
-