public class OraclePropertyBase<V>
extends java.lang.Object
implements org.apache.tinkerpop.gremlin.structure.Property<V>
Constructor and Description |
---|
OraclePropertyBase(OracleElementBase e,
java.lang.String key,
V value)
Constructs a new OracleProperty object
|
Modifier and Type | Method and Description |
---|---|
OracleElementBase |
element()
Get the element that this property is associated with
|
boolean |
equals(java.lang.Object object)
Validate if the given object is equal to this property
|
int |
hashCode()
Get the hash code associated to this property object
|
boolean |
isPresent()
Validate whether the property is empty or not
|
java.lang.String |
key()
Get the key of the property
|
void |
remove()
Remove the property from the associated element
|
java.lang.String |
toString()
Get a String representation of this property
|
V |
value()
Get the value of the property
|
public OraclePropertyBase(OracleElementBase e, java.lang.String key, V value)
e
- the element that this property will be associated withkey
- the name of the propertyvalue
- the value of the propertypublic OracleElementBase element()
element
in interface org.apache.tinkerpop.gremlin.structure.Property<V>
public boolean equals(java.lang.Object object)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public 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 void remove()
remove
in interface org.apache.tinkerpop.gremlin.structure.Property<V>
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2015 - 2020 Oracle and/or its affiliates. All Rights Reserved.