public final class XDEV extends Object
Constructor and Description |
---|
XDEV() |
Modifier and Type | Method and Description |
---|---|
static void |
bindComponents(Consumer<JPAComponentFilterBuilder> consumer)
Connect a master and a detail
BeanComponent to achieve a Master
Detail relation. |
static <T> void |
bindForm(BeanComponent<T> masterComponent,
BeanFieldGroup<T> form)
Connect a
BeanComponent to display appropriate detail data in a
BeanFieldGroup . |
static void |
buildTree(Consumer<XdevFillTree> consumer,
AbstractSelect tree)
Deprecated.
see
FillTree for more information |
public static void bindComponents(Consumer<JPAComponentFilterBuilder> consumer)
BeanComponent
to achieve a Master
Detail relation.consumer
- JPAComponentFilterBuilder
which requires the master
and detail BeanComponent
as well as their Entity type.public static <T> void bindForm(BeanComponent<T> masterComponent, BeanFieldGroup<T> form)
BeanComponent
to display appropriate detail data in a
BeanFieldGroup
.masterComponent
- the master BeanComponent
to select data fromform
- the detail BeanFieldGroup
to display appropriate data
in@Deprecated public static void buildTree(Consumer<XdevFillTree> consumer, AbstractSelect tree)
FillTree
for more informationXdevFillTree.addRootGroup(Class)
and
XdevFillTree.addGroup(Class, Class)
calls.consumer
- XdevFillTree
utility which gathers its information
from registered groups
XdevFillTree.addGroup(Class, Class)
.tree
- the tree component to be filled.