public interface EntityAttributeImportExtension
EntityImportExport bean.
Such beans can be useful for defining specific logic for importing value of MetaProperty.
The supported MetaProperty is determined by the supports(MetaProperty) method.
| Modifier and Type | Method and Description |
|---|---|
void |
importEntityAttribute(MetaProperty property,
java.lang.Object srcEntity,
java.lang.Object dstEntity)
Imports the entity attribute.
|
boolean |
supports(MetaProperty property)
Checks whether the extension supports the given meta property
|
boolean supports(MetaProperty property)
property - a meta propertyvoid importEntityAttribute(MetaProperty property, java.lang.Object srcEntity, java.lang.Object dstEntity)
property - a meta propertysrcEntity - entity that came to the EntityImportExport beandstEntity - reloaded srcEntity or new entity instance if srcEntity doesn't exist in the database