org.fpml.fpml_5.confirmation.CommodityDeliveryRisk 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;
/**
* A scheme identifying how the parties to the trade aportion responsibility for the delivery of the commodity product (for example Free On Board, Cost, Insurance, Freight)
*
* Java class for CommodityDeliveryRisk complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="CommodityDeliveryRisk">
* <simpleContent>
* <extension base="<http://www.fpml.org/FpML-5/confirmation>Scheme">
* <attribute name="deliveryRiskScheme" type="{http://www.fpml.org/FpML-5/confirmation}NonEmptyURI" default="http://www.fpml.org/coding-scheme/commodity-delivery-risk" />
* </extension>
* </simpleContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CommodityDeliveryRisk", propOrder = {
"value"
})
public class CommodityDeliveryRisk {
@XmlValue
@XmlJavaTypeAdapter(NormalizedStringAdapter.class)
protected String value;
@XmlAttribute(name = "deliveryRiskScheme")
protected String deliveryRiskScheme;
/**
* 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 deliveryRiskScheme property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDeliveryRiskScheme() {
if (deliveryRiskScheme == null) {
return "http://www.fpml.org/coding-scheme/commodity-delivery-risk";
} else {
return deliveryRiskScheme;
}
}
/**
* Sets the value of the deliveryRiskScheme property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDeliveryRiskScheme(String value) {
this.deliveryRiskScheme = value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy