Class DetachedProperty<V>
- java.lang.Object
 - 
- org.apache.tinkerpop.gremlin.structure.util.detached.DetachedProperty<V>
 
 
- 
- All Implemented Interfaces:
 Serializable,Property<V>,Attachable<Property<V>>
public class DetachedProperty<V> extends Object implements Property<V>, Serializable, Attachable<Property<V>>
- 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.Attachable
Attachable.Exceptions, Attachable.Method 
- 
Nested classes/interfaces inherited from interface org.apache.tinkerpop.gremlin.structure.Property
Property.Exceptions 
 - 
 
- 
Field Summary
- 
Fields inherited from interface org.apache.tinkerpop.gremlin.structure.util.Attachable
logger 
 - 
 
- 
Constructor Summary
Constructors Modifier Constructor Description DetachedProperty(String key, V value)DetachedProperty(String key, V value, Element element)protectedDetachedProperty(Property<V> property) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Elementelement()Get the element that this property is associated with.booleanequals(Object object)Property<V>get()Get the raw object trying to be attached.inthashCode()booleanisPresent()Whether the property is empty or not.Stringkey()The key of the property.voidremove()Remove the property from the associated element.StringtoString()Vvalue()The value of the property.- 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait 
- 
Methods inherited from interface org.apache.tinkerpop.gremlin.structure.util.Attachable
attach 
- 
Methods inherited from interface org.apache.tinkerpop.gremlin.structure.Property
ifPresent, orElse, orElseGet, orElseThrow 
 - 
 
 - 
 
- 
- 
Method Detail
- 
get
public Property<V> get()
Description copied from interface:AttachableGet the raw object trying to be attached.- Specified by:
 getin interfaceAttachable<V>- Returns:
 - the raw object to attach
 
 
- 
isPresent
public boolean isPresent()
Description copied from interface:PropertyWhether the property is empty or not. 
- 
element
public Element element()
Description copied from interface:PropertyGet the element that this property is associated with. 
- 
remove
public void remove()
Description copied from interface:PropertyRemove the property from the associated element. 
 - 
 
 -