Interface PermutationAssigner
public interface PermutationAssigner
Imposes a permutation on some property of a bean.
This can be an immediate property of a bean, or property of some nested-bean. e.g.
Bean.x
(immediate property)Bean.child1.child2.child3.x
(nested).- All intermediate children must be beans.
- Author:
- Owen Feehan
-
Method Summary
Modifier and TypeMethodDescriptionvoid
assignValue
(AnchorBean<?> bean, Object value) Assignsvalue
to one or more properties inbean
.
-
Method Details
-
assignValue
Assignsvalue
to one or more properties inbean
.- Parameters:
bean
- the bean whose property or properties will be assigned.value
- the value which will be assigned.- Throws:
AssignPermutationException
- if the assignment cannot successfully complete due to an incorrect bean-type or illegal access.
-