// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-833 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2010.01.18 at 06:14:35 PM CST // package org.astm.ccr; import java.math.BigInteger; import java.util.ArrayList; import java.util.List; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for RateType complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="RateType"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element ref="{urn:astm-org:CCR}Description" minOccurs="0"/> * <group ref="{urn:astm-org:CCR}MeasureGroup"/> * <element name="RateSequencePosition" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/> * <element name="VariableRateModifier" type="{urn:astm-org:CCR}CodedDescriptionType" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "RateType", propOrder = { "description", "value", "units", "code", "rateSequencePosition", "variableRateModifier" }) public class RateType { @XmlElement(name = "Description") protected CodedDescriptionType description; @XmlElement(name = "Value") protected String value; @XmlElement(name = "Units") protected RateType.Units units; @XmlElement(name = "Code") protected List<CodeType> code; @XmlElement(name = "RateSequencePosition") protected BigInteger rateSequencePosition; @XmlElement(name = "VariableRateModifier") protected CodedDescriptionType variableRateModifier; /** * Gets the value of the description property. * * @return * possible object is * {@link CodedDescriptionType } * */ public CodedDescriptionType getDescription() { return description; } /** * Sets the value of the description property. * * @param value * allowed object is * {@link CodedDescriptionType } * */ public void setDescription(CodedDescriptionType value) { this.description = value; } /** * Gets the value of the value property. * * @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 units property. * * @return * possible object is * {@link RateType.Units } * */ public RateType.Units getUnits() { return units; } /** * Sets the value of the units property. * * @param value * allowed object is * {@link RateType.Units } * */ public void setUnits(RateType.Units value) { this.units = value; } /** * Gets the value of the code property. * * <p> * This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a <CODE>set</CODE> method for the code property. * * <p> * For example, to add a new item, do as follows: * <pre> * getCode().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link CodeType } * * */ public List<CodeType> getCode() { if (code == null) { code = new ArrayList<CodeType>(); } return this.code; } /** * Gets the value of the rateSequencePosition property. * * @return * possible object is * {@link BigInteger } * */ public BigInteger getRateSequencePosition() { return rateSequencePosition; } /** * Sets the value of the rateSequencePosition property. * * @param value * allowed object is * {@link BigInteger } * */ public void setRateSequencePosition(BigInteger value) { this.rateSequencePosition = value; } /** * Gets the value of the variableRateModifier property. * * @return * possible object is * {@link CodedDescriptionType } * */ public CodedDescriptionType getVariableRateModifier() { return variableRateModifier; } /** * Sets the value of the variableRateModifier property. * * @param value * allowed object is * {@link CodedDescriptionType } * */ public void setVariableRateModifier(CodedDescriptionType value) { this.variableRateModifier = value; } /** * <p>Java class for anonymous complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="Unit" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="Code" type="{urn:astm-org:CCR}CodeType" maxOccurs="unbounded" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "unit", "code" }) public static class Units { @XmlElement(name = "Unit") protected String unit; @XmlElement(name = "Code") protected List<CodeType> code; /** * Gets the value of the unit property. * * @return * possible object is * {@link String } * */ public String getUnit() { return unit; } /** * Sets the value of the unit property. * * @param value * allowed object is * {@link String } * */ public void setUnit(String value) { this.unit = value; } /** * Gets the value of the code property. * * <p> * This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a <CODE>set</CODE> method for the code property. * * <p> * For example, to add a new item, do as follows: * <pre> * getCode().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link CodeType } * * */ public List<CodeType> getCode() { if (code == null) { code = new ArrayList<CodeType>(); } return this.code; } } }