Class NativeSQLQueryNonScalarReturn

    • Constructor Detail

      • NativeSQLQueryNonScalarReturn

        protected NativeSQLQueryNonScalarReturn​(java.lang.String alias,
                                                java.util.Map<java.lang.String,​java.lang.String[]> propertyResults,
                                                LockMode lockMode)
        Constructs some form of non-scalar return descriptor
        Parameters:
        alias - The result alias
        propertyResults - Any user-supplied column->property mappings
        lockMode - The lock mode to apply to the return.
    • Method Detail

      • getAlias

        public java.lang.String getAlias()
        Retrieve the defined result alias
        Returns:
        The result alias.
      • getLockMode

        public LockMode getLockMode()
        Retrieve the lock-mode to apply to this return
        Returns:
        The lock mode
      • getPropertyResultsMap

        public java.util.Map<java.lang.String,​java.lang.String[]> getPropertyResultsMap()
        Retrieve the user-supplied column->property mappings.
        Returns:
        The property mappings.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object