public enum DsPrecipType extends Enum<DsPrecipType>
| Modifier and Type | Method and Description |
|---|---|
static DsPrecipType |
findByJsonValue(String jsonValue) |
String |
getJsonValue() |
static DsPrecipType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DsPrecipType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DsPrecipType RAIN
public static final DsPrecipType SNOW
public static final DsPrecipType SLEET
public static final DsPrecipType UNKNOWN
public static DsPrecipType[] values()
for (DsPrecipType c : DsPrecipType.values()) System.out.println(c);
public static DsPrecipType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static DsPrecipType findByJsonValue(String jsonValue)
public String getJsonValue()
Copyright © 2016–2020. All rights reserved.