Interface MappingConsumer


  • public interface MappingConsumer
    Consumer of 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 mapping
        mmd - MetaData for the member
      • consumeMapping

        void consumeMapping​(JavaTypeMapping m,
                            MappingType mappingType)
        Consumes a mapping not associated to a member
        Parameters:
        m - Java type mapping
        mappingType - the Mapping type
      • consumeUnmappedColumn

        void consumeUnmappedColumn​(Column col)
        Consume a column without mapping.
        Parameters:
        col - The column