public class PersistentLeaf
extends org.gcube.data.trees.data.Leaf
Leaf with persistent state.PersistentNode| Constructor and Description |
|---|
PersistentLeaf(org.neo4j.graphdb.GraphDatabaseService db,
org.gcube.data.trees.data.Leaf node)
Creates an instance from a given
Leaf and using a given NodeBinder. |
PersistentLeaf(org.neo4j.graphdb.Node dbnode,
BindingMode mode) |
| Modifier and Type | Method and Description |
|---|---|
Map<QName,String> |
attributes() |
org.neo4j.graphdb.Node |
dbnode()
Returns the database node that acts as the entry point to the persistent state of this node
|
void |
delete() |
boolean |
equals(Object obj) |
int |
hashCode() |
String |
removeAttribute(QName name) |
String |
setAttribute(QName name,
String value) |
String |
value() |
void |
value(String v) |
public PersistentLeaf(org.neo4j.graphdb.GraphDatabaseService db,
org.gcube.data.trees.data.Leaf node)
throws IllegalArgumentException
Leaf and using a given NodeBinder.dbnode - the persistent nodeIllegalArgumentExceptionpublic PersistentLeaf(org.neo4j.graphdb.Node dbnode,
BindingMode mode)
public org.neo4j.graphdb.Node dbnode()
public Map<QName,String> attributes()
attributes in class org.gcube.data.trees.data.Nodepublic String setAttribute(QName name, String value)
setAttribute in class org.gcube.data.trees.data.Nodepublic String removeAttribute(QName name)
removeAttribute in class org.gcube.data.trees.data.Nodepublic String value()
value in class org.gcube.data.trees.data.Leafpublic void value(String v) throws IllegalArgumentException
value in class org.gcube.data.trees.data.LeafIllegalArgumentExceptionpublic void delete()
delete in class org.gcube.data.trees.data.Leafpublic boolean equals(Object obj)
equals in class org.gcube.data.trees.data.Leafpublic int hashCode()
hashCode in class org.gcube.data.trees.data.LeafCopyright © 2018. All Rights Reserved.