java.lang.Object
com.arangodb.tinkerpop.gremlin.persistence.ElementId
Direct Known Subclasses:
ComplexId, SimpleId

public abstract class ElementId extends Object
  • Field Details

    • collection

      protected final String collection
    • key

      protected String key
  • Constructor Details

    • ElementId

      protected ElementId(String collection, String key)
  • Method Details

    • validateIdParts

      public static void validateIdParts(String... names)
    • getLabel

      public abstract String getLabel()
    • getCollection

      public String getCollection()
    • getId

      public abstract String getId()
    • getKey

      public String getKey()
    • setKey

      public void setKey(String key)
    • toJson

      public String toJson()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object