Package de.xima.fc.serialize.interfaces
Interface IEntityDeserializationResult<T extends de.xima.cmn.dao.interfaces.IEntity<Long>>
-
- All Superinterfaces:
Serializable
public interface IEntityDeserializationResult<T extends de.xima.cmn.dao.interfaces.IEntity<Long>> extends Serializable
Common interface representing the result of an entity deserialization- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH, Dresden - 18.02.2021
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Map<de.xima.cmn.dao.interfaces.IEntity<Long>,List<IEntityDependency>>
getDependencies()
default IEntityDependency
getDependency(de.xima.cmn.dao.interfaces.IEntity<Long> entity, String fieldDescriptor)
T
getEntity()
Long
getOriginalId()
String
getSource()
-
-
-
Method Detail
-
getEntity
T getEntity()
- Returns:
- deserialized entity
-
getDependencies
Map<de.xima.cmn.dao.interfaces.IEntity<Long>,List<IEntityDependency>> getDependencies()
- Returns:
- dependencies of the deserialized entity and its child entities
-
getSource
String getSource()
- Returns:
- original deserialization source
-
getDependency
default IEntityDependency getDependency(de.xima.cmn.dao.interfaces.IEntity<Long> entity, String fieldDescriptor)
-
getOriginalId
Long getOriginalId()
- Returns:
- The original ID of the entity from the export.
-
-