net.finmath.smartcontract.product.xml.Approval 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 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;
/**
* A specific approval state in the workflow.
*
* Java class for Approval complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="Approval">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="type" type="{http://www.fpml.org/FpML-5/confirmation}ApprovalType"/>
* <element name="status" type="{http://www.fpml.org/FpML-5/confirmation}NormalizedString"/>
* <element name="approver" type="{http://www.fpml.org/FpML-5/confirmation}PersonId" minOccurs="0"/>
* <element name="approvingPartyReference" type="{http://www.fpml.org/FpML-5/confirmation}PartyReference" minOccurs="0"/>
* <element name="approvedPartyReference" type="{http://www.fpml.org/FpML-5/confirmation}PartyReference" minOccurs="0"/>
* <element name="approvalId" type="{http://www.fpml.org/FpML-5/confirmation}ApprovalId" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Approval", propOrder = {
"type",
"status",
"approver",
"approvingPartyReference",
"approvedPartyReference",
"approvalId"
})
public class Approval {
@XmlElement(required = true)
protected ApprovalType type;
@XmlElement(required = true)
@XmlJavaTypeAdapter(NormalizedStringAdapter.class)
@XmlSchemaType(name = "normalizedString")
protected String status;
protected PersonId approver;
protected PartyReference approvingPartyReference;
protected PartyReference approvedPartyReference;
protected ApprovalId approvalId;
/**
* Gets the value of the type property.
*
* @return
* possible object is
* {@link ApprovalType }
*
*/
public ApprovalType getType() {
return type;
}
/**
* Sets the value of the type property.
*
* @param value
* allowed object is
* {@link ApprovalType }
*
*/
public void setType(ApprovalType value) {
this.type = value;
}
/**
* Gets the value of the status property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getStatus() {
return status;
}
/**
* Sets the value of the status property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setStatus(String value) {
this.status = value;
}
/**
* Gets the value of the approver property.
*
* @return
* possible object is
* {@link PersonId }
*
*/
public PersonId getApprover() {
return approver;
}
/**
* Sets the value of the approver property.
*
* @param value
* allowed object is
* {@link PersonId }
*
*/
public void setApprover(PersonId value) {
this.approver = value;
}
/**
* Gets the value of the approvingPartyReference property.
*
* @return
* possible object is
* {@link PartyReference }
*
*/
public PartyReference getApprovingPartyReference() {
return approvingPartyReference;
}
/**
* Sets the value of the approvingPartyReference property.
*
* @param value
* allowed object is
* {@link PartyReference }
*
*/
public void setApprovingPartyReference(PartyReference value) {
this.approvingPartyReference = value;
}
/**
* Gets the value of the approvedPartyReference property.
*
* @return
* possible object is
* {@link PartyReference }
*
*/
public PartyReference getApprovedPartyReference() {
return approvedPartyReference;
}
/**
* Sets the value of the approvedPartyReference property.
*
* @param value
* allowed object is
* {@link PartyReference }
*
*/
public void setApprovedPartyReference(PartyReference value) {
this.approvedPartyReference = value;
}
/**
* Gets the value of the approvalId property.
*
* @return
* possible object is
* {@link ApprovalId }
*
*/
public ApprovalId getApprovalId() {
return approvalId;
}
/**
* Sets the value of the approvalId property.
*
* @param value
* allowed object is
* {@link ApprovalId }
*
*/
public void setApprovalId(ApprovalId value) {
this.approvalId = value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy