|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.data.trees.data.Node
org.gcube.data.trees.data.Leaf
org.gcube.data.tr.neo.nodes.PersistentLeaf
public class PersistentLeaf
A Leaf with persistent state.
PersistentNode| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.gcube.data.trees.data.Node |
|---|
org.gcube.data.trees.data.Node.State |
| Constructor Summary | |
|---|---|
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)
|
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class org.gcube.data.trees.data.Leaf |
|---|
delta, size, toString, update |
| Methods inherited from class org.gcube.data.trees.data.Node |
|---|
ancestors, ancestorsAndSelf, attribute, attribute, hasAttribute, hasAttribute, id, parent, removeAttribute, setAttribute, setParent, state, state |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
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 node
IllegalArgumentException
public PersistentLeaf(org.neo4j.graphdb.Node dbnode,
BindingMode mode)
| Method Detail |
|---|
public org.neo4j.graphdb.Node dbnode()
public Map<QName,String> attributes()
attributes in class org.gcube.data.trees.data.Node
public 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.Leaf
public 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.Leaf
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||