Class TradePackage
Java class for TradePackage complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="TradePackage"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="packageHeader" type="{http://www.fpml.org/FpML-5/confirmation}PackageHeader" minOccurs="0"/> <choice> <element name="trade" type="{http://www.fpml.org/FpML-5/confirmation}Trade" maxOccurs="unbounded"/> <group ref="{http://www.fpml.org/FpML-5/confirmation}TradeReferenceInformation.model" maxOccurs="unbounded"/> <element name="tradeIdentifier" type="{http://www.fpml.org/FpML-5/confirmation}TradeIdentifier" maxOccurs="unbounded"/> </choice> <element name="approvals" type="{http://www.fpml.org/FpML-5/confirmation}Approvals" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
-
Field Summary
Modifier and TypeFieldDescriptionprotected Approvals
protected PackageHeader
protected List
<TradeIdentifier> protected List
<TradeReferenceInformation> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the value of the approvals property.Gets the value of the packageHeader property.getTrade()
Gets the value of the trade property.Gets the value of the tradeIdentifier property.Gets the value of the tradeReferenceInformationModel property.void
setApprovals
(Approvals value) Sets the value of the approvals property.void
setPackageHeader
(PackageHeader value) Sets the value of the packageHeader property.
-
Field Details
-
packageHeader
-
trade
-
tradeReferenceInformationModel
-
tradeIdentifier
-
approvals
-
-
Constructor Details
-
TradePackage
public TradePackage()
-
-
Method Details
-
getPackageHeader
Gets the value of the packageHeader property.- Returns:
- possible object is
PackageHeader
-
setPackageHeader
Sets the value of the packageHeader property.- Parameters:
value
- allowed object isPackageHeader
-
getTrade
Gets the value of the trade property.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 Jakarta XML Binding object. This is why there is not a
set
method for the trade property.For example, to add a new item, do as follows:
getTrade().add(newItem);
Objects of the following type(s) are allowed in the list
Trade
-
getTradeReferenceInformationModel
Gets the value of the tradeReferenceInformationModel property.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 Jakarta XML Binding object. This is why there is not a
set
method for the tradeReferenceInformationModel property.For example, to add a new item, do as follows:
getTradeReferenceInformationModel().add(newItem);
Objects of the following type(s) are allowed in the list
TradeReferenceInformation
-
getTradeIdentifier
Gets the value of the tradeIdentifier property.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 Jakarta XML Binding object. This is why there is not a
set
method for the tradeIdentifier property.For example, to add a new item, do as follows:
getTradeIdentifier().add(newItem);
Objects of the following type(s) are allowed in the list
TradeIdentifier
-
getApprovals
-
setApprovals
-