public static class IFTMIN.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="TOD" type="{http://www.ibm.com/dfdl/edi/un/edifact/D12B}TOD-TermsOfDeliveryOrTransport"/>
<element name="LOC" type="{http://www.ibm.com/dfdl/edi/un/edifact/D12B}LOC-PlaceLocationIdentification" maxOccurs="9" minOccurs="0"/>
</sequence>
</sequence>
</restriction>
</complexContent>
</complexType>
| Constructor and Description |
|---|
SegGrp2() |
| Modifier and Type | Method and Description |
|---|---|
List<LOCPlaceLocationIdentification> |
getLOC()
Gets the value of the loc property.
|
TODTermsOfDeliveryOrTransport |
getTOD()
Gets the value of the tod property.
|
void |
setTOD(TODTermsOfDeliveryOrTransport value)
Sets the value of the tod property.
|
IFTMIN.SegGrp2 |
withLOC(Collection<LOCPlaceLocationIdentification> values) |
IFTMIN.SegGrp2 |
withLOC(LOCPlaceLocationIdentification... values) |
IFTMIN.SegGrp2 |
withTOD(TODTermsOfDeliveryOrTransport value) |
public TODTermsOfDeliveryOrTransport getTOD()
TODTermsOfDeliveryOrTransportpublic void setTOD(TODTermsOfDeliveryOrTransport value)
value - allowed object is
TODTermsOfDeliveryOrTransportpublic List<LOCPlaceLocationIdentification> getLOC()
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 loc property.
For example, to add a new item, do as follows:
getLOC().add(newItem);
Objects of the following type(s) are allowed in the list
LOCPlaceLocationIdentification
public IFTMIN.SegGrp2 withTOD(TODTermsOfDeliveryOrTransport value)
public IFTMIN.SegGrp2 withLOC(LOCPlaceLocationIdentification... values)
public IFTMIN.SegGrp2 withLOC(Collection<LOCPlaceLocationIdentification> values)
Copyright © 2020. All rights reserved.