Package uk.org.siri.siri21
Enum CountingTrendEnumeration
- java.lang.Object
-
- java.lang.Enum<CountingTrendEnumeration>
-
- uk.org.siri.siri21.CountingTrendEnumeration
-
- All Implemented Interfaces:
Serializable,Comparable<CountingTrendEnumeration>
public enum CountingTrendEnumeration extends Enum<CountingTrendEnumeration>
Java class for CountingTrendEnumeration.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="CountingTrendEnumeration"> <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> <enumeration value="decreasing"/> <enumeration value="increasing"/> <enumeration value="stable"/> <enumeration value="unstable"/> <enumeration value="increasingQuickly"/> <enumeration value="increasingSlowly"/> <enumeration value="decreasingQuickly"/> <enumeration value="decreasingSlowly"/> <enumeration value="unknown"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DECREASINGDECREASING_QUICKLYDECREASING_SLOWLYINCREASINGINCREASING_QUICKLYINCREASING_SLOWLYSTABLEUNKNOWNUNSTABLE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CountingTrendEnumerationfromValue(String v)Stringvalue()static CountingTrendEnumerationvalueOf(String name)Returns the enum constant of this type with the specified name.static CountingTrendEnumeration[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DECREASING
public static final CountingTrendEnumeration DECREASING
-
INCREASING
public static final CountingTrendEnumeration INCREASING
-
STABLE
public static final CountingTrendEnumeration STABLE
-
UNSTABLE
public static final CountingTrendEnumeration UNSTABLE
-
INCREASING_QUICKLY
public static final CountingTrendEnumeration INCREASING_QUICKLY
-
INCREASING_SLOWLY
public static final CountingTrendEnumeration INCREASING_SLOWLY
-
DECREASING_QUICKLY
public static final CountingTrendEnumeration DECREASING_QUICKLY
-
DECREASING_SLOWLY
public static final CountingTrendEnumeration DECREASING_SLOWLY
-
UNKNOWN
public static final CountingTrendEnumeration UNKNOWN
-
-
Method Detail
-
values
public static CountingTrendEnumeration[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CountingTrendEnumeration c : CountingTrendEnumeration.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CountingTrendEnumeration valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
value
public String value()
-
fromValue
public static CountingTrendEnumeration fromValue(String v)
-
-