org.fpml.fpml_5.confirmation.CutName 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 javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.XmlValue;
import javax.xml.bind.annotation.adapters.NormalizedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* Allows for an option expiry cut time to be described by name, as per established market convention. Note: the FX Working Group has resolved not to extend the cutNameScheme coding scheme. The expiryTime element should be used in preference to cutName as the formal definition of FX option expiry time.
*
* Java class for CutName complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="CutName">
* <simpleContent>
* <extension base="<http://www.fpml.org/FpML-5/confirmation>Scheme">
* <attribute name="cutNameScheme" type="{http://www.fpml.org/FpML-5/confirmation}NonEmptyURI" default="http://www.fpml.org/coding-scheme/cut-name" />
* </extension>
* </simpleContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CutName", propOrder = {
"value"
})
public class CutName {
@XmlValue
@XmlJavaTypeAdapter(NormalizedStringAdapter.class)
protected String value;
@XmlAttribute(name = "cutNameScheme")
protected String cutNameScheme;
/**
* 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 cutNameScheme property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCutNameScheme() {
if (cutNameScheme == null) {
return "http://www.fpml.org/coding-scheme/cut-name";
} else {
return cutNameScheme;
}
}
/**
* Sets the value of the cutNameScheme property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCutNameScheme(String value) {
this.cutNameScheme = value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy