Enum ComparisonOperatorEnum
- java.lang.Object
-
- java.lang.Enum<ComparisonOperatorEnum>
-
- eu.datex2.siri13.schema._1_0._1_0.ComparisonOperatorEnum
-
- All Implemented Interfaces:
Serializable,Comparable<ComparisonOperatorEnum>
public enum ComparisonOperatorEnum extends Enum<ComparisonOperatorEnum>
Java class for ComparisonOperatorEnum.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="ComparisonOperatorEnum"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="equalTo"/> <enumeration value="greaterThan"/> <enumeration value="lessThan"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EQUAL_TOLogical comparison operator of "equal to".GREATER_THANLogical comparison operator of "greater than".LESS_THANLogical comparison operator of "less than".
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ComparisonOperatorEnumfromValue(String v)Stringvalue()static ComparisonOperatorEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static ComparisonOperatorEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EQUAL_TO
public static final ComparisonOperatorEnum EQUAL_TO
Logical comparison operator of "equal to".
-
GREATER_THAN
public static final ComparisonOperatorEnum GREATER_THAN
Logical comparison operator of "greater than".
-
LESS_THAN
public static final ComparisonOperatorEnum LESS_THAN
Logical comparison operator of "less than".
-
-
Method Detail
-
values
public static ComparisonOperatorEnum[] 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 (ComparisonOperatorEnum c : ComparisonOperatorEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ComparisonOperatorEnum 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 ComparisonOperatorEnum fromValue(String v)
-
-