public static class CUSREP.SegGrp2 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>
<sequence>
<element name="GDS" type="{http://www.ibm.com/dfdl/edi/un/edifact/D12B}GDS-NatureOfCargo"/>
<element name="FTX" type="{http://www.ibm.com/dfdl/edi/un/edifact/D12B}FTX-FreeText" maxOccurs="9" minOccurs="0"/>
</sequence>
</sequence>
</restriction>
</complexContent>
</complexType>
| Constructor and Description |
|---|
SegGrp2() |
| Modifier and Type | Method and Description |
|---|---|
List<FTXFreeText> |
getFTX()
Gets the value of the ftx property.
|
GDSNatureOfCargo |
getGDS()
Gets the value of the gds property.
|
void |
setGDS(GDSNatureOfCargo value)
Sets the value of the gds property.
|
CUSREP.SegGrp2 |
withFTX(Collection<FTXFreeText> values) |
CUSREP.SegGrp2 |
withFTX(FTXFreeText... values) |
CUSREP.SegGrp2 |
withGDS(GDSNatureOfCargo value) |
public GDSNatureOfCargo getGDS()
GDSNatureOfCargopublic void setGDS(GDSNatureOfCargo value)
value - allowed object is
GDSNatureOfCargopublic List<FTXFreeText> getFTX()
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 ftx property.
For example, to add a new item, do as follows:
getFTX().add(newItem);
Objects of the following type(s) are allowed in the list
FTXFreeText
public CUSREP.SegGrp2 withGDS(GDSNatureOfCargo value)
public CUSREP.SegGrp2 withFTX(FTXFreeText... values)
public CUSREP.SegGrp2 withFTX(Collection<FTXFreeText> values)
Copyright © 2020. All rights reserved.