Package org.instancio

Interface Assignment

All Known Subinterfaces:
GivenOriginDestinationAction, GivenOriginPredicateAction, ValueOfOriginDestination, ValueOfOriginDestinationPredicate

@ExperimentalApi public interface Assignment
An assignment that can be passed to the InstancioApi.assign(Assignment...) method.

Assignments can be constructed using one of the static factory methods provided by the Assign class. An assignment consists of an origin and destination selectors, where the origin selector must match a single value.

Since:
3.0.0
See Also: