Class InterfaceMapping

    • 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​(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 Object getObject​(org.datanucleus.ExecutionContext ec,
                                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