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 1111import java .util .concurrent .Callable ;
1212
1313/**
14+ * A higher level tree API operating on branch and leaf nodes.
1415 * Points to a root branch, can traverse child branches and read and write data in leafs.
1516 * <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>
1625 * To navigate in the tree, you typically start with {@link #getRoot()}, which returns a {@link Branch}.
1726 * From one branch you can navigate to other branches and also {@link Leaf}s, which carry data attributes.
1827 * <p>
You can’t perform that action at this time.
0 commit comments