Interface MappingConsumer
- All Known Implementing Classes:
DeleteRequest.DeleteMappingConsumer
,InsertRequest.InsertMappingConsumer
,UpdateRequest.UpdateMappingConsumer
public interface MappingConsumer
Consumer of mappings.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
consumeMapping
(JavaTypeMapping m, org.datanucleus.metadata.AbstractMemberMetaData mmd) Consumes a mapping associated to a membervoid
consumeMapping
(JavaTypeMapping m, MappingType mappingType) Consumes a mapping not associated to a membervoid
Consume a column without mapping.void
preConsumeMapping
(int highestFieldNumber) This method is called before consuming the mappings
-
Method Details
-
preConsumeMapping
void preConsumeMapping(int highestFieldNumber) This method is called before consuming the mappings- Parameters:
highestFieldNumber
- the highest number for the fields that are going to be provided in the consumer
-
consumeMapping
Consumes a mapping associated to a member- Parameters:
m
- The Java type mappingmmd
- MetaData for the member
-
consumeMapping
Consumes a mapping not associated to a member- Parameters:
m
- Java type mappingmappingType
- the Mapping type
-
consumeUnmappedColumn
Consume a column without mapping.- Parameters:
col
- The column
-