ma.glasnost.orika.impl.generator
Interface AggregateSpecification
- All Known Implementing Classes:
- MultiOccurrenceToMultiOccurrence
public interface AggregateSpecification
AggregateSpecification encapsulates the logic to generate code for mappings
which are applied to collections of FieldMaps together
- Author:
- mattdeboer
setMapperFactory
void setMapperFactory(MapperFactory mapperFactory)
appliesTo
boolean appliesTo(FieldMap fieldMap)
- Tests whether this Specification applies to the specified MappedTypePair
- Parameters:
fieldMap - typePair -
- Returns:
- true if this specification applies to the given MappedTypePair
generateMappingCode
String generateMappingCode(List<FieldMap> fieldMappings,
SourceCodeContext code)
- Parameters:
fieldMappings - code -
- Returns:
Copyright © 2013 Glasnost. All Rights Reserved.