Uses of Class
org.nuiton.util.beans.BinderModelBuilder
Packages that use BinderModelBuilder
Package
Description
Packages for all stuff of bean transformations (binder, and others...).
-
Uses of BinderModelBuilder in org.nuiton.util.beans
Methods in org.nuiton.util.beans that return BinderModelBuilderModifier and TypeMethodDescriptionBinderModelBuilder.addCollectionBinder(Binder binder, String... propertyNames) BinderModelBuilder.addCollectionStrategy(Binder.CollectionStrategy strategy, String... propertyNames) protected BinderModelBuilder<S, T> BinderModelBuilder.addCollectionStrategy0(String propertyName, Binder.CollectionStrategy strategy, Binder binder) <K,V> BinderModelBuilder <S, T> BinderModelBuilder.addFunction(Class<K> type, com.google.common.base.Function<K, V> function) BinderModelBuilder.addProperties(String... sourceAndTargetProperties) Add to the binder model some properties.BinderModelBuilder.addProperty(String sourceProperty, String targetProperty) Add to the binder model some simple properties (says source property name = target property name).BinderModelBuilder.addSimpleProperties(String... properties) Add to the binder model some simple properties (says source property name = target property name).BinderModelBuilder.buildInverseModelBuilder()Creates a new model builder inversing the the source and target of this builder.BinderModelBuilder.canTypeMismatch(boolean canTypeMismatch) Change the value of propertycanTypeMismatch.static <S> BinderModelBuilder<S, S> BinderModelBuilder.newDefaultBuilder(Class<S> sourceType) Creates a new mirrored model builder and fill the model with all matching and available property from the given type.static <S,T> BinderModelBuilder <S, T> BinderModelBuilder.newDefaultBuilder(Class<S> sourceType, Class<T> targetType) Creates a new model builder and fill the model with all matching and available properties from the source type to the target type.static <S,T> BinderModelBuilder <S, T> BinderModelBuilder.newDefaultBuilder(Class<S> sourceType, Class<T> targetType, boolean checkType) Creates a new model builder and fill the model with all matching and available properties from the source type to the target type.static <S> BinderModelBuilder<S, S> BinderModelBuilder.newEmptyBuilder(Class<S> type) Creates a new mirrored and empty model binder for the giventype.static <S,T> BinderModelBuilder <S, T> BinderModelBuilder.newEmptyBuilder(Class<S> sourceType, Class<T> targetType) Creates a new empty model binder for the given types.Methods in org.nuiton.util.beans with parameters of type BinderModelBuilderModifier and TypeMethodDescriptionstatic <S,T> Binder.BinderModel <S, T> BinderFactory.registerBinderModel(BinderModelBuilder<S, T> binderModelBuilder) static <S,T> Binder.BinderModel <S, T> BinderFactory.registerBinderModel(BinderModelBuilder<S, T> binderModelBuilder, String contextName)