public class PersistentTree
extends org.gcube.data.trees.data.Tree
Tree with persistent state.PersistentNode| Constructor and Description |
|---|
PersistentTree(PersistentNode root) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(org.gcube.data.trees.data.Edge e) |
String |
attribute(QName name) |
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 document
|
void |
delete() |
List<org.gcube.data.trees.data.Edge> |
edges() |
boolean |
hasEdge(QName l) |
String |
id() |
boolean |
remove(org.gcube.data.trees.data.Edge e) |
String |
removeAttribute(QName name) |
String |
setAttribute(QName name,
String value) |
delta, equals, hashCode, setSourceId, sourceId, toStringadd, add, child, child, child, child, child, child, children, children, children, children, children, children, children, children, clearState, delta, descendant, descendant, descendants, descendants, descendants, descendants, edge, edge, edge, edges, edges, edges, find, find, hasEdge, hasEdge, labels, labels, markAsNew, remove, remove, remove, remove, size, updatepublic PersistentTree(PersistentNode root)
public org.neo4j.graphdb.Node dbnode()
public String id()
id in class org.gcube.data.trees.data.Nodepublic Map<QName,String> attributes()
attributes in class org.gcube.data.trees.data.Nodepublic String attribute(QName name) throws IllegalStateException
attribute in class org.gcube.data.trees.data.NodeIllegalStateExceptionpublic 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 boolean hasEdge(QName l)
hasEdge in class org.gcube.data.trees.data.InnerNodepublic boolean add(org.gcube.data.trees.data.Edge e)
add in class org.gcube.data.trees.data.InnerNodepublic List<org.gcube.data.trees.data.Edge> edges()
edges in class org.gcube.data.trees.data.InnerNodepublic boolean remove(org.gcube.data.trees.data.Edge e)
remove in class org.gcube.data.trees.data.InnerNodepublic void delete()
delete in class org.gcube.data.trees.data.InnerNodeCopyright © 2018. All Rights Reserved.