public static class CNTCND.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="PRI" type="{http://www.ibm.com/dfdl/edi/un/edifact/D12B}PRI-PriceDetails"/>
<element name="RNG" type="{http://www.ibm.com/dfdl/edi/un/edifact/D12B}RNG-RangeDetails" maxOccurs="99" minOccurs="0"/>
</sequence>
</sequence>
</restriction>
</complexContent>
</complexType>
| Constructor and Description |
|---|
SegGrp2() |
| Modifier and Type | Method and Description |
|---|---|
PRIPriceDetails |
getPRI()
Gets the value of the pri property.
|
List<RNGRangeDetails> |
getRNG()
Gets the value of the rng property.
|
void |
setPRI(PRIPriceDetails value)
Sets the value of the pri property.
|
CNTCND.SegGrp2 |
withPRI(PRIPriceDetails value) |
CNTCND.SegGrp2 |
withRNG(Collection<RNGRangeDetails> values) |
CNTCND.SegGrp2 |
withRNG(RNGRangeDetails... values) |
public PRIPriceDetails getPRI()
PRIPriceDetailspublic void setPRI(PRIPriceDetails value)
value - allowed object is
PRIPriceDetailspublic List<RNGRangeDetails> getRNG()
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 rng property.
For example, to add a new item, do as follows:
getRNG().add(newItem);
Objects of the following type(s) are allowed in the list
RNGRangeDetails
public CNTCND.SegGrp2 withPRI(PRIPriceDetails value)
public CNTCND.SegGrp2 withRNG(RNGRangeDetails... values)
public CNTCND.SegGrp2 withRNG(Collection<RNGRangeDetails> values)
Copyright © 2020. All rights reserved.