Class TinkerProperty<V>
- java.lang.Object
-
- org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerProperty<V>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.tinkerpop.gremlin.structure.Property
Property.Exceptions
-
-
Constructor Summary
Constructors Constructor Description TinkerProperty(Element element, String key, V value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Element
element()
Get the element that this property is associated with.boolean
equals(Object object)
int
hashCode()
boolean
isPresent()
The existence of this object implies the property is present, thus even anull
value means "present".String
key()
The key of the property.void
remove()
Remove the property from the associated element.String
toString()
V
value()
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.Property
ifPresent, orElse, orElseGet, orElseThrow
-
-
-
-
Method Detail
-
element
public Element element()
Description copied from interface:Property
Get the element that this property is associated with.
-
isPresent
public boolean isPresent()
The existence of this object implies the property is present, thus even anull
value means "present".
-
-