Save This Page
Home » hibernate-core-src-20081106 » org.hibernate.envers.entities.mapper » [javadoc | source]
org.hibernate.envers.entities.mapper
public interface: PropertyMapper [javadoc | source]

All Known Implementing Classes:
    SubclassPropertyMapper, ExtendedPropertyMapper, MapPropertyMapper, AbstractCollectionMapper, MultiPropertyMapper, ToOneIdMapper, BasicCollectionMapper, ListCollectionMapper, OneToOneNotOwningMapper, MapCollectionMapper, SinglePropertyMapper

Method from org.hibernate.envers.entities.mapper.PropertyMapper Summary:
mapCollectionChanges,   mapToEntityFromMap,   mapToMapFromEntity
Method from org.hibernate.envers.entities.mapper.PropertyMapper Detail:
 public List mapCollectionChanges(String referencingPropertyName,
    PersistentCollection newColl,
    Serializable oldColl,
    Serializable id)
    Maps collection changes
 public  void mapToEntityFromMap(AuditConfiguration verCfg,
    Object obj,
    Map data,
    Object primaryKey,
    AuditReaderImplementor versionsReader,
    Number revision)
    Maps properties from the given map to the given object.
 public boolean mapToMapFromEntity(Map data,
    Object newObj,
    Object oldObj)
    Maps properties to the given map, basing on differences between properties of new and old objects.