org.fpml.fpml_5.confirmation.GenericDimension 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.XmlIDREF;
import javax.xml.bind.annotation.XmlSchemaType;
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 generic (user defined) dimension, e.g. for use in a correlation surface. e.g. a currency, stock, etc. This would take values like USD, GBP, JPY, or IBM, MSFT, etc.
*
* Java class for GenericDimension complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="GenericDimension">
* <simpleContent>
* <extension base="<http://www.fpml.org/FpML-5/confirmation>String">
* <attribute name="name" use="required" type="{http://www.fpml.org/FpML-5/confirmation}NormalizedString" />
* <attribute name="href" type="{http://www.w3.org/2001/XMLSchema}IDREF" />
* </extension>
* </simpleContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "GenericDimension", propOrder = {
"value"
})
public class GenericDimension {
@XmlValue
protected String value;
@XmlAttribute(name = "name", required = true)
@XmlJavaTypeAdapter(NormalizedStringAdapter.class)
protected String name;
@XmlAttribute(name = "href")
@XmlIDREF
@XmlSchemaType(name = "IDREF")
protected Object href;
/**
* A string. FpML may define lenght restrictions in some views.
*
* @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 name property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getName() {
return name;
}
/**
* Sets the value of the name property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setName(String value) {
this.name = value;
}
/**
* Gets the value of the href property.
*
* @return
* possible object is
* {@link Object }
*
*/
public Object getHref() {
return href;
}
/**
* Sets the value of the href property.
*
* @param value
* allowed object is
* {@link Object }
*
*/
public void setHref(Object value) {
this.href = value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy