net.finmath.smartcontract.product.xml.ServiceStatus 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 that can be used to describe the availability or other state of a
* service, e.g. Available, Unavaialble.
*
*
* Java class for ServiceStatus complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="ServiceStatus">
* <simpleContent>
* <extension base="<http://www.fpml.org/FpML-5/confirmation>Scheme">
* <attribute name="serviceStatusScheme" type="{http://www.fpml.org/FpML-5/confirmation}NonEmptyURI" default="http://www.fpml.org/coding-scheme/service-status" />
* </extension>
* </simpleContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ServiceStatus", propOrder = {
"value"
})
public class ServiceStatus {
@XmlValue
@XmlJavaTypeAdapter(NormalizedStringAdapter.class)
protected String value;
@XmlAttribute(name = "serviceStatusScheme")
protected String serviceStatusScheme;
/**
* 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 serviceStatusScheme property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getServiceStatusScheme() {
if (serviceStatusScheme == null) {
return "http://www.fpml.org/coding-scheme/service-status";
} else {
return serviceStatusScheme;
}
}
/**
* Sets the value of the serviceStatusScheme property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setServiceStatusScheme(String value) {
this.serviceStatusScheme = value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy