Package io.jmix.dataimport.configuration
Class UniqueEntityConfiguration
java.lang.Object
io.jmix.dataimport.configuration.UniqueEntityConfiguration
Allows configuring how to process a case if the entity with the same values of the particular properties already exists.
To create an instance of UniqueEntityConfiguration, it is required to specify:
- Entity property names: names of the properties by which values the duplicate entity will be searched
- Duplicate entity policy: policy to process a found duplicate
-
Field Summary
-
Constructor Summary
ConstructorDescriptionUniqueEntityConfiguration
(List<String> entityPropertyNames, DuplicateEntityPolicy duplicateEntityPolicy) -
Method Summary
Modifier and TypeMethodDescription
-
Field Details
-
entityPropertyNames
-
duplicateEntityPolicy
-
-
Constructor Details
-
UniqueEntityConfiguration
public UniqueEntityConfiguration(List<String> entityPropertyNames, DuplicateEntityPolicy duplicateEntityPolicy)
-
-
Method Details
-
getEntityPropertyNames
-
getDuplicateEntityPolicy
-