package org.cagrid.index.metrics.types; import java.io.Serializable; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlType; /** * * Represents an exponentially decaying average with metadata. * * * <p>Java class for exponentialRate complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="exponentialRate"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="rate" type="{http://www.w3.org/2001/XMLSchema}double"/> * <element name="decay" type="{http://www.w3.org/2001/XMLSchema}long"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "exponentialRate", propOrder = { "rate", "decay" }) public class ExponentialRate implements Serializable { protected double rate; protected long decay; /** * Gets the value of the rate property. * */ public double getRate() { return rate; } /** * Sets the value of the rate property. * */ public void setRate(double value) { this.rate = value; } /** * Gets the value of the decay property. * */ public long getDecay() { return decay; } /** * Sets the value of the decay property. * */ public void setDecay(long value) { this.decay = value; } }