org.fpml.fpml_5.confirmation.Allocation Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.2
// See https://javaee.github.io/jaxb-v2/
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2024.05.10 at 03:58:40 PM UTC
//
package org.fpml.fpml_5.confirmation;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;
/**
* Java class for Allocation complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="Allocation">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="allocationTradeId" type="{http://www.fpml.org/FpML-5/confirmation}TradeIdentifier" maxOccurs="unbounded"/>
* <group ref="{http://www.fpml.org/FpML-5/confirmation}PartyAndAccountReferences.model"/>
* <choice>
* <element name="allocatedFraction" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
* <element name="allocatedNotional" type="{http://www.fpml.org/FpML-5/confirmation}Money" maxOccurs="2"/>
* </choice>
* <group ref="{http://www.fpml.org/FpML-5/confirmation}AllocationContent.model"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Allocation", propOrder = {
"allocationTradeId",
"partyReference",
"accountReference",
"allocatedFraction",
"allocatedNotional",
"collateral",
"creditChargeAmount",
"approvals",
"masterConfirmationDate",
"relatedParty"
})
public class Allocation {
@XmlElement(required = true)
protected List allocationTradeId;
@XmlElement(required = true)
protected PartyReference partyReference;
protected AccountReference accountReference;
protected BigDecimal allocatedFraction;
protected List allocatedNotional;
protected Collateral collateral;
protected Money creditChargeAmount;
protected Approvals approvals;
@XmlSchemaType(name = "date")
protected XMLGregorianCalendar masterConfirmationDate;
protected List relatedParty;
/**
* Gets the value of the allocationTradeId 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 JAXB object.
* This is why there is not a set
method for the allocationTradeId property.
*
*
* For example, to add a new item, do as follows:
*
* getAllocationTradeId().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link TradeIdentifier }
*
*
*/
public List getAllocationTradeId() {
if (allocationTradeId == null) {
allocationTradeId = new ArrayList();
}
return this.allocationTradeId;
}
/**
* Gets the value of the partyReference property.
*
* @return
* possible object is
* {@link PartyReference }
*
*/
public PartyReference getPartyReference() {
return partyReference;
}
/**
* Sets the value of the partyReference property.
*
* @param value
* allowed object is
* {@link PartyReference }
*
*/
public void setPartyReference(PartyReference value) {
this.partyReference = value;
}
/**
* Gets the value of the accountReference property.
*
* @return
* possible object is
* {@link AccountReference }
*
*/
public AccountReference getAccountReference() {
return accountReference;
}
/**
* Sets the value of the accountReference property.
*
* @param value
* allowed object is
* {@link AccountReference }
*
*/
public void setAccountReference(AccountReference value) {
this.accountReference = value;
}
/**
* Gets the value of the allocatedFraction property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getAllocatedFraction() {
return allocatedFraction;
}
/**
* Sets the value of the allocatedFraction property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setAllocatedFraction(BigDecimal value) {
this.allocatedFraction = value;
}
/**
* Gets the value of the allocatedNotional 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 JAXB object.
* This is why there is not a set
method for the allocatedNotional property.
*
*
* For example, to add a new item, do as follows:
*
* getAllocatedNotional().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Money }
*
*
*/
public List getAllocatedNotional() {
if (allocatedNotional == null) {
allocatedNotional = new ArrayList();
}
return this.allocatedNotional;
}
/**
* Gets the value of the collateral property.
*
* @return
* possible object is
* {@link Collateral }
*
*/
public Collateral getCollateral() {
return collateral;
}
/**
* Sets the value of the collateral property.
*
* @param value
* allowed object is
* {@link Collateral }
*
*/
public void setCollateral(Collateral value) {
this.collateral = value;
}
/**
* Gets the value of the creditChargeAmount property.
*
* @return
* possible object is
* {@link Money }
*
*/
public Money getCreditChargeAmount() {
return creditChargeAmount;
}
/**
* Sets the value of the creditChargeAmount property.
*
* @param value
* allowed object is
* {@link Money }
*
*/
public void setCreditChargeAmount(Money value) {
this.creditChargeAmount = value;
}
/**
* Gets the value of the approvals property.
*
* @return
* possible object is
* {@link Approvals }
*
*/
public Approvals getApprovals() {
return approvals;
}
/**
* Sets the value of the approvals property.
*
* @param value
* allowed object is
* {@link Approvals }
*
*/
public void setApprovals(Approvals value) {
this.approvals = value;
}
/**
* Gets the value of the masterConfirmationDate property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getMasterConfirmationDate() {
return masterConfirmationDate;
}
/**
* Sets the value of the masterConfirmationDate property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setMasterConfirmationDate(XMLGregorianCalendar value) {
this.masterConfirmationDate = value;
}
/**
* Gets the value of the relatedParty 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 JAXB object.
* This is why there is not a set
method for the relatedParty property.
*
*
* For example, to add a new item, do as follows:
*
* getRelatedParty().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link RelatedParty }
*
*
*/
public List getRelatedParty() {
if (relatedParty == null) {
relatedParty = new ArrayList();
}
return this.relatedParty;
}
}