org.fpml.fpml_5.confirmation.ResponseMessage 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.05.10 at 03:58:40 PM UTC
//
package org.fpml.fpml_5.confirmation;
import java.math.BigInteger;
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.XmlSchemaType;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
/**
* A type refining the generic message content model to make it specific to response messages.
*
* Java class for ResponseMessage complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="ResponseMessage">
* <complexContent>
* <extension base="{http://www.fpml.org/FpML-5/confirmation}Message">
* <sequence>
* <element name="header" type="{http://www.fpml.org/FpML-5/confirmation}ResponseMessageHeader"/>
* <group ref="{http://www.fpml.org/FpML-5/confirmation}Validation.model"/>
* <group ref="{http://www.fpml.org/FpML-5/confirmation}CorrelationAndOptionalSequence.model"/>
* <group ref="{http://www.fpml.org/FpML-5/confirmation}OnBehalfOf.model" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ResponseMessage", propOrder = {
"header",
"validation",
"parentCorrelationId",
"correlationId",
"sequenceNumber",
"onBehalfOf"
})
@XmlSeeAlso({
EventStatusResponse.class,
Acknowledgement.class,
ClearingEligibility.class,
EventRequestAcknowledgement.class,
ConsentGranted.class,
ConsentRefused.class,
ConfirmationStatus.class,
ConfirmationAgreed.class,
ConfirmationDisputed.class,
AllocationRefused.class,
AllocationApproved.class,
CollateralAllocationAccepted.class
})
public abstract class ResponseMessage
extends Message
{
@XmlElement(required = true)
protected ResponseMessageHeader header;
protected List validation;
protected CorrelationId parentCorrelationId;
@XmlElement(required = true)
protected CorrelationId correlationId;
@XmlSchemaType(name = "positiveInteger")
protected BigInteger sequenceNumber;
protected OnBehalfOf onBehalfOf;
/**
* Gets the value of the header property.
*
* @return
* possible object is
* {@link ResponseMessageHeader }
*
*/
public ResponseMessageHeader getHeader() {
return header;
}
/**
* Sets the value of the header property.
*
* @param value
* allowed object is
* {@link ResponseMessageHeader }
*
*/
public void setHeader(ResponseMessageHeader value) {
this.header = value;
}
/**
* Gets the value of the validation 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 validation property.
*
*
* For example, to add a new item, do as follows:
*
* getValidation().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Validation }
*
*
*/
public List getValidation() {
if (validation == null) {
validation = new ArrayList();
}
return this.validation;
}
/**
* Gets the value of the parentCorrelationId property.
*
* @return
* possible object is
* {@link CorrelationId }
*
*/
public CorrelationId getParentCorrelationId() {
return parentCorrelationId;
}
/**
* Sets the value of the parentCorrelationId property.
*
* @param value
* allowed object is
* {@link CorrelationId }
*
*/
public void setParentCorrelationId(CorrelationId value) {
this.parentCorrelationId = value;
}
/**
* Gets the value of the correlationId property.
*
* @return
* possible object is
* {@link CorrelationId }
*
*/
public CorrelationId getCorrelationId() {
return correlationId;
}
/**
* Sets the value of the correlationId property.
*
* @param value
* allowed object is
* {@link CorrelationId }
*
*/
public void setCorrelationId(CorrelationId value) {
this.correlationId = value;
}
/**
* Gets the value of the sequenceNumber property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getSequenceNumber() {
return sequenceNumber;
}
/**
* Sets the value of the sequenceNumber property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setSequenceNumber(BigInteger value) {
this.sequenceNumber = value;
}
/**
* Gets the value of the onBehalfOf property.
*
* @return
* possible object is
* {@link OnBehalfOf }
*
*/
public OnBehalfOf getOnBehalfOf() {
return onBehalfOf;
}
/**
* Sets the value of the onBehalfOf property.
*
* @param value
* allowed object is
* {@link OnBehalfOf }
*
*/
public void setOnBehalfOf(OnBehalfOf value) {
this.onBehalfOf = value;
}
}