Enum GraphPattern.Rank
- java.lang.Object
-
- java.lang.Enum<GraphPattern.Rank>
-
- com.epimorphics.sparql.graphpatterns.GraphPattern.Rank
-
- All Implemented Interfaces:
Serializable,Comparable<GraphPattern.Rank>
- Enclosing class:
- GraphPattern
public static enum GraphPattern.Rank extends Enum<GraphPattern.Rank>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GraphPattern.RankvalueOf(String name)Returns the enum constant of this type with the specified name.static GraphPattern.Rank[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NoBraces
public static final GraphPattern.Rank NoBraces
-
Optional
public static final GraphPattern.Rank Optional
-
Values
public static final GraphPattern.Rank Values
-
Select
public static final GraphPattern.Rank Select
-
Bind
public static final GraphPattern.Rank Bind
-
Text
public static final GraphPattern.Rank Text
-
Named
public static final GraphPattern.Rank Named
-
Zero
public static final GraphPattern.Rank Zero
-
Empty
public static final GraphPattern.Rank Empty
-
Basic
public static final GraphPattern.Rank Basic
-
Minus
public static final GraphPattern.Rank Minus
-
Union
public static final GraphPattern.Rank Union
-
And
public static final GraphPattern.Rank And
-
Exists
public static final GraphPattern.Rank Exists
-
Max
public static final GraphPattern.Rank Max
-
-
Method Detail
-
values
public static GraphPattern.Rank[] 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 (GraphPattern.Rank c : GraphPattern.Rank.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GraphPattern.Rank 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
-
-