net.finmath.smartcontract.product.xml.AdditionalData 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.XmlAnyElement;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlSchemaType;
import jakarta.xml.bind.annotation.XmlType;
import jakarta.xml.bind.annotation.adapters.HexBinaryAdapter;
import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import org.w3c.dom.Element;
/**
* Provides extra information not represented in the model that may be useful
* in processing the message i.e. diagnosing the reason for failure.
*
*
* Java class for AdditionalData complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="AdditionalData">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="mimeType" type="{http://www.fpml.org/FpML-5/confirmation}MimeType"/>
* <choice>
* <element name="string" type="{http://www.fpml.org/FpML-5/confirmation}String"/>
* <element name="hexadecimalBinary" type="{http://www.w3.org/2001/XMLSchema}hexBinary"/>
* <element name="base64Binary" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/>
* <element name="originalMessage">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <any processContents='skip'/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </choice>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "AdditionalData", propOrder = {
"mimeType",
"string",
"hexadecimalBinary",
"base64Binary",
"originalMessage"
})
public class AdditionalData {
@XmlElement(required = true)
protected MimeType mimeType;
protected String string;
@XmlElement(type = String.class)
@XmlJavaTypeAdapter(HexBinaryAdapter.class)
@XmlSchemaType(name = "hexBinary")
protected byte[] hexadecimalBinary;
protected byte[] base64Binary;
protected AdditionalData.OriginalMessage originalMessage;
/**
* Gets the value of the mimeType property.
*
* @return
* possible object is
* {@link MimeType }
*
*/
public MimeType getMimeType() {
return mimeType;
}
/**
* Sets the value of the mimeType property.
*
* @param value
* allowed object is
* {@link MimeType }
*
*/
public void setMimeType(MimeType value) {
this.mimeType = value;
}
/**
* Gets the value of the string property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getString() {
return string;
}
/**
* Sets the value of the string property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setString(String value) {
this.string = value;
}
/**
* Gets the value of the hexadecimalBinary property.
*
* @return
* possible object is
* {@link String }
*
*/
public byte[] getHexadecimalBinary() {
return hexadecimalBinary;
}
/**
* Sets the value of the hexadecimalBinary property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setHexadecimalBinary(byte[] value) {
this.hexadecimalBinary = value;
}
/**
* Gets the value of the base64Binary property.
*
* @return
* possible object is
* byte[]
*/
public byte[] getBase64Binary() {
return base64Binary;
}
/**
* Sets the value of the base64Binary property.
*
* @param value
* allowed object is
* byte[]
*/
public void setBase64Binary(byte[] value) {
this.base64Binary = value;
}
/**
* Gets the value of the originalMessage property.
*
* @return
* possible object is
* {@link AdditionalData.OriginalMessage }
*
*/
public AdditionalData.OriginalMessage getOriginalMessage() {
return originalMessage;
}
/**
* Sets the value of the originalMessage property.
*
* @param value
* allowed object is
* {@link AdditionalData.OriginalMessage }
*
*/
public void setOriginalMessage(AdditionalData.OriginalMessage value) {
this.originalMessage = value;
}
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <any processContents='skip'/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"any"
})
public static class OriginalMessage {
@XmlAnyElement
protected Element any;
/**
* Gets the value of the any property.
*
* @return
* possible object is
* {@link Element }
*
*/
public Element getAny() {
return any;
}
/**
* Sets the value of the any property.
*
* @param value
* allowed object is
* {@link Element }
*
*/
public void setAny(Element value) {
this.any = value;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy