public enum TideEnumeration extends Enum<TideEnumeration>
Java class for TideEnumeration.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="TideEnumeration">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="HighTide"/>
<enumeration value="LowTide"/>
<enumeration value="NeapTide"/>
<enumeration value="AllTides"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
ALL_TIDES |
HIGH_TIDE |
LOW_TIDE |
NEAP_TIDE |
| Modifier and Type | Method and Description |
|---|---|
static TideEnumeration |
fromValue(String v) |
String |
value() |
static TideEnumeration |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TideEnumeration[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TideEnumeration HIGH_TIDE
public static final TideEnumeration LOW_TIDE
public static final TideEnumeration NEAP_TIDE
public static final TideEnumeration ALL_TIDES
public static TideEnumeration[] values()
for (TideEnumeration c : TideEnumeration.values()) System.out.println(c);
public static TideEnumeration 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 String value()
public static TideEnumeration fromValue(String v)
Copyright © 2018 Entur AS. All rights reserved.