net.finmath.smartcontract.product.xml.ConstituentWeight Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of finmath-smart-derivative-contract Show documentation
Show all versions of finmath-smart-derivative-contract Show documentation
Project to support the implementation a of smart derivative contract.
//
// 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.math.BigDecimal;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlType;
/**
* A type describing the weight of each of the underlyer constituent within
* the basket, either in absolute or relative terms.
*
*
* Java class for ConstituentWeight complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="ConstituentWeight">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="openUnits" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
* <element name="basketPercentage" type="{http://www.fpml.org/FpML-5/confirmation}RestrictedPercentage" minOccurs="0"/>
* <element name="basketAmount" type="{http://www.fpml.org/FpML-5/confirmation}Money" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ConstituentWeight", propOrder = {
"openUnits",
"basketPercentage",
"basketAmount"
})
public class ConstituentWeight {
protected BigDecimal openUnits;
protected BigDecimal basketPercentage;
protected Money basketAmount;
/**
* Gets the value of the openUnits property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getOpenUnits() {
return openUnits;
}
/**
* Sets the value of the openUnits property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setOpenUnits(BigDecimal value) {
this.openUnits = value;
}
/**
* Gets the value of the basketPercentage property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getBasketPercentage() {
return basketPercentage;
}
/**
* Sets the value of the basketPercentage property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setBasketPercentage(BigDecimal value) {
this.basketPercentage = value;
}
/**
* Gets the value of the basketAmount property.
*
* @return
* possible object is
* {@link Money }
*
*/
public Money getBasketAmount() {
return basketAmount;
}
/**
* Sets the value of the basketAmount property.
*
* @param value
* allowed object is
* {@link Money }
*
*/
public void setBasketAmount(Money value) {
this.basketAmount = value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy