net.finmath.smartcontract.product.xml.AlgorithmRole 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.XmlAttribute;
import jakarta.xml.bind.annotation.XmlType;
import jakarta.xml.bind.annotation.XmlValue;
import jakarta.xml.bind.annotation.adapters.NormalizedStringAdapter;
import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* A type describing a role played by an algorithm in one or more
* transactions. Examples include roles such as TradingDecision, RoutingDecision. This can be extended to
* provide custom roles.
*
*
* Java class for AlgorithmRole complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="AlgorithmRole">
* <simpleContent>
* <extension base="<http://www.fpml.org/FpML-5/confirmation>Scheme">
* <attribute name="algorithmRoleScheme" type="{http://www.fpml.org/FpML-5/confirmation}NonEmptyURI" default="http://www.fpml.org/coding-scheme/algorithm-role" />
* </extension>
* </simpleContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "AlgorithmRole", propOrder = {
"value"
})
public class AlgorithmRole {
@XmlValue
@XmlJavaTypeAdapter(NormalizedStringAdapter.class)
protected String value;
@XmlAttribute(name = "algorithmRoleScheme")
protected String algorithmRoleScheme;
/**
* The base class for all types which define coding schemes that are allowed
* to be empty.
*
*
* @return
* possible object is
* {@link String }
*
*/
public String getValue() {
return value;
}
/**
* Sets the value of the value property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setValue(String value) {
this.value = value;
}
/**
* Gets the value of the algorithmRoleScheme property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAlgorithmRoleScheme() {
if (algorithmRoleScheme == null) {
return "http://www.fpml.org/coding-scheme/algorithm-role";
} else {
return algorithmRoleScheme;
}
}
/**
* Sets the value of the algorithmRoleScheme property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAlgorithmRoleScheme(String value) {
this.algorithmRoleScheme = value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy