File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
objectbox-java/src/main/java/io/objectbox/tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change 11
11
import java .util .concurrent .Callable ;
12
12
13
13
/**
14
+ * A higher level tree API operating on branch and leaf nodes.
14
15
* Points to a root branch, can traverse child branches and read and write data in leafs.
15
16
* <p>
17
+ * Depends on a compatible tree model (entity types), which is matched by type and property names.
18
+ * E.g. names like "DataLeaf.valueString" are fixed and may not be changed.
19
+ * Adding properties to tree types is allowed.
20
+ * <p>
21
+ * Note there are TWO ways to work with tree data (both ways can be mixed):
22
+ * - Standard ObjectBox entity types with e.g. Box<DataLeaf>
23
+ * - Higher level tree API via this Tree class
24
+ * <p>
16
25
* To navigate in the tree, you typically start with {@link #getRoot()}, which returns a {@link Branch}.
17
26
* From one branch you can navigate to other branches and also {@link Leaf}s, which carry data attributes.
18
27
* <p>
You can’t perform that action at this time.
0 commit comments