Class InterfaceMapping

    • Field Detail

      • implementationClasses

        private java.lang.String implementationClasses
        Extension - if a field is declared with implementation-classes. Comma-separated list of implementation classes.
    • Constructor Detail

      • InterfaceMapping

        public InterfaceMapping()
    • Method Detail

      • initialize

        public void initialize​(org.datanucleus.metadata.AbstractMemberMetaData mmd,
                               Table table,
                               org.datanucleus.ClassLoaderResolver clr)
        Initialisation.
        Overrides:
        initialize in class ReferenceMapping
        Parameters:
        mmd - MetaData for the field/property
        table - datastore container (table)
        clr - ClassLoader resolver
      • setImplementationClasses

        public void setImplementationClasses​(java.lang.String implementationClasses)
        Set the implementation classes. If the field defined what the implementation classes are, this mapping will only use it
        Parameters:
        implementationClasses - the implementation classes string
      • getObject

        public java.lang.Object getObject​(org.datanucleus.ExecutionContext ec,
                                          java.sql.ResultSet rs,
                                          int[] pos)
        Method to retrieve an object of this type from the ResultSet.
        Overrides:
        getObject in class ReferenceMapping
        Parameters:
        ec - ExecutionContext
        rs - The ResultSet
        pos - The parameter positions
        Returns:
        The object