net.finmath.smartcontract.product.xml.PackageSummary 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.math.BigDecimal;
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.XmlType;
/**
* Summary information about a trade package.
*
* Java class for PackageSummary complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="PackageSummary">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="packageIdentifier" type="{http://www.fpml.org/FpML-5/confirmation}IssuerTradeId" minOccurs="0"/>
* <element name="orderIdentifier" type="{http://www.fpml.org/FpML-5/confirmation}OrderIdentifier" minOccurs="0"/>
* <element name="packageType" type="{http://www.fpml.org/FpML-5/confirmation}PackageType" maxOccurs="unbounded" minOccurs="0"/>
* <element name="size" type="{http://www.fpml.org/FpML-5/confirmation}PositiveDecimal" minOccurs="0"/>
* <element name="sequenceNumber" type="{http://www.fpml.org/FpML-5/confirmation}PositiveDecimal" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "PackageSummary", propOrder = {
"packageIdentifier",
"orderIdentifier",
"packageType",
"size",
"sequenceNumber"
})
public class PackageSummary {
protected IssuerTradeId packageIdentifier;
protected OrderIdentifier orderIdentifier;
protected List packageType;
protected BigDecimal size;
protected BigDecimal sequenceNumber;
/**
* Gets the value of the packageIdentifier property.
*
* @return
* possible object is
* {@link IssuerTradeId }
*
*/
public IssuerTradeId getPackageIdentifier() {
return packageIdentifier;
}
/**
* Sets the value of the packageIdentifier property.
*
* @param value
* allowed object is
* {@link IssuerTradeId }
*
*/
public void setPackageIdentifier(IssuerTradeId value) {
this.packageIdentifier = value;
}
/**
* Gets the value of the orderIdentifier property.
*
* @return
* possible object is
* {@link OrderIdentifier }
*
*/
public OrderIdentifier getOrderIdentifier() {
return orderIdentifier;
}
/**
* Sets the value of the orderIdentifier property.
*
* @param value
* allowed object is
* {@link OrderIdentifier }
*
*/
public void setOrderIdentifier(OrderIdentifier value) {
this.orderIdentifier = value;
}
/**
* Gets the value of the packageType 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 packageType property.
*
*
* For example, to add a new item, do as follows:
*
* getPackageType().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link PackageType }
*
*
*/
public List getPackageType() {
if (packageType == null) {
packageType = new ArrayList();
}
return this.packageType;
}
/**
* Gets the value of the size property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getSize() {
return size;
}
/**
* Sets the value of the size property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setSize(BigDecimal value) {
this.size = value;
}
/**
* Gets the value of the sequenceNumber property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getSequenceNumber() {
return sequenceNumber;
}
/**
* Sets the value of the sequenceNumber property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setSequenceNumber(BigDecimal value) {
this.sequenceNumber = value;
}
}