/*
 * 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.RoutinePrivileges;

import org.jooq.impl.TableRecordImpl;


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

    private static final long serialVersionUID = 1L;

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

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

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

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

    /**
     * Setter for
     * <code>information_schema.routine_privileges.specific_catalog</code>.
     */
    public void setSpecificCatalog(String value) {
        set(2, value);
    }

    /**
     * Getter for
     * <code>information_schema.routine_privileges.specific_catalog</code>.
     */
    public String getSpecificCatalog() {
        return (String) get(2);
    }

    /**
     * Setter for
     * <code>information_schema.routine_privileges.specific_schema</code>.
     */
    public void setSpecificSchema(String value) {
        set(3, value);
    }

    /**
     * Getter for
     * <code>information_schema.routine_privileges.specific_schema</code>.
     */
    public String getSpecificSchema() {
        return (String) get(3);
    }

    /**
     * Setter for
     * <code>information_schema.routine_privileges.specific_name</code>.
     */
    public void setSpecificName(String value) {
        set(4, value);
    }

    /**
     * Getter for
     * <code>information_schema.routine_privileges.specific_name</code>.
     */
    public String getSpecificName() {
        return (String) get(4);
    }

    /**
     * Setter for
     * <code>information_schema.routine_privileges.routine_catalog</code>.
     */
    public void setRoutineCatalog(String value) {
        set(5, value);
    }

    /**
     * Getter for
     * <code>information_schema.routine_privileges.routine_catalog</code>.
     */
    public String getRoutineCatalog() {
        return (String) get(5);
    }

    /**
     * Setter for
     * <code>information_schema.routine_privileges.routine_schema</code>.
     */
    public void setRoutineSchema(String value) {
        set(6, value);
    }

    /**
     * Getter for
     * <code>information_schema.routine_privileges.routine_schema</code>.
     */
    public String getRoutineSchema() {
        return (String) get(6);
    }

    /**
     * Setter for
     * <code>information_schema.routine_privileges.routine_name</code>.
     */
    public void setRoutineName(String value) {
        set(7, value);
    }

    /**
     * Getter for
     * <code>information_schema.routine_privileges.routine_name</code>.
     */
    public String getRoutineName() {
        return (String) get(7);
    }

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

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

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

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

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

    /**
     * Create a detached RoutinePrivilegesRecord
     */
    public RoutinePrivilegesRecord() {
        super(RoutinePrivileges.ROUTINE_PRIVILEGES);
    }

    /**
     * Create a detached, initialised RoutinePrivilegesRecord
     */
    public RoutinePrivilegesRecord(String grantor, String grantee, String specificCatalog, String specificSchema, String specificName, String routineCatalog, String routineSchema, String routineName, String privilegeType, String isGrantable) {
        super(RoutinePrivileges.ROUTINE_PRIVILEGES);

        setGrantor(grantor);
        setGrantee(grantee);
        setSpecificCatalog(specificCatalog);
        setSpecificSchema(specificSchema);
        setSpecificName(specificName);
        setRoutineCatalog(routineCatalog);
        setRoutineSchema(routineSchema);
        setRoutineName(routineName);
        setPrivilegeType(privilegeType);
        setIsGrantable(isGrantable);
        resetChangedOnNotNull();
    }
}
