Class ReferenceElement<E extends Element>
- java.lang.Object
- 
- org.apache.tinkerpop.gremlin.structure.util.reference.ReferenceElement<E>
 
- 
- All Implemented Interfaces:
- Serializable,- Element,- Attachable<E>
 - Direct Known Subclasses:
- ReferenceEdge,- ReferenceVertex,- ReferenceVertexProperty
 
 public abstract class ReferenceElement<E extends Element> extends Object implements Element, Serializable, Attachable<E> - Author:
- Marko A. Rodriguez (http://markorodriguez.com)
- See Also:
- Serialized Form
 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from interface org.apache.tinkerpop.gremlin.structure.util.AttachableAttachable.Exceptions, Attachable.Method
 - 
Nested classes/interfaces inherited from interface org.apache.tinkerpop.gremlin.structure.ElementElement.Exceptions
 
- 
 - 
Constructor SummaryConstructors Modifier Constructor Description protectedReferenceElement()protectedReferenceElement(Object id, String label)ReferenceElement(Element element)
 - 
Method SummaryAll 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.Objectclone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.apache.tinkerpop.gremlin.structure.util.Attachableattach
 
- 
 
- 
- 
- 
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.
 - 
graphpublic Graph graph() Description copied from interface:ElementGet the graph that this element is within.
 - 
getpublic E get() Description copied from interface:AttachableGet the raw object trying to be attached.- Specified by:
- getin interface- Attachable<E extends Element>
- Returns:
- the raw object to attach
 
 
- 
 
-