package com.ECS.client.jax; 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.XmlType; import javax.xml.bind.annotation.XmlValue; /** * <p>Java class for DecimalWithUnits complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="DecimalWithUnits"> * <simpleContent> * <extension base="<http://www.w3.org/2001/XMLSchema>decimal"> * <attribute name="Units" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> * </extension> * </simpleContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "DecimalWithUnits", propOrder = { "value" }) public class DecimalWithUnits { @XmlValue protected BigDecimal value; @XmlAttribute(name = "Units", required = true) protected String units; /** * Gets the value of the value property. * * @return * possible object is * {@link BigDecimal } * */ public BigDecimal getValue() { return value; } /** * Sets the value of the value property. * * @param value * allowed object is * {@link BigDecimal } * */ public void setValue(BigDecimal value) { this.value = value; } /** * Gets the value of the units property. * * @return * possible object is * {@link String } * */ public String getUnits() { return units; } /** * Sets the value of the units property. * * @param value * allowed object is * {@link String } * */ public void setUnits(String value) { this.units = value; } }