Interface MappingConsumer
-
public interface MappingConsumer
Consumer of mappings.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
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
consumeUnmappedColumn(Column col)
Consume a column without mapping.void
preConsumeMapping(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
-
-