java.lang.Object
sk.iway.iwcm.components.weather.met.no.generated.Precipitation

public class Precipitation extends Object
Element denoting the precipitation in mm.

Java class for precipitation complex type.

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

 <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>
 
  • Field Details

    • unit

      protected String unit
    • value

      protected BigDecimal value
    • minvalue

      protected Float minvalue
    • maxvalue

      protected Float maxvalue
    • probability

      protected Float probability
    • id

      protected String id
  • Constructor Details

    • Precipitation

      public Precipitation()
  • Method Details

    • getUnit

      public String getUnit()
      Gets the value of the unit property.
      Returns:
      possible object is String
    • setUnit

      public void setUnit(String value)
      Sets the value of the unit property.
      Parameters:
      value - allowed object is String
    • getValue

      public BigDecimal getValue()
      Gets the value of the value property.
      Returns:
      possible object is BigDecimal
    • setValue

      public void setValue(BigDecimal value)
      Sets the value of the value property.
      Parameters:
      value - allowed object is BigDecimal
    • getMinvalue

      public Float getMinvalue()
      Gets the value of the minvalue property.
      Returns:
      possible object is Float
    • setMinvalue

      public void setMinvalue(Float value)
      Sets the value of the minvalue property.
      Parameters:
      value - allowed object is Float
    • getMaxvalue

      public Float getMaxvalue()
      Gets the value of the maxvalue property.
      Returns:
      possible object is Float
    • setMaxvalue

      public void setMaxvalue(Float value)
      Sets the value of the maxvalue property.
      Parameters:
      value - allowed object is Float
    • getProbability

      public Float getProbability()
      Gets the value of the probability property.
      Returns:
      possible object is Float
    • setProbability

      public void setProbability(Float value)
      Sets the value of the probability property.
      Parameters:
      value - allowed object is Float
    • getId

      public String getId()
      Gets the value of the id property.
      Returns:
      possible object is String
    • setId

      public void setId(String value)
      Sets the value of the id property.
      Parameters:
      value - allowed object is String