public static class ModelPath.ModelPathBuilder<R extends BranchNodeMetaModel,S extends BranchNodeMetaModel> extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ModelPath.ModelPathBuilder.BranchNodePredicateBuilder<R extends BranchNodeMetaModel,N extends BranchNodeMetaModel> |
static class |
ModelPath.ModelPathBuilder.RootModelPathBuilder<R extends BranchNodeMetaModel>
Helper class to build model paths.
|
public static <R extends BranchNodeMetaModel> ModelPath.ModelPathBuilder.RootModelPathBuilder<R> newBuilder(Class<R> rootClass)
rootClass - type off root node in path (start node)public static <R extends BranchNodeMetaModel> ModelPath.ModelPathBuilder.RootModelPathBuilder<R> newBuilder(R root)
root - root node of path (start node)public <N extends BranchNodeMetaModel> ModelPath.ModelPathBuilder<R,N> child(BranchNodeType<S,N> field)
field - static child node type instance from meta modelpublic <N extends BranchNodeMetaModel> ModelPath.ModelPathBuilder.BranchNodePredicateBuilder<R,N> childWithPredicates(BranchNodeType<S,N> field)
public <T> ModelPath<R,T> buildForValue(LeafNodeType<S,T> field)
public <T> ModelPath<R,LeafNode<?,T>> buildForNode(LeafNodeType<S,T> field)
public <T extends BranchNodeMetaModel> ModelPath<R,BranchNode<S,T>> buildForNode(BranchNodeType<S,T> field)
protected BranchNodeMetaModel getSelf()
protected BranchNodeMetaModel getRoot()
Copyright © 2020. All rights reserved.