public class SupplyChainTradeTransactionType extends Object
Java class for SupplyChainTradeTransactionType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="SupplyChainTradeTransactionType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="ApplicableSupplyChainTradeAgreement" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}SupplyChainTradeAgreementType" maxOccurs="unbounded" minOccurs="0"/>
<element name="ApplicableSupplyChainTradeDelivery" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}SupplyChainTradeDeliveryType" minOccurs="0"/>
<element name="ApplicableSupplyChainTradeSettlement" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}SupplyChainTradeSettlementType" minOccurs="0"/>
<element name="IncludedSupplyChainTradeLineItem" type="{urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12}SupplyChainTradeLineItemType" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<SupplyChainTradeAgreementType> |
applicableSupplyChainTradeAgreement |
protected SupplyChainTradeDeliveryType |
applicableSupplyChainTradeDelivery |
protected SupplyChainTradeSettlementType |
applicableSupplyChainTradeSettlement |
protected List<SupplyChainTradeLineItemType> |
includedSupplyChainTradeLineItem |
| Constructor and Description |
|---|
SupplyChainTradeTransactionType() |
protected List<SupplyChainTradeAgreementType> applicableSupplyChainTradeAgreement
protected SupplyChainTradeDeliveryType applicableSupplyChainTradeDelivery
protected SupplyChainTradeSettlementType applicableSupplyChainTradeSettlement
protected List<SupplyChainTradeLineItemType> includedSupplyChainTradeLineItem
public List<SupplyChainTradeAgreementType> getApplicableSupplyChainTradeAgreement()
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 applicableSupplyChainTradeAgreement property.
For example, to add a new item, do as follows:
getApplicableSupplyChainTradeAgreement().add(newItem);
Objects of the following type(s) are allowed in the list
SupplyChainTradeAgreementType
public SupplyChainTradeDeliveryType getApplicableSupplyChainTradeDelivery()
SupplyChainTradeDeliveryTypepublic void setApplicableSupplyChainTradeDelivery(SupplyChainTradeDeliveryType value)
value - allowed object is
SupplyChainTradeDeliveryTypepublic SupplyChainTradeSettlementType getApplicableSupplyChainTradeSettlement()
SupplyChainTradeSettlementTypepublic void setApplicableSupplyChainTradeSettlement(SupplyChainTradeSettlementType value)
value - allowed object is
SupplyChainTradeSettlementTypepublic List<SupplyChainTradeLineItemType> getIncludedSupplyChainTradeLineItem()
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 includedSupplyChainTradeLineItem property.
For example, to add a new item, do as follows:
getIncludedSupplyChainTradeLineItem().add(newItem);
Objects of the following type(s) are allowed in the list
SupplyChainTradeLineItemType
public SupplyChainTradeTransactionType withApplicableSupplyChainTradeAgreement(SupplyChainTradeAgreementType... values)
public SupplyChainTradeTransactionType withApplicableSupplyChainTradeAgreement(Collection<SupplyChainTradeAgreementType> values)
public SupplyChainTradeTransactionType withApplicableSupplyChainTradeDelivery(SupplyChainTradeDeliveryType value)
public SupplyChainTradeTransactionType withApplicableSupplyChainTradeSettlement(SupplyChainTradeSettlementType value)
public SupplyChainTradeTransactionType withIncludedSupplyChainTradeLineItem(SupplyChainTradeLineItemType... values)
public SupplyChainTradeTransactionType withIncludedSupplyChainTradeLineItem(Collection<SupplyChainTradeLineItemType> values)
Copyright © 2014–2019 Philip Helger. All rights reserved.