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.ElementElement.Exceptions
 
- 
 - 
Constructor SummaryConstructors Modifier Constructor Description protectedTinkerElement(Object id, String label)protectedTinkerElement(Object id, String label, long currentVersion)
 - 
Method SummaryAll 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- 
idpublic Object id() Description copied from interface:ElementGets the unique identifier for the graphElement.
 - 
labelpublic String label() Description copied from interface:ElementGets the label for the graphElementwhich helps categorize it.
 - 
versionpublic long version() 
 - 
elementAlreadyRemovedprotected static IllegalStateException elementAlreadyRemoved(Class<? extends Element> clazz, Object id) 
 
- 
 
-