All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.fpml.fpml_5.confirmation.WeatherIndex Maven / Gradle / Ivy

There is a newer version: 6.0.0-dev.61
Show 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.05.10 at 03:58:40 PM UTC 
//


package org.fpml.fpml_5.confirmation;

import java.math.BigDecimal;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlID;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;


/**
 * A type defining the Weather Index Level or Weather Index Strike Level.
 * 
 * 

Java class for WeatherIndex complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="WeatherIndex">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="quantity" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
 *         <element name="unit" type="{http://www.fpml.org/FpML-5/confirmation}QuantityUnit"/>
 *       </sequence>
 *       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "WeatherIndex", propOrder = { "quantity", "unit" }) public class WeatherIndex { @XmlElement(required = true) protected BigDecimal quantity; @XmlElement(required = true) protected QuantityUnit unit; @XmlAttribute(name = "id") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlID @XmlSchemaType(name = "ID") protected String id; /** * Gets the value of the quantity property. * * @return * possible object is * {@link BigDecimal } * */ public BigDecimal getQuantity() { return quantity; } /** * Sets the value of the quantity property. * * @param value * allowed object is * {@link BigDecimal } * */ public void setQuantity(BigDecimal value) { this.quantity = value; } /** * Gets the value of the unit property. * * @return * possible object is * {@link QuantityUnit } * */ public QuantityUnit getUnit() { return unit; } /** * Sets the value of the unit property. * * @param value * allowed object is * {@link QuantityUnit } * */ public void setUnit(QuantityUnit value) { this.unit = value; } /** * Gets the value of the id property. * * @return * possible object is * {@link String } * */ public String getId() { return id; } /** * Sets the value of the id property. * * @param value * allowed object is * {@link String } * */ public void setId(String value) { this.id = value; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy