Package uk.gov.gchq.gaffer.data.element
Enum ReservedPropertyNames
- java.lang.Object
-
- java.lang.Enum<ReservedPropertyNames>
-
- uk.gov.gchq.gaffer.data.element.ReservedPropertyNames
-
- All Implemented Interfaces:
Serializable
,Comparable<ReservedPropertyNames>
public enum ReservedPropertyNames extends Enum<ReservedPropertyNames>
Enumeration of all protected property names. These property names should not appear in any schemas used within a Gaffer graph.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DESTINATION
DIRECTED
GROUP
ID
MATCHED_VERTEX
SOURCE
VERTEX
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static boolean
contains(String property)
Stream<String>
getNames()
static ReservedPropertyNames
valueOf(String name)
Returns the enum constant of this type with the specified name.static ReservedPropertyNames[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GROUP
public static final ReservedPropertyNames GROUP
-
VERTEX
public static final ReservedPropertyNames VERTEX
-
SOURCE
public static final ReservedPropertyNames SOURCE
-
DESTINATION
public static final ReservedPropertyNames DESTINATION
-
DIRECTED
public static final ReservedPropertyNames DIRECTED
-
MATCHED_VERTEX
public static final ReservedPropertyNames MATCHED_VERTEX
-
ID
public static final ReservedPropertyNames ID
-
-
Method Detail
-
values
public static ReservedPropertyNames[] 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 (ReservedPropertyNames c : ReservedPropertyNames.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ReservedPropertyNames 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
-
contains
public static boolean contains(String property)
-
-