
org.fpml.fpml_5.confirmation.CreditLimitBase 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.04.04 at 04:56:21 PM UTC
//
package org.fpml.fpml_5.confirmation;
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.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
/**
* A structure describing a basic credit limit.
*
* Java class for CreditLimitBase complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="CreditLimitBase">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="limitId" type="{http://www.fpml.org/FpML-5/confirmation}LimitId"/>
* <group ref="{http://www.fpml.org/FpML-5/confirmation}Product.model"/>
* <element name="currency" type="{http://www.fpml.org/FpML-5/confirmation}Currency"/>
* <element name="tenor" type="{http://www.fpml.org/FpML-5/confirmation}Period"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CreditLimitBase", propOrder = {
"limitId",
"primaryAssetClass",
"secondaryAssetClass",
"productType",
"productId",
"assetClass",
"currency",
"tenor"
})
@XmlSeeAlso({
CreditLimit.class
})
public class CreditLimitBase {
@XmlElement(required = true)
protected LimitId limitId;
protected AssetClass primaryAssetClass;
protected List secondaryAssetClass;
protected List productType;
protected List productId;
protected List assetClass;
@XmlElement(required = true)
protected Currency currency;
@XmlElement(required = true)
protected Period tenor;
/**
* Gets the value of the limitId property.
*
* @return
* possible object is
* {@link LimitId }
*
*/
public LimitId getLimitId() {
return limitId;
}
/**
* Sets the value of the limitId property.
*
* @param value
* allowed object is
* {@link LimitId }
*
*/
public void setLimitId(LimitId value) {
this.limitId = value;
}
/**
* Gets the value of the primaryAssetClass property.
*
* @return
* possible object is
* {@link AssetClass }
*
*/
public AssetClass getPrimaryAssetClass() {
return primaryAssetClass;
}
/**
* Sets the value of the primaryAssetClass property.
*
* @param value
* allowed object is
* {@link AssetClass }
*
*/
public void setPrimaryAssetClass(AssetClass value) {
this.primaryAssetClass = value;
}
/**
* Gets the value of the secondaryAssetClass 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 secondaryAssetClass property.
*
*
* For example, to add a new item, do as follows:
*
* getSecondaryAssetClass().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link AssetClass }
*
*
*/
public List getSecondaryAssetClass() {
if (secondaryAssetClass == null) {
secondaryAssetClass = new ArrayList();
}
return this.secondaryAssetClass;
}
/**
* Gets the value of the productType 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 productType property.
*
*
* For example, to add a new item, do as follows:
*
* getProductType().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ProductType }
*
*
*/
public List getProductType() {
if (productType == null) {
productType = new ArrayList();
}
return this.productType;
}
/**
* Gets the value of the productId 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 productId property.
*
*
* For example, to add a new item, do as follows:
*
* getProductId().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ProductId }
*
*
*/
public List getProductId() {
if (productId == null) {
productId = new ArrayList();
}
return this.productId;
}
/**
* Gets the value of the assetClass 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 assetClass property.
*
*
* For example, to add a new item, do as follows:
*
* getAssetClass().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link AssetClass }
*
*
*/
public List getAssetClass() {
if (assetClass == null) {
assetClass = new ArrayList();
}
return this.assetClass;
}
/**
* Gets the value of the currency property.
*
* @return
* possible object is
* {@link Currency }
*
*/
public Currency getCurrency() {
return currency;
}
/**
* Sets the value of the currency property.
*
* @param value
* allowed object is
* {@link Currency }
*
*/
public void setCurrency(Currency value) {
this.currency = value;
}
/**
* Gets the value of the tenor property.
*
* @return
* possible object is
* {@link Period }
*
*/
public Period getTenor() {
return tenor;
}
/**
* Sets the value of the tenor property.
*
* @param value
* allowed object is
* {@link Period }
*
*/
public void setTenor(Period value) {
this.tenor = value;
}
}