Class MargenCalidadDAO


  • public class MargenCalidadDAO
    extends BaseDAO<MargenCalidad>
    Data Access Object for the MargenesCalidad table Handles database operations for signal quality margin entities
    • Constructor Detail

      • MargenCalidadDAO

        public MargenCalidadDAO()
    • Method Detail

      • getTableName

        protected java.lang.String getTableName()
        Gets the name of the database table
        Specified by:
        getTableName in class BaseDAO<MargenCalidad>
        Returns:
        The table name "margenes_calidad"
      • getColumnNames

        protected java.lang.String[] getColumnNames()
        Gets the column names for the MargenesCalidad table
        Specified by:
        getColumnNames in class BaseDAO<MargenCalidad>
        Returns:
        Array of column names
      • mapResultSetToEntity

        protected MargenCalidad mapResultSetToEntity​(java.sql.ResultSet rs)
                                              throws java.sql.SQLException
        Maps a ResultSet row to a MargenCalidad entity
        Specified by:
        mapResultSetToEntity in class BaseDAO<MargenCalidad>
        Parameters:
        rs - The ResultSet containing the database row
        Returns:
        A new MargenCalidad object with data from the ResultSet
        Throws:
        java.sql.SQLException - if a database error occurs
      • setPreparedStatementParams

        protected void setPreparedStatementParams​(java.sql.PreparedStatement ps,
                                                  MargenCalidad entity)
                                           throws java.sql.SQLException
        Sets the parameters for a PreparedStatement based on MargenCalidad properties
        Specified by:
        setPreparedStatementParams in class BaseDAO<MargenCalidad>
        Parameters:
        ps - The PreparedStatement to set parameters for
        entity - The MargenCalidad entity containing the values to set
        Throws:
        java.sql.SQLException - if a database error occurs