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) |
String |
getValue() |
int |
hashCode() |
static ConceptId |
of(String value) |
String |
toString() |
@CheckReturnValue public String getValue()
public int compareTo(ConceptId o)
compareTo in interface Comparable<ConceptId>@CheckReturnValue public static ConceptId of(String value)
value - The string which potentially represents a ConceptCopyright © 2017 Grakn Labs Ltd. All rights reserved.