public enum GraqlType extends Enum<GraqlType>
| Enum Constant and Description |
|---|
HAS_RESOURCE
The id of the generic has-resource relationship, used for attaching resources to instances with the 'has' syntax
|
HAS_RESOURCE_OWNER
The id of a role in has-resource, played by the owner of the resource
|
HAS_RESOURCE_VALUE
The id of a role in has-resource, played by the resource
|
| Modifier and Type | Method and Description |
|---|---|
String |
getId(String resourceTypeId) |
static GraqlType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GraqlType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GraqlType HAS_RESOURCE
public static final GraqlType HAS_RESOURCE_OWNER
public static final GraqlType HAS_RESOURCE_VALUE
public static GraqlType[] values()
for (GraqlType c : GraqlType.values()) System.out.println(c);
public static GraqlType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2016. All rights reserved.