public abstract class AbstractCompositeIdMapper extends AbstractIdMapper implements SimpleIdMapperBuilder
Modifier and Type | Field and Description |
---|---|
protected Class |
compositeIdClass |
protected Map<PropertyData,SingleIdMapper> |
ids |
Modifier | Constructor and Description |
---|---|
protected |
AbstractCompositeIdMapper(Class compositeIdClass,
ServiceRegistry serviceRegistry) |
Modifier and Type | Method and Description |
---|---|
void |
add(PropertyData propertyData) |
protected Object |
instantiateCompositeId() |
Object |
mapToIdFromMap(Map data) |
addIdEqualsToQuery, addIdsEqualToQuery, addIdsEqualToQuery, addNamedIdEqualsToQuery, addNamedIdEqualsToQuery, getServiceRegistry
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addIdEqualsToQuery, addIdsEqualToQuery, addIdsEqualToQuery, addNamedIdEqualsToQuery, addNamedIdEqualsToQuery, getServiceRegistry, mapToEntityFromMap, mapToIdFromEntity, mapToMapFromEntity, mapToMapFromId, mapToMapFromId, mapToQueryParametersFromId, prefixMappedProperties
protected final Class compositeIdClass
protected Map<PropertyData,SingleIdMapper> ids
protected AbstractCompositeIdMapper(Class compositeIdClass, ServiceRegistry serviceRegistry)
public void add(PropertyData propertyData)
add
in interface SimpleMapperBuilder
public Object mapToIdFromMap(Map data)
mapToIdFromMap
in interface IdMapper
protected Object instantiateCompositeId()
Copyright © 2019 JBoss by Red Hat. All rights reserved.