Class DetachedElement<E>
- java.lang.Object
- 
- org.apache.tinkerpop.gremlin.structure.util.detached.DetachedElement<E>
 
- 
- All Implemented Interfaces:
- Serializable,- Element,- Attachable<E>
 - Direct Known Subclasses:
- DetachedEdge,- DetachedVertex,- DetachedVertexProperty
 
 public abstract class DetachedElement<E> extends Object implements Element, Serializable, Attachable<E> - Author:
- Stephen Mallette (http://stephen.genoprime.com), 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 protectedDetachedElement()protectedDetachedElement(Object id, String label)protectedDetachedElement(Element element)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object object)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.<V> Iterator<? extends Property<V>>properties(String... propertyKeys)Get anIteratorof properties where thepropertyKeysis meant to be a filter on the available keys.<V> Property<V>property(String key)Get aPropertyfor theElementgiven its key.<V> Property<V>property(String key, V value)Add or set a property value for theElementgiven its key.- 
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- 
graphpublic Graph graph() Description copied from interface:ElementGet the graph that this element is within.
 - 
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.
 - 
propertypublic <V> Property<V> property(String key, V value) Description copied from interface:ElementAdd or set a property value for theElementgiven its key.
 - 
propertypublic <V> Property<V> property(String key) Description copied from interface:ElementGet aPropertyfor theElementgiven its key. The default implementation calls the rawElement.properties(java.lang.String...).
 - 
propertiespublic <V> Iterator<? extends Property<V>> properties(String... propertyKeys) Description copied from interface:ElementGet anIteratorof properties where thepropertyKeysis meant to be a filter on the available keys. If no keys are provide then return all the properties.- Specified by:
- propertiesin interface- Element
 
 - 
getpublic E get() Description copied from interface:AttachableGet the raw object trying to be attached.- Specified by:
- getin interface- Attachable<E>
- Returns:
- the raw object to attach
 
 
- 
 
-