Enum SqlFeedLocation.Direction
- java.lang.Object
-
- java.lang.Enum<SqlFeedLocation.Direction>
-
- no.skatteetaten.fastsetting.formueinntekt.felles.feed.client.sql.SqlFeedLocation.Direction
-
- All Implemented Interfaces:
Serializable,Comparable<SqlFeedLocation.Direction>
- Enclosing class:
- SqlFeedLocation
public static enum SqlFeedLocation.Direction extends Enum<SqlFeedLocation.Direction>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BACKWARD_EXCLUSIVEBACKWARD_INCLUSIVEFORWARD
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) StringgetOperator()(package private) StringgetOrdering()static SqlFeedLocation.DirectionvalueOf(String name)Returns the enum constant of this type with the specified name.static SqlFeedLocation.Direction[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FORWARD
public static final SqlFeedLocation.Direction FORWARD
-
BACKWARD_INCLUSIVE
public static final SqlFeedLocation.Direction BACKWARD_INCLUSIVE
-
BACKWARD_EXCLUSIVE
public static final SqlFeedLocation.Direction BACKWARD_EXCLUSIVE
-
-
Method Detail
-
values
public static SqlFeedLocation.Direction[] 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 (SqlFeedLocation.Direction c : SqlFeedLocation.Direction.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SqlFeedLocation.Direction 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
-
getOperator
String getOperator()
-
getOrdering
String getOrdering()
-
-