net.finmath.smartcontract.product.xml.RequestConsent Maven / Gradle / Ivy
//
// This file was generated by the Eclipse Implementation of JAXB, v3.0.0
// See https://eclipse-ee4j.github.io/jaxb-ri
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2024.12.05 at 10:53:57 AM CET
//
package net.finmath.smartcontract.product.xml;
import java.util.ArrayList;
import java.util.List;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlType;
/**
* A message requesting that the sender be authorized by the recipient to
* peform an action.
*
*
* Java class for RequestConsent complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="RequestConsent">
* <complexContent>
* <extension base="{http://www.fpml.org/FpML-5/confirmation}CorrectableRequestMessage">
* <sequence>
* <element name="requestedAction" type="{http://www.fpml.org/FpML-5/confirmation}RequestedAction" minOccurs="0"/>
* <element name="type" type="{http://www.fpml.org/FpML-5/confirmation}ApprovalType" minOccurs="0"/>
* <element name="approver" type="{http://www.fpml.org/FpML-5/confirmation}PersonId" minOccurs="0"/>
* <element name="approvingPartyReference" type="{http://www.fpml.org/FpML-5/confirmation}PartyReference" minOccurs="0"/>
* <group ref="{http://www.fpml.org/FpML-5/confirmation}PortfolioReference.model" minOccurs="0"/>
* <group ref="{http://www.fpml.org/FpML-5/confirmation}Compression.model" minOccurs="0"/>
* <choice>
* <group ref="{http://www.fpml.org/FpML-5/confirmation}TradingAndPostTradeEvents.model"/>
* <element name="deClear" type="{http://www.fpml.org/FpML-5/confirmation}DeClear"/>
* </choice>
* <group ref="{http://www.fpml.org/FpML-5/confirmation}EventValuation.model" minOccurs="0"/>
* <group ref="{http://www.fpml.org/FpML-5/confirmation}PartiesAndAccounts.model"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "RequestConsent", propOrder = {
"requestedAction",
"type",
"approver",
"approvingPartyReference",
"portfolioReference",
"compressionActivity",
"tradePackage",
"originatingEvent",
"trade",
"amendment",
"increase",
"terminatingEvent",
"termination",
"novation",
"withdrawal",
"additionalEvent",
"deClear",
"quote",
"party",
"account"
})
public class RequestConsent
extends CorrectableRequestMessage
{
protected RequestedAction requestedAction;
protected ApprovalType type;
protected PersonId approver;
protected PartyReference approvingPartyReference;
protected PortfolioReference portfolioReference;
protected CompressionActivity compressionActivity;
protected TradePackage tradePackage;
protected OriginatingEvent originatingEvent;
protected Trade trade;
protected TradeAmendmentContent amendment;
protected TradeNotionalChange increase;
protected TerminatingEvent terminatingEvent;
protected TradeNotionalChange termination;
protected TradeNovationContent novation;
protected Withdrawal withdrawal;
protected AdditionalEvent additionalEvent;
protected DeClear deClear;
protected List quote;
@XmlElement(required = true)
protected List party;
protected List account;
/**
* Gets the value of the requestedAction property.
*
* @return
* possible object is
* {@link RequestedAction }
*
*/
public RequestedAction getRequestedAction() {
return requestedAction;
}
/**
* Sets the value of the requestedAction property.
*
* @param value
* allowed object is
* {@link RequestedAction }
*
*/
public void setRequestedAction(RequestedAction value) {
this.requestedAction = value;
}
/**
* Gets the value of the type property.
*
* @return
* possible object is
* {@link ApprovalType }
*
*/
public ApprovalType getType() {
return type;
}
/**
* Sets the value of the type property.
*
* @param value
* allowed object is
* {@link ApprovalType }
*
*/
public void setType(ApprovalType value) {
this.type = value;
}
/**
* Gets the value of the approver property.
*
* @return
* possible object is
* {@link PersonId }
*
*/
public PersonId getApprover() {
return approver;
}
/**
* Sets the value of the approver property.
*
* @param value
* allowed object is
* {@link PersonId }
*
*/
public void setApprover(PersonId value) {
this.approver = value;
}
/**
* Gets the value of the approvingPartyReference property.
*
* @return
* possible object is
* {@link PartyReference }
*
*/
public PartyReference getApprovingPartyReference() {
return approvingPartyReference;
}
/**
* Sets the value of the approvingPartyReference property.
*
* @param value
* allowed object is
* {@link PartyReference }
*
*/
public void setApprovingPartyReference(PartyReference value) {
this.approvingPartyReference = value;
}
/**
* Gets the value of the portfolioReference property.
*
* @return
* possible object is
* {@link PortfolioReference }
*
*/
public PortfolioReference getPortfolioReference() {
return portfolioReference;
}
/**
* Sets the value of the portfolioReference property.
*
* @param value
* allowed object is
* {@link PortfolioReference }
*
*/
public void setPortfolioReference(PortfolioReference value) {
this.portfolioReference = value;
}
/**
* Gets the value of the compressionActivity property.
*
* @return
* possible object is
* {@link CompressionActivity }
*
*/
public CompressionActivity getCompressionActivity() {
return compressionActivity;
}
/**
* Sets the value of the compressionActivity property.
*
* @param value
* allowed object is
* {@link CompressionActivity }
*
*/
public void setCompressionActivity(CompressionActivity value) {
this.compressionActivity = value;
}
/**
* Gets the value of the tradePackage property.
*
* @return
* possible object is
* {@link TradePackage }
*
*/
public TradePackage getTradePackage() {
return tradePackage;
}
/**
* Sets the value of the tradePackage property.
*
* @param value
* allowed object is
* {@link TradePackage }
*
*/
public void setTradePackage(TradePackage value) {
this.tradePackage = value;
}
/**
* Gets the value of the originatingEvent property.
*
* @return
* possible object is
* {@link OriginatingEvent }
*
*/
public OriginatingEvent getOriginatingEvent() {
return originatingEvent;
}
/**
* Sets the value of the originatingEvent property.
*
* @param value
* allowed object is
* {@link OriginatingEvent }
*
*/
public void setOriginatingEvent(OriginatingEvent value) {
this.originatingEvent = value;
}
/**
* Gets the value of the trade property.
*
* @return
* possible object is
* {@link Trade }
*
*/
public Trade getTrade() {
return trade;
}
/**
* Sets the value of the trade property.
*
* @param value
* allowed object is
* {@link Trade }
*
*/
public void setTrade(Trade value) {
this.trade = value;
}
/**
* Gets the value of the amendment property.
*
* @return
* possible object is
* {@link TradeAmendmentContent }
*
*/
public TradeAmendmentContent getAmendment() {
return amendment;
}
/**
* Sets the value of the amendment property.
*
* @param value
* allowed object is
* {@link TradeAmendmentContent }
*
*/
public void setAmendment(TradeAmendmentContent value) {
this.amendment = value;
}
/**
* Gets the value of the increase property.
*
* @return
* possible object is
* {@link TradeNotionalChange }
*
*/
public TradeNotionalChange getIncrease() {
return increase;
}
/**
* Sets the value of the increase property.
*
* @param value
* allowed object is
* {@link TradeNotionalChange }
*
*/
public void setIncrease(TradeNotionalChange value) {
this.increase = value;
}
/**
* Gets the value of the terminatingEvent property.
*
* @return
* possible object is
* {@link TerminatingEvent }
*
*/
public TerminatingEvent getTerminatingEvent() {
return terminatingEvent;
}
/**
* Sets the value of the terminatingEvent property.
*
* @param value
* allowed object is
* {@link TerminatingEvent }
*
*/
public void setTerminatingEvent(TerminatingEvent value) {
this.terminatingEvent = value;
}
/**
* Gets the value of the termination property.
*
* @return
* possible object is
* {@link TradeNotionalChange }
*
*/
public TradeNotionalChange getTermination() {
return termination;
}
/**
* Sets the value of the termination property.
*
* @param value
* allowed object is
* {@link TradeNotionalChange }
*
*/
public void setTermination(TradeNotionalChange value) {
this.termination = value;
}
/**
* Gets the value of the novation property.
*
* @return
* possible object is
* {@link TradeNovationContent }
*
*/
public TradeNovationContent getNovation() {
return novation;
}
/**
* Sets the value of the novation property.
*
* @param value
* allowed object is
* {@link TradeNovationContent }
*
*/
public void setNovation(TradeNovationContent value) {
this.novation = value;
}
/**
* Gets the value of the withdrawal property.
*
* @return
* possible object is
* {@link Withdrawal }
*
*/
public Withdrawal getWithdrawal() {
return withdrawal;
}
/**
* Sets the value of the withdrawal property.
*
* @param value
* allowed object is
* {@link Withdrawal }
*
*/
public void setWithdrawal(Withdrawal value) {
this.withdrawal = value;
}
/**
* Gets the value of the additionalEvent property.
*
* @return
* possible object is
* {@link AdditionalEvent }
*
*/
public AdditionalEvent getAdditionalEvent() {
return additionalEvent;
}
/**
* Sets the value of the additionalEvent property.
*
* @param value
* allowed object is
* {@link AdditionalEvent }
*
*/
public void setAdditionalEvent(AdditionalEvent value) {
this.additionalEvent = value;
}
/**
* Gets the value of the deClear property.
*
* @return
* possible object is
* {@link DeClear }
*
*/
public DeClear getDeClear() {
return deClear;
}
/**
* Sets the value of the deClear property.
*
* @param value
* allowed object is
* {@link DeClear }
*
*/
public void setDeClear(DeClear value) {
this.deClear = value;
}
/**
* Gets the value of the quote 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 quote property.
*
*
* For example, to add a new item, do as follows:
*
* getQuote().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link BasicQuotation }
*
*
*/
public List getQuote() {
if (quote == null) {
quote = new ArrayList();
}
return this.quote;
}
/**
* Gets the value of the party 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 party property.
*
*
* For example, to add a new item, do as follows:
*
* getParty().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Party }
*
*
*/
public List getParty() {
if (party == null) {
party = new ArrayList();
}
return this.party;
}
/**
* Gets the value of the account 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 account property.
*
*
* For example, to add a new item, do as follows:
*
* getAccount().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Account }
*
*
*/
public List getAccount() {
if (account == null) {
account = new ArrayList();
}
return this.account;
}
}