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


import ervu_secret.ervu_secret.db_beans.pg_catalog.tables.Aclexplode;

import org.jooq.impl.TableRecordImpl;


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

    private static final long serialVersionUID = 1L;

    /**
     * Setter for <code>pg_catalog.aclexplode.grantor</code>.
     */
    public void setGrantor(Long value) {
        set(0, value);
    }

    /**
     * Getter for <code>pg_catalog.aclexplode.grantor</code>.
     */
    public Long getGrantor() {
        return (Long) get(0);
    }

    /**
     * Setter for <code>pg_catalog.aclexplode.grantee</code>.
     */
    public void setGrantee(Long value) {
        set(1, value);
    }

    /**
     * Getter for <code>pg_catalog.aclexplode.grantee</code>.
     */
    public Long getGrantee() {
        return (Long) get(1);
    }

    /**
     * Setter for <code>pg_catalog.aclexplode.privilege_type</code>.
     */
    public void setPrivilegeType(String value) {
        set(2, value);
    }

    /**
     * Getter for <code>pg_catalog.aclexplode.privilege_type</code>.
     */
    public String getPrivilegeType() {
        return (String) get(2);
    }

    /**
     * Setter for <code>pg_catalog.aclexplode.is_grantable</code>.
     */
    public void setIsGrantable(Boolean value) {
        set(3, value);
    }

    /**
     * Getter for <code>pg_catalog.aclexplode.is_grantable</code>.
     */
    public Boolean getIsGrantable() {
        return (Boolean) get(3);
    }

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

    /**
     * Create a detached AclexplodeRecord
     */
    public AclexplodeRecord() {
        super(Aclexplode.ACLEXPLODE);
    }

    /**
     * Create a detached, initialised AclexplodeRecord
     */
    public AclexplodeRecord(Long grantor, Long grantee, String privilegeType, Boolean isGrantable) {
        super(Aclexplode.ACLEXPLODE);

        setGrantor(grantor);
        setGrantee(grantee);
        setPrivilegeType(privilegeType);
        setIsGrantable(isGrantable);
        resetChangedOnNotNull();
    }
}
