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

public class UnitValue extends Object

Java class for unit_value complex type.

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

 <complexType name="unit_value">
   <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" type="{http://www.w3.org/2001/XMLSchema}float" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

    • unit

      protected String unit
    • value

      protected float value
  • Constructor Details

    • UnitValue

      public UnitValue()
  • 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 float getValue()
      Gets the value of the value property.
    • setValue

      public void setValue(float value)
      Sets the value of the value property.