Class TradeIdentifier
- Direct Known Subclasses:
PartyTradeIdentifier
,TradeIdentifierExtended
Java class for TradeIdentifier complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="TradeIdentifier"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <choice> <group ref="{http://www.fpml.org/FpML-5/confirmation}IssuerTradeId.model"/> <sequence> <group ref="{http://www.fpml.org/FpML-5/confirmation}PartyAndAccountReferences.model"/> <choice maxOccurs="unbounded"> <element name="tradeId" type="{http://www.fpml.org/FpML-5/confirmation}TradeId"/> <element name="versionedTradeId" type="{http://www.fpml.org/FpML-5/confirmation}VersionedTradeId"/> </choice> </sequence> </choice> </sequence> <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" /> </restriction> </complexContent> </complexType>
This PATCH is required, because the JAXB maven pugin has an an issue with the propOder - see https://stackoverflow.com/questions/16189531/jaxb-property-order This is due to the definition of TradeIdentifier - https://www.fpml.org/spec/fpml-5-2-4-tr-1/html/confirmation/schemaDocumentation/schemas/fpml-doc-5-2_xsd/complexTypes/PartyTradeIdentifier.html
-
Field Summary
Modifier and TypeFieldDescriptionprotected AccountReference
protected String
protected IssuerId
protected PartyReference
protected TradeId
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the value of the accountReference property.getId()
Gets the value of the id property.Gets the value of the issuer property.Gets the value of the partyReference property.Gets the value of the tradeId property.Gets the value of the tradeIdOrVersionedTradeId property.void
Sets the value of the accountReference property.void
Sets the value of the id property.void
Sets the value of the issuer property.void
setPartyReference
(PartyReference value) Sets the value of the partyReference property.void
setTradeId
(TradeId value) Sets the value of the tradeId property.
-
Field Details
-
issuer
-
tradeId
-
partyReference
-
accountReference
-
tradeIdOrVersionedTradeId
-
id
-
-
Constructor Details
-
TradeIdentifier
public TradeIdentifier()
-
-
Method Details
-
getIssuer
-
setIssuer
-
getTradeId
-
setTradeId
-
getPartyReference
Gets the value of the partyReference property.- Returns:
- possible object is
PartyReference
-
setPartyReference
Sets the value of the partyReference property.- Parameters:
value
- allowed object isPartyReference
-
getAccountReference
Gets the value of the accountReference property.- Returns:
- possible object is
AccountReference
-
setAccountReference
Sets the value of the accountReference property.- Parameters:
value
- allowed object isAccountReference
-
getTradeIdOrVersionedTradeId
Gets the value of the tradeIdOrVersionedTradeId 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 tradeIdOrVersionedTradeId property.For example, to add a new item, do as follows:
getTradeIdOrVersionedTradeId().add(newItem);
Objects of the following type(s) are allowed in the list
TradeId
VersionedTradeId
-
getId
-
setId
-