Class StarGraph.StarElement<E extends Element>
- java.lang.Object
-
- org.apache.tinkerpop.gremlin.structure.util.star.StarGraph.StarElement<E>
-
- All Implemented Interfaces:
Element,Attachable<E>
- Direct Known Subclasses:
StarGraph.StarEdge,StarGraph.StarVertex,StarGraph.StarVertexProperty
- Enclosing class:
- StarGraph
public abstract class StarGraph.StarElement<E extends Element> extends Object implements Element, Attachable<E>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.tinkerpop.gremlin.structure.util.Attachable
Attachable.Exceptions, Attachable.Method
-
Nested classes/interfaces inherited from interface org.apache.tinkerpop.gremlin.structure.Element
Element.Exceptions
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedStarElement(Object id, String label)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object other)Eget()Get the raw object trying to be attached.Graphgraph()Get the graph that this element is within.inthashCode()Objectid()Gets the unique identifier for the graphElement.Stringlabel()Gets the label for the graphElementwhich helps categorize it.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.tinkerpop.gremlin.structure.util.Attachable
attach
-
-
-
-
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.
-
graph
public Graph graph()
Description copied from interface:ElementGet the graph that this element is within.
-
get
public E get()
Description copied from interface:AttachableGet the raw object trying to be attached.- Specified by:
getin interfaceAttachable<E extends Element>- Returns:
- the raw object to attach
-
-