public static class INVOIC.SegGrp12 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="2" minOccurs="0"/>
</sequence>
</sequence>
</restriction>
</complexContent>
</complexType>
| Constructor and Description |
|---|
SegGrp12() |
| 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.
|
INVOIC.SegGrp12 |
withLOC(Collection<LOCPlaceLocationIdentification> values) |
INVOIC.SegGrp12 |
withLOC(LOCPlaceLocationIdentification... values) |
INVOIC.SegGrp12 |
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 INVOIC.SegGrp12 withTOD(TODTermsOfDeliveryOrTransport value)
public INVOIC.SegGrp12 withLOC(LOCPlaceLocationIdentification... values)
public INVOIC.SegGrp12 withLOC(Collection<LOCPlaceLocationIdentification> values)
Copyright © 2020. All rights reserved.