类 TreeNodeAttributeMapper.TreeNodeAttributeMapperBuilder<T>
- java.lang.Object
-
- cn.woodwhales.common.business.tree.TreeNodeAttributeMapper.TreeNodeAttributeMapperBuilder<T>
-
- 封闭类:
- TreeNodeAttributeMapper<T>
public static class TreeNodeAttributeMapper.TreeNodeAttributeMapperBuilder<T> extends Object
-
-
方法概要
-
-
-
方法详细资料
-
nodeIdName
public TreeNodeAttributeMapper.TreeNodeAttributeMapperBuilder<T> nodeIdName(String nodeIdName)
-
overNodeId
public TreeNodeAttributeMapper.TreeNodeAttributeMapperBuilder<T> overNodeId(java.util.function.Function<T,Object> overNodeIdFunction)
-
overNodeId
public TreeNodeAttributeMapper.TreeNodeAttributeMapperBuilder<T> overNodeId(String nodeId, java.util.function.Function<T,Object> overNodeIdFunction)
-
nodeName
public TreeNodeAttributeMapper.TreeNodeAttributeMapperBuilder<T> nodeName(String nodeName)
-
parentId
public TreeNodeAttributeMapper.TreeNodeAttributeMapperBuilder<T> parentId(String parentId)
-
childrenName
public TreeNodeAttributeMapper.TreeNodeAttributeMapperBuilder<T> childrenName(String childrenName)
-
dataName
public TreeNodeAttributeMapper.TreeNodeAttributeMapperBuilder<T> dataName(String dataName)
-
sortName
public TreeNodeAttributeMapper.TreeNodeAttributeMapperBuilder<T> sortName(String sortName)
-
extraName
public TreeNodeAttributeMapper.TreeNodeAttributeMapperBuilder<T> extraName(String extraName)
设置字段变量的别名 扩展字段的别名会覆盖掉已有的数据字段数据- 参数:
extraName- 扩展字段变量的别名- 返回:
- TreeNodeAttributeMapper.TreeNodeAttributeMapperBuilder
-
extraMappingList
public TreeNodeAttributeMapper.TreeNodeAttributeMapperBuilder<T> extraMappingList(List<TreeNodeAttributeMapper.ExtraMapping<T>> extraMappingList)
-
build
public TreeNodeAttributeMapper<T> build()
-
-