Class TinkerElement
- java.lang.Object
-
- org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerElement
-
- All Implemented Interfaces:
Element
- Direct Known Subclasses:
TinkerEdge
,TinkerVertex
,TinkerVertexProperty
public abstract class TinkerElement extends Object implements Element
- Author:
- Marko A. Rodriguez (http://markorodriguez.com)
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.tinkerpop.gremlin.structure.Element
Element.Exceptions
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
TinkerElement(Object id, String label)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected static IllegalStateException
elementAlreadyRemoved(Class<? extends Element> clazz, Object id)
boolean
equals(Object object)
int
hashCode()
Object
id()
Gets the unique identifier for the graphElement
.String
label()
Gets the label for the graphElement
which helps categorize it.
-
-
-
Method Detail
-
id
public Object id()
Description copied from interface:Element
Gets the unique identifier for the graphElement
.
-
label
public String label()
Description copied from interface:Element
Gets the label for the graphElement
which helps categorize it.
-
elementAlreadyRemoved
protected static IllegalStateException elementAlreadyRemoved(Class<? extends Element> clazz, Object id)
-
-