/*
 * This file is generated by jOOQ.
 */
package ervu_secret.ervu_secret.db_beans.information_schema.tables.records;


import ervu_secret.ervu_secret.db_beans.information_schema.tables.RoleColumnGrants;

import org.jooq.impl.TableRecordImpl;


/**
 * This class is generated by jOOQ.
 */
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class RoleColumnGrantsRecord extends TableRecordImpl<RoleColumnGrantsRecord> {

    private static final long serialVersionUID = 1L;

    /**
     * Setter for <code>information_schema.role_column_grants.grantor</code>.
     */
    public void setGrantor(String value) {
        set(0, value);
    }

    /**
     * Getter for <code>information_schema.role_column_grants.grantor</code>.
     */
    public String getGrantor() {
        return (String) get(0);
    }

    /**
     * Setter for <code>information_schema.role_column_grants.grantee</code>.
     */
    public void setGrantee(String value) {
        set(1, value);
    }

    /**
     * Getter for <code>information_schema.role_column_grants.grantee</code>.
     */
    public String getGrantee() {
        return (String) get(1);
    }

    /**
     * Setter for
     * <code>information_schema.role_column_grants.table_catalog</code>.
     */
    public void setTableCatalog(String value) {
        set(2, value);
    }

    /**
     * Getter for
     * <code>information_schema.role_column_grants.table_catalog</code>.
     */
    public String getTableCatalog() {
        return (String) get(2);
    }

    /**
     * Setter for
     * <code>information_schema.role_column_grants.table_schema</code>.
     */
    public void setTableSchema(String value) {
        set(3, value);
    }

    /**
     * Getter for
     * <code>information_schema.role_column_grants.table_schema</code>.
     */
    public String getTableSchema() {
        return (String) get(3);
    }

    /**
     * Setter for <code>information_schema.role_column_grants.table_name</code>.
     */
    public void setTableName(String value) {
        set(4, value);
    }

    /**
     * Getter for <code>information_schema.role_column_grants.table_name</code>.
     */
    public String getTableName() {
        return (String) get(4);
    }

    /**
     * Setter for
     * <code>information_schema.role_column_grants.column_name</code>.
     */
    public void setColumnName(String value) {
        set(5, value);
    }

    /**
     * Getter for
     * <code>information_schema.role_column_grants.column_name</code>.
     */
    public String getColumnName() {
        return (String) get(5);
    }

    /**
     * Setter for
     * <code>information_schema.role_column_grants.privilege_type</code>.
     */
    public void setPrivilegeType(String value) {
        set(6, value);
    }

    /**
     * Getter for
     * <code>information_schema.role_column_grants.privilege_type</code>.
     */
    public String getPrivilegeType() {
        return (String) get(6);
    }

    /**
     * Setter for
     * <code>information_schema.role_column_grants.is_grantable</code>.
     */
    public void setIsGrantable(String value) {
        set(7, value);
    }

    /**
     * Getter for
     * <code>information_schema.role_column_grants.is_grantable</code>.
     */
    public String getIsGrantable() {
        return (String) get(7);
    }

    // -------------------------------------------------------------------------
    // Constructors
    // -------------------------------------------------------------------------

    /**
     * Create a detached RoleColumnGrantsRecord
     */
    public RoleColumnGrantsRecord() {
        super(RoleColumnGrants.ROLE_COLUMN_GRANTS);
    }

    /**
     * Create a detached, initialised RoleColumnGrantsRecord
     */
    public RoleColumnGrantsRecord(String grantor, String grantee, String tableCatalog, String tableSchema, String tableName, String columnName, String privilegeType, String isGrantable) {
        super(RoleColumnGrants.ROLE_COLUMN_GRANTS);

        setGrantor(grantor);
        setGrantee(grantee);
        setTableCatalog(tableCatalog);
        setTableSchema(tableSchema);
        setTableName(tableName);
        setColumnName(columnName);
        setPrivilegeType(privilegeType);
        setIsGrantable(isGrantable);
        resetChangedOnNotNull();
    }
}
