Property.Exceptions| Modifier and Type | Method and Description |
|---|---|
Element |
element()
Get the element that this property is associated with.
|
boolean |
equals(java.lang.Object object) |
int |
hashCode() |
static <V> Property<V> |
instance() |
boolean |
isPresent()
Whether the property is empty or not.
|
java.lang.String |
key()
The key of the property.
|
void |
remove()
Remove the property from the associated element.
|
java.lang.String |
toString() |
V |
value()
The value of the property.
|
public java.lang.String key()
Propertypublic V value() throws java.util.NoSuchElementException
Propertypublic boolean isPresent()
Propertypublic Element element()
Propertypublic void remove()
Propertypublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object object)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic static <V> Property<V> instance()
Copyright © 2013-2015 TinkerPop. All Rights Reserved.