net.finmath.smartcontract.product.xml.VersionedContractId 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.BigInteger;
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;
/**
* Contract Id with Version Support
*
* Java class for VersionedContractId complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="VersionedContractId">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="contractId" type="{http://www.fpml.org/FpML-5/confirmation}ContractId"/>
* <group ref="{http://www.fpml.org/FpML-5/confirmation}VersionHistory.model"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "VersionedContractId", propOrder = {
"contractId",
"version",
"effectiveDate"
})
public class VersionedContractId {
@XmlElement(required = true)
protected ContractId contractId;
@XmlElement(required = true)
@XmlSchemaType(name = "nonNegativeInteger")
protected BigInteger version;
protected IdentifiedDate effectiveDate;
/**
* Gets the value of the contractId property.
*
* @return
* possible object is
* {@link ContractId }
*
*/
public ContractId getContractId() {
return contractId;
}
/**
* Sets the value of the contractId property.
*
* @param value
* allowed object is
* {@link ContractId }
*
*/
public void setContractId(ContractId value) {
this.contractId = value;
}
/**
* Gets the value of the version property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getVersion() {
return version;
}
/**
* Sets the value of the version property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setVersion(BigInteger value) {
this.version = value;
}
/**
* Gets the value of the effectiveDate property.
*
* @return
* possible object is
* {@link IdentifiedDate }
*
*/
public IdentifiedDate getEffectiveDate() {
return effectiveDate;
}
/**
* Sets the value of the effectiveDate property.
*
* @param value
* allowed object is
* {@link IdentifiedDate }
*
*/
public void setEffectiveDate(IdentifiedDate value) {
this.effectiveDate = value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy