public interface MiddleComponentMapper
|Modifier and Type||Method and Description|
Adds query statements, which contains restrictions, which express the property that part of the middle entity with alias prefix1, is equal to part of the middle entity with alias prefix2 (the entity is the same).
Maps from an object to the object's map representation (for an entity - only its id).
Maps from full object data, contained in the given map (or object representation of the map, if available), to an object.
Object mapToObjectFromFullMap(EntityInstantiator entityInstantiator, Map<String,Object> data, Object dataObject, Number revision)
entityInstantiator- An entity instatiator bound with an open versions reader.
data- Full object data.
dataObject- An optional object representation of the data.
revision- Revision at which the data is read.
data- Map to which data should be added.
obj- Object to map from.
void addMiddleEqualToQuery(Parameters parameters, String prefix1, String prefix2)
parameters- Parameters, to which to add the statements.
prefix1- First alias of the entity + prefix to add to the properties.
prefix2- Second alias of the entity + prefix to add to the properties.
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.