Package io.odysz.semantic.DA
Class DatasetCfg.AnTreeNode
java.lang.Object
io.odysz.anson.Anson
io.odysz.semantic.DA.TreeIndenode
io.odysz.semantic.DA.DatasetCfg.AnTreeNode
- All Implemented Interfaces:
io.odysz.anson.IJsonable
- Enclosing class:
- DatasetCfg
Representing each tree node.
Design Memo:What easy ui tree control expected is this:
[{"children":[ { "fullpath":"01.0101", "checked":true, "text":"users","sort":"0101", "value":"0101", "parentId":"01" }, { "fullpath":"01.0102", "checked":true, "text":"roles","sort":"0102","value":"0102","parentId":"01" }, { "fullpath":"01.0103", "checked":true, "text":"sys log","sort":"0103","value":"0103","parentId":"01" } ], "fullpath":"01", "checked":true, "text":"system","sort":"01","value":"01","parentId":"" }, {"children":[ { "fullpath":"03.0301", "checked":true, "text":"FUNC 0301","sort":"0301","value":"0301","parentId":"03"} ], "fullpath":"03", "checked":true, "text":"web contents","sort":"03","value":"03" }]
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.odysz.anson.IJsonable
io.odysz.anson.IJsonable.JsonableFactory
-
Field Summary
Fields inherited from class io.odysz.anson.Anson
verbose
-
Constructor Summary
ConstructorDescriptionOnly for Anson parser, don't create like this (use subclass constructor)AnTreeNode
(String id, String parent, int level, DatasetCfg.AnTreeNode... root) -
Method Summary
Methods inherited from class io.odysz.semantic.DA.TreeIndenode
asLastSibling, child, child, children, children, children_, fullpath, get, getChildIndents, id, indents, parent, put, tagLast, toBlock
Methods inherited from class io.odysz.anson.Anson
appendArr, appendObjStr, appendPair, escape, fromBlock, fromJson, fromJson, toEnvelope, toJson, toJson, toMapBlock, toString, unescape
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface io.odysz.anson.IJsonable
toBlock
-
Constructor Details
-
AnTreeNode
public AnTreeNode()Only for Anson parser, don't create like this (use subclass constructor) -
AnTreeNode
-