All Downloads are FREE. Search and download functionalities are using the official Maven repository.

keywhiz.jooq.tables.records.AccessgrantsRecord Maven / Gradle / Ivy

/**
 * This class is generated by jOOQ
 */
package keywhiz.jooq.tables.records;


import javax.annotation.Generated;

import keywhiz.jooq.tables.Accessgrants;

import org.jooq.Field;
import org.jooq.Record1;
import org.jooq.Record5;
import org.jooq.Row5;
import org.jooq.impl.UpdatableRecordImpl;


/**
 * This class is generated by jOOQ.
 */
@Generated(
	value = {
		"http://www.jooq.org",
		"jOOQ version:3.6.2"
	},
	comments = "This class is generated by jOOQ"
)
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class AccessgrantsRecord extends UpdatableRecordImpl implements Record5 {

	private static final long serialVersionUID = -758573390;

	/**
	 * Setter for public.accessgrants.id.
	 */
	public void setId(Long value) {
		setValue(0, value);
	}

	/**
	 * Getter for public.accessgrants.id.
	 */
	public Long getId() {
		return (Long) getValue(0);
	}

	/**
	 * Setter for public.accessgrants.groupid.
	 */
	public void setGroupid(Long value) {
		setValue(1, value);
	}

	/**
	 * Getter for public.accessgrants.groupid.
	 */
	public Long getGroupid() {
		return (Long) getValue(1);
	}

	/**
	 * Setter for public.accessgrants.secretid.
	 */
	public void setSecretid(Long value) {
		setValue(2, value);
	}

	/**
	 * Getter for public.accessgrants.secretid.
	 */
	public Long getSecretid() {
		return (Long) getValue(2);
	}

	/**
	 * Setter for public.accessgrants.createdat.
	 */
	public void setCreatedat(Long value) {
		setValue(3, value);
	}

	/**
	 * Getter for public.accessgrants.createdat.
	 */
	public Long getCreatedat() {
		return (Long) getValue(3);
	}

	/**
	 * Setter for public.accessgrants.updatedat.
	 */
	public void setUpdatedat(Long value) {
		setValue(4, value);
	}

	/**
	 * Getter for public.accessgrants.updatedat.
	 */
	public Long getUpdatedat() {
		return (Long) getValue(4);
	}

	// -------------------------------------------------------------------------
	// Primary key information
	// -------------------------------------------------------------------------

	/**
	 * {@inheritDoc}
	 */
	@Override
	public Record1 key() {
		return (Record1) super.key();
	}

	// -------------------------------------------------------------------------
	// Record5 type implementation
	// -------------------------------------------------------------------------

	/**
	 * {@inheritDoc}
	 */
	@Override
	public Row5 fieldsRow() {
		return (Row5) super.fieldsRow();
	}

	/**
	 * {@inheritDoc}
	 */
	@Override
	public Row5 valuesRow() {
		return (Row5) super.valuesRow();
	}

	/**
	 * {@inheritDoc}
	 */
	@Override
	public Field field1() {
		return Accessgrants.ACCESSGRANTS.ID;
	}

	/**
	 * {@inheritDoc}
	 */
	@Override
	public Field field2() {
		return Accessgrants.ACCESSGRANTS.GROUPID;
	}

	/**
	 * {@inheritDoc}
	 */
	@Override
	public Field field3() {
		return Accessgrants.ACCESSGRANTS.SECRETID;
	}

	/**
	 * {@inheritDoc}
	 */
	@Override
	public Field field4() {
		return Accessgrants.ACCESSGRANTS.CREATEDAT;
	}

	/**
	 * {@inheritDoc}
	 */
	@Override
	public Field field5() {
		return Accessgrants.ACCESSGRANTS.UPDATEDAT;
	}

	/**
	 * {@inheritDoc}
	 */
	@Override
	public Long value1() {
		return getId();
	}

	/**
	 * {@inheritDoc}
	 */
	@Override
	public Long value2() {
		return getGroupid();
	}

	/**
	 * {@inheritDoc}
	 */
	@Override
	public Long value3() {
		return getSecretid();
	}

	/**
	 * {@inheritDoc}
	 */
	@Override
	public Long value4() {
		return getCreatedat();
	}

	/**
	 * {@inheritDoc}
	 */
	@Override
	public Long value5() {
		return getUpdatedat();
	}

	/**
	 * {@inheritDoc}
	 */
	@Override
	public AccessgrantsRecord value1(Long value) {
		setId(value);
		return this;
	}

	/**
	 * {@inheritDoc}
	 */
	@Override
	public AccessgrantsRecord value2(Long value) {
		setGroupid(value);
		return this;
	}

	/**
	 * {@inheritDoc}
	 */
	@Override
	public AccessgrantsRecord value3(Long value) {
		setSecretid(value);
		return this;
	}

	/**
	 * {@inheritDoc}
	 */
	@Override
	public AccessgrantsRecord value4(Long value) {
		setCreatedat(value);
		return this;
	}

	/**
	 * {@inheritDoc}
	 */
	@Override
	public AccessgrantsRecord value5(Long value) {
		setUpdatedat(value);
		return this;
	}

	/**
	 * {@inheritDoc}
	 */
	@Override
	public AccessgrantsRecord values(Long value1, Long value2, Long value3, Long value4, Long value5) {
		value1(value1);
		value2(value2);
		value3(value3);
		value4(value4);
		value5(value5);
		return this;
	}

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

	/**
	 * Create a detached AccessgrantsRecord
	 */
	public AccessgrantsRecord() {
		super(Accessgrants.ACCESSGRANTS);
	}

	/**
	 * Create a detached, initialised AccessgrantsRecord
	 */
	public AccessgrantsRecord(Long id, Long groupid, Long secretid, Long createdat, Long updatedat) {
		super(Accessgrants.ACCESSGRANTS);

		setValue(0, id);
		setValue(1, groupid);
		setValue(2, secretid);
		setValue(3, createdat);
		setValue(4, updatedat);
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy