net.finmath.smartcontract.product.xml.RequestCollateralAllocation Maven / Gradle / Ivy
Show all versions of finmath-smart-derivative-contract Show documentation
//
// 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.XmlSchemaType;
import jakarta.xml.bind.annotation.XmlType;
import jakarta.xml.bind.annotation.adapters.NormalizedStringAdapter;
import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* Java class for RequestCollateralAllocation complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="RequestCollateralAllocation">
* <complexContent>
* <extension base="{http://www.fpml.org/FpML-5/confirmation}CorrectableRequestMessage">
* <sequence>
* <element name="serviceName" type="{http://www.fpml.org/FpML-5/confirmation}NormalizedString" minOccurs="0"/>
* <element name="requestedAction" type="{http://www.fpml.org/FpML-5/confirmation}RequestedCollateralAllocationAction" minOccurs="0"/>
* <element name="collateralGiverPartyReference" type="{http://www.fpml.org/FpML-5/confirmation}PartyReference"/>
* <element name="collateralAllocation" type="{http://www.fpml.org/FpML-5/confirmation}ProposedCollateralAllocation" maxOccurs="unbounded"/>
* <group ref="{http://www.fpml.org/FpML-5/confirmation}PartiesAndAccounts.model"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "RequestCollateralAllocation", propOrder = {
"serviceName",
"requestedAction",
"collateralGiverPartyReference",
"collateralAllocation",
"party",
"account"
})
public class RequestCollateralAllocation
extends CorrectableRequestMessage
{
@XmlJavaTypeAdapter(NormalizedStringAdapter.class)
@XmlSchemaType(name = "normalizedString")
protected String serviceName;
protected RequestedCollateralAllocationAction requestedAction;
@XmlElement(required = true)
protected PartyReference collateralGiverPartyReference;
@XmlElement(required = true)
protected List collateralAllocation;
@XmlElement(required = true)
protected List party;
protected List account;
/**
* Gets the value of the serviceName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getServiceName() {
return serviceName;
}
/**
* Sets the value of the serviceName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setServiceName(String value) {
this.serviceName = value;
}
/**
* Gets the value of the requestedAction property.
*
* @return
* possible object is
* {@link RequestedCollateralAllocationAction }
*
*/
public RequestedCollateralAllocationAction getRequestedAction() {
return requestedAction;
}
/**
* Sets the value of the requestedAction property.
*
* @param value
* allowed object is
* {@link RequestedCollateralAllocationAction }
*
*/
public void setRequestedAction(RequestedCollateralAllocationAction value) {
this.requestedAction = value;
}
/**
* Gets the value of the collateralGiverPartyReference property.
*
* @return
* possible object is
* {@link PartyReference }
*
*/
public PartyReference getCollateralGiverPartyReference() {
return collateralGiverPartyReference;
}
/**
* Sets the value of the collateralGiverPartyReference property.
*
* @param value
* allowed object is
* {@link PartyReference }
*
*/
public void setCollateralGiverPartyReference(PartyReference value) {
this.collateralGiverPartyReference = value;
}
/**
* Gets the value of the collateralAllocation 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 collateralAllocation property.
*
*
* For example, to add a new item, do as follows:
*
* getCollateralAllocation().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ProposedCollateralAllocation }
*
*
*/
public List getCollateralAllocation() {
if (collateralAllocation == null) {
collateralAllocation = new ArrayList();
}
return this.collateralAllocation;
}
/**
* 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;
}
}