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

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

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


import javax.annotation.Generated;

import keywhiz.jooq.tables.Groups;

import org.jooq.Field;
import org.jooq.Record1;
import org.jooq.Record7;
import org.jooq.Row7;
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 GroupsRecord extends UpdatableRecordImpl implements Record7 {

	private static final long serialVersionUID = 412997423;

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

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

	/**
	 * Setter for public.groups.name.
	 */
	public void setName(String value) {
		setValue(1, value);
	}

	/**
	 * Getter for public.groups.name.
	 */
	public String getName() {
		return (String) getValue(1);
	}

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

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

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

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

	/**
	 * Setter for public.groups.description.
	 */
	public void setDescription(String value) {
		setValue(4, value);
	}

	/**
	 * Getter for public.groups.description.
	 */
	public String getDescription() {
		return (String) getValue(4);
	}

	/**
	 * Setter for public.groups.createdby.
	 */
	public void setCreatedby(String value) {
		setValue(5, value);
	}

	/**
	 * Getter for public.groups.createdby.
	 */
	public String getCreatedby() {
		return (String) getValue(5);
	}

	/**
	 * Setter for public.groups.updatedby.
	 */
	public void setUpdatedby(String value) {
		setValue(6, value);
	}

	/**
	 * Getter for public.groups.updatedby.
	 */
	public String getUpdatedby() {
		return (String) getValue(6);
	}

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

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

	// -------------------------------------------------------------------------
	// Record7 type implementation
	// -------------------------------------------------------------------------

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

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

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

	/**
	 * {@inheritDoc}
	 */
	@Override
	public Field field2() {
		return Groups.GROUPS.NAME;
	}

	/**
	 * {@inheritDoc}
	 */
	@Override
	public Field field3() {
		return Groups.GROUPS.CREATEDAT;
	}

	/**
	 * {@inheritDoc}
	 */
	@Override
	public Field field4() {
		return Groups.GROUPS.UPDATEDAT;
	}

	/**
	 * {@inheritDoc}
	 */
	@Override
	public Field field5() {
		return Groups.GROUPS.DESCRIPTION;
	}

	/**
	 * {@inheritDoc}
	 */
	@Override
	public Field field6() {
		return Groups.GROUPS.CREATEDBY;
	}

	/**
	 * {@inheritDoc}
	 */
	@Override
	public Field field7() {
		return Groups.GROUPS.UPDATEDBY;
	}

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

	/**
	 * {@inheritDoc}
	 */
	@Override
	public String value2() {
		return getName();
	}

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

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

	/**
	 * {@inheritDoc}
	 */
	@Override
	public String value5() {
		return getDescription();
	}

	/**
	 * {@inheritDoc}
	 */
	@Override
	public String value6() {
		return getCreatedby();
	}

	/**
	 * {@inheritDoc}
	 */
	@Override
	public String value7() {
		return getUpdatedby();
	}

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

	/**
	 * {@inheritDoc}
	 */
	@Override
	public GroupsRecord value2(String value) {
		setName(value);
		return this;
	}

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

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

	/**
	 * {@inheritDoc}
	 */
	@Override
	public GroupsRecord value5(String value) {
		setDescription(value);
		return this;
	}

	/**
	 * {@inheritDoc}
	 */
	@Override
	public GroupsRecord value6(String value) {
		setCreatedby(value);
		return this;
	}

	/**
	 * {@inheritDoc}
	 */
	@Override
	public GroupsRecord value7(String value) {
		setUpdatedby(value);
		return this;
	}

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

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

	/**
	 * Create a detached GroupsRecord
	 */
	public GroupsRecord() {
		super(Groups.GROUPS);
	}

	/**
	 * Create a detached, initialised GroupsRecord
	 */
	public GroupsRecord(Long id, String name, Long createdat, Long updatedat, String description, String createdby, String updatedby) {
		super(Groups.GROUPS);

		setValue(0, id);
		setValue(1, name);
		setValue(2, createdat);
		setValue(3, updatedat);
		setValue(4, description);
		setValue(5, createdby);
		setValue(6, updatedby);
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy