Class TinkerProperty<V>
java.lang.Object
org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerProperty<V>
- All Implemented Interfaces:
Property<V>
- Author:
- Marko A. Rodriguez (http://markorodriguez.com)
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.tinkerpop.gremlin.structure.Property
Property.Exceptions -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()element()Get the element that this property is associated with.booleaninthashCode()booleanThe existence of this object implies the property is present, thus even anullvalue means "present".key()The key of the property.voidremove()Remove the property from the associated element.toString()value()The value of the property.Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.tinkerpop.gremlin.structure.Property
ifPresent, orElse, orElseGet, orElseThrow
-
Field Details
-
element
-
key
-
value
-
-
Constructor Details
-
TinkerProperty
-
-
Method Details
-
element
Description copied from interface:PropertyGet the element that this property is associated with. -
key
Description copied from interface:PropertyThe key of the property. -
value
Description copied from interface:PropertyThe value of the property. -
isPresent
public boolean isPresent()The existence of this object implies the property is present, thus even anullvalue means "present". -
toString
-
equals
-
hashCode
public int hashCode() -
remove
public void remove()Description copied from interface:PropertyRemove the property from the associated element. -
clone
-
copy
-