Windspeed.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 wind speed by name, at 10 m above ground,
* in meters per second or the Beaufort scale.
*
*
* <p>Java class for windspeed complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="windspeed">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="mps" use="required">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}decimal">
* <minInclusive value="0"/>
* </restriction>
* </simpleType>
* </attribute>
* <attribute name="name">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* </restriction>
* </simpleType>
* </attribute>
* <attribute name="beaufort">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}integer">
* <minInclusive value="0"/>
* <maxInclusive value="12"/>
* </restriction>
* </simpleType>
* </attribute>
* <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" />
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "windspeed")
public class Windspeed {
@XmlAttribute(name = "mps", required = true)
protected BigDecimal mps;
@XmlAttribute(name = "name")
protected String name;
@XmlAttribute(name = "beaufort")
protected Integer beaufort;
@XmlAttribute(name = "id")
protected String id;
/**
* Gets the value of the mps property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getMps() {
return mps;
}
/**
* Sets the value of the mps property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setMps(BigDecimal value) {
this.mps = value;
}
/**
* Gets the value of the name property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getName() {
return name;
}
/**
* Sets the value of the name property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setName(String value) {
this.name = value;
}
/**
* Gets the value of the beaufort property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getBeaufort() {
return beaufort;
}
/**
* Sets the value of the beaufort property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setBeaufort(Integer value) {
this.beaufort = 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;
}
}