public class ConceptId extends Object implements Comparable<ConceptId>, Serializable
A Concept Id
A class which represents an id of any Concept in the GraknGraph.
Also contains a static method for producing concept IDs from Strings.
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(ConceptId o) |
boolean |
equals(Object o) |
Object |
getRawValue() |
String |
getValue() |
int |
hashCode() |
static ConceptId |
of(Object value) |
String |
toString() |
@CheckReturnValue public String getValue()
@CheckReturnValue public Object getRawValue()
public int compareTo(ConceptId o)
compareTo in interface Comparable<ConceptId>@CheckReturnValue public static ConceptId of(Object value)
value - The string which potentially represents a ConceptCopyright © 2017 Grakn Labs Ltd. All rights reserved.