Enum OverallImpactEnum
- java.lang.Object
-
- java.lang.Enum<OverallImpactEnum>
-
- eu.datex2.siri13.schema._1_0._1_0.OverallImpactEnum
-
- All Implemented Interfaces:
Serializable,Comparable<OverallImpactEnum>
public enum OverallImpactEnum extends Enum<OverallImpactEnum>
Java class for OverallImpactEnum.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="OverallImpactEnum"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="highest"/> <enumeration value="high"/> <enumeration value="normal"/> <enumeration value="low"/> <enumeration value="lowest"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description HIGHPerceived by supplier as being of a high level.HIGHESTPerceived by supplier as being of the highest level.LOWPerceived by supplier as being of a low level.LOWESTPerceived by supplier as being of the lowest level.NORMALPerceived by supplier as being of a normal level.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OverallImpactEnumfromValue(String v)Stringvalue()static OverallImpactEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static OverallImpactEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HIGHEST
public static final OverallImpactEnum HIGHEST
Perceived by supplier as being of the highest level.
-
HIGH
public static final OverallImpactEnum HIGH
Perceived by supplier as being of a high level.
-
NORMAL
public static final OverallImpactEnum NORMAL
Perceived by supplier as being of a normal level.
-
LOW
public static final OverallImpactEnum LOW
Perceived by supplier as being of a low level.
-
LOWEST
public static final OverallImpactEnum LOWEST
Perceived by supplier as being of the lowest level.
-
-
Method Detail
-
values
public static OverallImpactEnum[] 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 (OverallImpactEnum c : OverallImpactEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OverallImpactEnum 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 OverallImpactEnum fromValue(String v)
-
-