Precipitation.java
package sk.iway.iwcm.components.weather.met.no.generated;
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;
/**
* Element denoting the precipitation in mm.
*
*
* <p>Java class for precipitation complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="precipitation">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="unit" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="value" use="required">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}decimal">
* <minInclusive value="0"/>
* </restriction>
* </simpleType>
* </attribute>
* <attribute name="minvalue" type="{http://www.w3.org/2001/XMLSchema}float" />
* <attribute name="maxvalue" type="{http://www.w3.org/2001/XMLSchema}float" />
* <attribute name="probability" type="{http://www.w3.org/2001/XMLSchema}float" />
* <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" />
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "precipitation")
public class Precipitation {
@XmlAttribute(name = "unit", required = true)
protected String unit;
@XmlAttribute(name = "value", required = true)
protected BigDecimal value;
@XmlAttribute(name = "minvalue")
protected Float minvalue;
@XmlAttribute(name = "maxvalue")
protected Float maxvalue;
@XmlAttribute(name = "probability")
protected Float probability;
@XmlAttribute(name = "id")
protected String id;
/**
* 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 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 minvalue property.
*
* @return
* possible object is
* {@link Float }
*
*/
public Float getMinvalue() {
return minvalue;
}
/**
* Sets the value of the minvalue property.
*
* @param value
* allowed object is
* {@link Float }
*
*/
public void setMinvalue(Float value) {
this.minvalue = value;
}
/**
* Gets the value of the maxvalue property.
*
* @return
* possible object is
* {@link Float }
*
*/
public Float getMaxvalue() {
return maxvalue;
}
/**
* Sets the value of the maxvalue property.
*
* @param value
* allowed object is
* {@link Float }
*
*/
public void setMaxvalue(Float value) {
this.maxvalue = value;
}
/**
* Gets the value of the probability property.
*
* @return
* possible object is
* {@link Float }
*
*/
public Float getProbability() {
return probability;
}
/**
* Sets the value of the probability property.
*
* @param value
* allowed object is
* {@link Float }
*
*/
public void setProbability(Float value) {
this.probability = 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;
}
}