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 protectedTinkerElement(Object id, String label)protectedTinkerElement(Object id, String label, long currentVersion) 
- 
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract Objectclone()protected static IllegalStateExceptionelementAlreadyRemoved(Class<? extends Element> clazz, Object id)booleanequals(Object object)inthashCode()Objectid()Gets the unique identifier for the graphElement.Stringlabel()Gets the label for the graphElementwhich helps categorize it.longversion() 
 - 
 
- 
- 
Method Detail
- 
id
public Object id()
Description copied from interface:ElementGets the unique identifier for the graphElement. 
- 
label
public String label()
Description copied from interface:ElementGets the label for the graphElementwhich helps categorize it. 
- 
version
public long version()
 
- 
elementAlreadyRemoved
protected static IllegalStateException elementAlreadyRemoved(Class<? extends Element> clazz, Object id)
 
 - 
 
 -