public class ElementId extends Object implements Serializable
A Concept Id
A class which represents an id of any AbstractElement in the GraknTx.
Also contains a static method for producing AbstractElement IDs from Strings.
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getValue() |
int |
hashCode() |
static ElementId |
of(String value) |
String |
toString() |
@CheckReturnValue public String getValue()
@CheckReturnValue public static ElementId of(String value)
value - The string which potentially represents a ConceptCopyright © 2018 Grakn Labs Ltd. All rights reserved.