public final class ListCollectionMapper extends AbstractCollectionMapper<List> implements PropertyMapper
collectionClass, commonCollectionMapperData
Constructor and Description |
---|
ListCollectionMapper(CommonCollectionMapperData commonCollectionMapperData,
MiddleComponentData elementComponentData,
MiddleComponentData indexComponentData) |
Modifier and Type | Method and Description |
---|---|
protected Initializor<List> |
getInitializor(AuditConfiguration verCfg,
AuditReaderImplementor versionsReader,
Object primaryKey,
Number revision) |
protected Collection |
getNewCollectionContent(PersistentCollection newCollection) |
protected Collection |
getOldCollectionContent(Serializable oldCollection) |
protected void |
mapToMapFromObject(Map<String,Object> data,
Object changed)
Maps the changed collection element to the given map.
|
mapCollectionChanges, mapModifiedFlagsToMapForCollectionChange, mapModifiedFlagsToMapFromEntity, mapToEntityFromMap, mapToMapFromEntity
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
mapCollectionChanges, mapModifiedFlagsToMapForCollectionChange, mapModifiedFlagsToMapFromEntity, mapToEntityFromMap, mapToMapFromEntity
public ListCollectionMapper(CommonCollectionMapperData commonCollectionMapperData, MiddleComponentData elementComponentData, MiddleComponentData indexComponentData)
protected Initializor<List> getInitializor(AuditConfiguration verCfg, AuditReaderImplementor versionsReader, Object primaryKey, Number revision)
getInitializor
in class AbstractCollectionMapper<List>
protected Collection getNewCollectionContent(PersistentCollection newCollection)
getNewCollectionContent
in class AbstractCollectionMapper<List>
protected Collection getOldCollectionContent(Serializable oldCollection)
getOldCollectionContent
in class AbstractCollectionMapper<List>
protected void mapToMapFromObject(Map<String,Object> data, Object changed)
AbstractCollectionMapper
mapToMapFromObject
in class AbstractCollectionMapper<List>
data
- Where to map the data.changed
- The changed collection element to map.Copyright © 2012 JBoss by Red Hat. All Rights Reserved.