public class OracleVertexPropertyBase<V>
extends java.lang.Object
implements org.apache.tinkerpop.gremlin.structure.VertexProperty<V>
| Constructor and Description |
|---|
OracleVertexPropertyBase(OracleVertexBase oracleVertex, java.lang.String key, V value)
Constructs a new OracleVertexProperty object
|
| Modifier and Type | Method and Description |
|---|---|
org.apache.tinkerpop.gremlin.structure.Vertex |
element()
Gets the Vertex that owns this VertexProperty.
|
boolean |
equals(java.lang.Object object)
Validates if the given object is equal to this Vertex property
|
org.apache.tinkerpop.gremlin.structure.Graph |
graph()
Get the graph that this element is within.
|
int |
hashCode()
Gets the hash code associated to this vertex property object
|
java.lang.Object |
id()
Gets the unique identifier for the Vertex Property
|
boolean |
isPresent()
Return whether the property is empty or not.
|
java.lang.String |
key()
Return the key of the property.
|
java.lang.String |
label()
Gets the label for the graph Element which helps categorize it.
|
<U> java.util.Iterator<org.apache.tinkerpop.gremlin.structure.Property<U>> |
properties(java.lang.String... propertyKeys)
Get an Iterator of properties.
|
<V> org.apache.tinkerpop.gremlin.structure.Property<V> |
property(java.lang.String key, V value)
Add or set a property value for the Element given its key.
|
void |
remove()
Removes the Element from the graph.
|
java.lang.String |
toString()
Returns the String representation of this vertex property
|
V |
value()
Get the value of a Property given it's key.
|
public OracleVertexPropertyBase(OracleVertexBase oracleVertex, java.lang.String key, V value)
oracleVertex - the vertex associated to this propertykey - the property namevalue - the property valuepublic org.apache.tinkerpop.gremlin.structure.Vertex element()
public boolean equals(java.lang.Object object)
equals in class java.lang.Objectpublic org.apache.tinkerpop.gremlin.structure.Graph graph()
graph in interface org.apache.tinkerpop.gremlin.structure.Elementgraph in interface org.apache.tinkerpop.gremlin.structure.VertexProperty<V>public int hashCode()
hashCode in class java.lang.Objectpublic java.lang.Object id()
id in interface org.apache.tinkerpop.gremlin.structure.Elementpublic boolean isPresent()
isPresent in interface org.apache.tinkerpop.gremlin.structure.Property<V>public java.lang.String key()
key in interface org.apache.tinkerpop.gremlin.structure.Property<V>public java.lang.String label()
label in interface org.apache.tinkerpop.gremlin.structure.Elementlabel in interface org.apache.tinkerpop.gremlin.structure.VertexProperty<V>public <U> java.util.Iterator<org.apache.tinkerpop.gremlin.structure.Property<U>> properties(java.lang.String... propertyKeys)
properties in interface org.apache.tinkerpop.gremlin.structure.Elementproperties in interface org.apache.tinkerpop.gremlin.structure.VertexProperty<V>public <V> org.apache.tinkerpop.gremlin.structure.Property<V> property(java.lang.String key,
V value)
property in interface org.apache.tinkerpop.gremlin.structure.Elementpublic void remove()
remove in interface org.apache.tinkerpop.gremlin.structure.Elementremove in interface org.apache.tinkerpop.gremlin.structure.Property<V>public java.lang.String toString()
toString in class java.lang.Objectpublic V value() throws java.util.NoSuchElementException
value in interface org.apache.tinkerpop.gremlin.structure.Property<V>java.util.NoSuchElementExceptionCopyright © 2010, 2020 Oracle and/or its affiliates. All Rights Reserved.