Interface MappingConsumer
-
public interface MappingConsumerConsumer of mappings.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidconsumeMapping(JavaTypeMapping m, org.datanucleus.metadata.AbstractMemberMetaData mmd)Consumes a mapping associated to a membervoidconsumeMapping(JavaTypeMapping m, MappingType mappingType)Consumes a mapping not associated to a membervoidconsumeUnmappedColumn(Column col)Consume a column without mapping.voidpreConsumeMapping(int highestFieldNumber)This method is called before consuming the mappings
-
-
-
Method Detail
-
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
void consumeMapping(JavaTypeMapping m, org.datanucleus.metadata.AbstractMemberMetaData mmd)
Consumes a mapping associated to a member- Parameters:
m- The Java type mappingmmd- MetaData for the member
-
consumeMapping
void consumeMapping(JavaTypeMapping m, MappingType mappingType)
Consumes a mapping not associated to a member- Parameters:
m- Java type mappingmappingType- the Mapping type
-
consumeUnmappedColumn
void consumeUnmappedColumn(Column col)
Consume a column without mapping.- Parameters:
col- The column
-
-