public interface Element
| Modifier and Type | Method and Description |
|---|---|
Object |
getId()
An identifier that is unique to its inheriting class.
|
<T> T |
getProperty(String key)
Return the object value associated with the provided string key.
|
Set<String> |
getPropertyKeys()
Return all the keys associated with the element.
|
void |
remove()
Remove the element from the graph.
|
<T> T |
removeProperty(String key)
Un-assigns a key/value property from the element.
|
void |
setProperty(String key,
Object value)
Assign a key/value property to the element.
|
<T> T getProperty(String key)
key - the key of the key/value propertySet<String> getPropertyKeys()
void setProperty(String key, Object value)
key - the string key of the propertyvalue - the object value o the property<T> T removeProperty(String key)
key - the key of the property to remove from the elementvoid remove()
Object getId()
Copyright © 2010-2014. All Rights Reserved.