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