All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.mivek.model.WindShear Maven / Gradle / Ivy

Go to download

This project is a metar-taf parser. Use the MetarService and its method "parse()" to parse a metar string and retrieve a Metar Object. Use the TAFService#parse to parse a TAF string and retrieve a TAF object.

There is a newer version: 2.16.0
Show newest version
package io.github.mivek.model;

import org.apache.commons.lang3.builder.ToStringBuilder;

/**
 * Class representing the wind shear.
 * @author mivek
 */
public class WindShear extends Wind {
    /** The fHeight of the wind shear in feet. */
    private int fHeight;

    /**
     * @return the height
     */
    public int getHeight() {
        return fHeight;
    }

    /**
     * @param pHeight the height to set
     */
    public void setHeight(final int pHeight) {
        fHeight = pHeight;
    }

    @Override
    public final String toString() {
        return new ToStringBuilder(this).
                appendSuper(super.toString()).
                append("height (feet)", fHeight).
                toString();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy