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

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

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


import javax.annotation.Generated;

import keywhiz.jooq.tables.Memberships;

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 MembershipsRecord extends UpdatableRecordImpl implements Record5 {

	private static final long serialVersionUID = -430172293;

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

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

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

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

	/**
	 * Setter for public.memberships.clientid.
	 */
	public void setClientid(Long value) {
		setValue(2, value);
	}

	/**
	 * Getter for public.memberships.clientid.
	 */
	public Long getClientid() {
		return (Long) getValue(2);
	}

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

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

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

	/**
	 * Getter for public.memberships.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 Memberships.MEMBERSHIPS.ID;
	}

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

	/**
	 * {@inheritDoc}
	 */
	@Override
	public Field field3() {
		return Memberships.MEMBERSHIPS.CLIENTID;
	}

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

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

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

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

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

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

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

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

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

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

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

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

	/**
	 * {@inheritDoc}
	 */
	@Override
	public MembershipsRecord 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 MembershipsRecord
	 */
	public MembershipsRecord() {
		super(Memberships.MEMBERSHIPS);
	}

	/**
	 * Create a detached, initialised MembershipsRecord
	 */
	public MembershipsRecord(Long id, Long groupid, Long clientid, Long createdat, Long updatedat) {
		super(Memberships.MEMBERSHIPS);

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy