Class CloudLayer
java.lang.Object
org.deltava.beans.wx.CloudLayer
- All Implemented Interfaces:
Comparable<CloudLayer>
A bean to store cloud layer data.
- Since:
- 2.6
- Version:
- 8.0
- Author:
- Luke
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumAn enumeration to store cloud thickness.static enumAn enumeration to store cloud types. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcompareTo(CloudLayer cl2) intReturns the height of the cloud layer.Returns the cloud layer thickness.getType()Returns the cloud type.voidSets the cloud layer thickness.voidSets the cloud type.toString()
-
Constructor Details
-
CloudLayer
public CloudLayer(int height) Initializes the bean.- Parameters:
height- the height of the cloud layer, in feet MSL
-
-
Method Details
-
getHeight
public int getHeight()Returns the height of the cloud layer.- Returns:
- the height in feet MSL
-
getType
-
getThickness
-
setType
-
setThickness
Sets the cloud layer thickness.- Parameters:
amt- the thickness
-
compareTo
- Specified by:
compareToin interfaceComparable<CloudLayer>
-
toString
-