|
||||||||||
| 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.InnerNode
org.gcube.data.trees.data.Tree
org.gcube.data.tr.neo.nodes.PersistentTree
public class PersistentTree
A Tree 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 | |
|---|---|
PersistentTree(PersistentNode root)
|
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class org.gcube.data.trees.data.Tree |
|---|
delta, equals, hashCode, setSourceId, sourceId, toString |
| Methods inherited from class org.gcube.data.trees.data.InnerNode |
|---|
add, 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, update |
| Methods inherited from class org.gcube.data.trees.data.Node |
|---|
ancestors, ancestorsAndSelf, attribute, hasAttribute, hasAttribute, parent, removeAttribute, setAttribute, setParent, state, state, uri, uri |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PersistentTree(PersistentNode root)
| Method Detail |
|---|
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.Node
public String attribute(QName name)
throws IllegalStateException
attribute in class org.gcube.data.trees.data.NodeIllegalStateException
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 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.InnerNode
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||