public static class INSREQ.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="NAD" type="{http://www.ibm.com/dfdl/edi/un/edifact/D12B}NAD-NameAndAddress"/>
<element name="LOC" type="{http://www.ibm.com/dfdl/edi/un/edifact/D12B}LOC-PlaceLocationIdentification" maxOccurs="99" 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.
|
NADNameAndAddress |
getNAD()
Gets the value of the nad property.
|
void |
setNAD(NADNameAndAddress value)
Sets the value of the nad property.
|
INSREQ.SegGrp2 |
withLOC(Collection<LOCPlaceLocationIdentification> values) |
INSREQ.SegGrp2 |
withLOC(LOCPlaceLocationIdentification... values) |
INSREQ.SegGrp2 |
withNAD(NADNameAndAddress value) |
public NADNameAndAddress getNAD()
NADNameAndAddresspublic void setNAD(NADNameAndAddress value)
value - allowed object is
NADNameAndAddresspublic 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 INSREQ.SegGrp2 withNAD(NADNameAndAddress value)
public INSREQ.SegGrp2 withLOC(LOCPlaceLocationIdentification... values)
public INSREQ.SegGrp2 withLOC(Collection<LOCPlaceLocationIdentification> values)
Copyright © 2020. All rights reserved.