org.fpml.fpml_5.confirmation.GoverningLaw Maven / Gradle / Ivy
The newest version!
//
// 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.07.26 at 10:31:12 AM 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;
/**
* Identification of the law governing the transaction.
*
* Java class for GoverningLaw complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="GoverningLaw">
* <simpleContent>
* <extension base="<http://www.fpml.org/FpML-5/confirmation>Scheme">
* <attribute name="governingLawScheme" type="{http://www.fpml.org/FpML-5/confirmation}NonEmptyURI" default="http://www.fpml.org/coding-scheme/governing-law" />
* </extension>
* </simpleContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "GoverningLaw", propOrder = {
"value"
})
public class GoverningLaw {
@XmlValue
@XmlJavaTypeAdapter(NormalizedStringAdapter.class)
protected String value;
@XmlAttribute(name = "governingLawScheme")
protected String governingLawScheme;
/**
* 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 governingLawScheme property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getGoverningLawScheme() {
if (governingLawScheme == null) {
return "http://www.fpml.org/coding-scheme/governing-law";
} else {
return governingLawScheme;
}
}
/**
* Sets the value of the governingLawScheme property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setGoverningLawScheme(String value) {
this.governingLawScheme = value;
}
}