/**
 * This class is generated by jOOQ
 */
package pan.auditdb.tables.records;

/**
 * This class is generated by jOOQ.
 */
@javax.annotation.Generated(value    = { "http://www.jooq.org", "3.3.1" },
                            comments = "This class is generated by jOOQ")
@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class AffiliationRecord extends org.jooq.impl.UpdatableRecordImpl<pan.auditdb.tables.records.AffiliationRecord> implements org.jooq.Record7<java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String> {

	private static final long serialVersionUID = 416197956;

	/**
	 * Setter for <code>pandora_audit.affiliation.id</code>.
	 */
	public void setId(java.lang.String value) {
		setValue(0, value);
	}

	/**
	 * Getter for <code>pandora_audit.affiliation.id</code>.
	 */
	public java.lang.String getId() {
		return (java.lang.String) getValue(0);
	}

	/**
	 * Setter for <code>pandora_audit.affiliation.code</code>.
	 */
	public void setCode(java.lang.String value) {
		setValue(1, value);
	}

	/**
	 * Getter for <code>pandora_audit.affiliation.code</code>.
	 */
	public java.lang.String getCode() {
		return (java.lang.String) getValue(1);
	}

	/**
	 * Setter for <code>pandora_audit.affiliation.dept1</code>.
	 */
	public void setDept1(java.lang.String value) {
		setValue(2, value);
	}

	/**
	 * Getter for <code>pandora_audit.affiliation.dept1</code>.
	 */
	public java.lang.String getDept1() {
		return (java.lang.String) getValue(2);
	}

	/**
	 * Setter for <code>pandora_audit.affiliation.dept2</code>.
	 */
	public void setDept2(java.lang.String value) {
		setValue(3, value);
	}

	/**
	 * Getter for <code>pandora_audit.affiliation.dept2</code>.
	 */
	public java.lang.String getDept2() {
		return (java.lang.String) getValue(3);
	}

	/**
	 * Setter for <code>pandora_audit.affiliation.status</code>.
	 */
	public void setStatus(java.lang.String value) {
		setValue(4, value);
	}

	/**
	 * Getter for <code>pandora_audit.affiliation.status</code>.
	 */
	public java.lang.String getStatus() {
		return (java.lang.String) getValue(4);
	}

	/**
	 * Setter for <code>pandora_audit.affiliation.role</code>.
	 */
	public void setRole(java.lang.String value) {
		setValue(5, value);
	}

	/**
	 * Getter for <code>pandora_audit.affiliation.role</code>.
	 */
	public java.lang.String getRole() {
		return (java.lang.String) getValue(5);
	}

	/**
	 * Setter for <code>pandora_audit.affiliation.note</code>.
	 */
	public void setNote(java.lang.String value) {
		setValue(6, value);
	}

	/**
	 * Getter for <code>pandora_audit.affiliation.note</code>.
	 */
	public java.lang.String getNote() {
		return (java.lang.String) getValue(6);
	}

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

	/**
	 * {@inheritDoc}
	 */
	@Override
	public org.jooq.Record1<java.lang.String> key() {
		return (org.jooq.Record1) super.key();
	}

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

	/**
	 * {@inheritDoc}
	 */
	@Override
	public org.jooq.Row7<java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String> fieldsRow() {
		return (org.jooq.Row7) super.fieldsRow();
	}

	/**
	 * {@inheritDoc}
	 */
	@Override
	public org.jooq.Row7<java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String> valuesRow() {
		return (org.jooq.Row7) super.valuesRow();
	}

	/**
	 * {@inheritDoc}
	 */
	@Override
	public org.jooq.Field<java.lang.String> field1() {
		return pan.auditdb.tables.Affiliation.AFFILIATION.ID;
	}

	/**
	 * {@inheritDoc}
	 */
	@Override
	public org.jooq.Field<java.lang.String> field2() {
		return pan.auditdb.tables.Affiliation.AFFILIATION.CODE;
	}

	/**
	 * {@inheritDoc}
	 */
	@Override
	public org.jooq.Field<java.lang.String> field3() {
		return pan.auditdb.tables.Affiliation.AFFILIATION.DEPT1;
	}

	/**
	 * {@inheritDoc}
	 */
	@Override
	public org.jooq.Field<java.lang.String> field4() {
		return pan.auditdb.tables.Affiliation.AFFILIATION.DEPT2;
	}

	/**
	 * {@inheritDoc}
	 */
	@Override
	public org.jooq.Field<java.lang.String> field5() {
		return pan.auditdb.tables.Affiliation.AFFILIATION.STATUS;
	}

	/**
	 * {@inheritDoc}
	 */
	@Override
	public org.jooq.Field<java.lang.String> field6() {
		return pan.auditdb.tables.Affiliation.AFFILIATION.ROLE;
	}

	/**
	 * {@inheritDoc}
	 */
	@Override
	public org.jooq.Field<java.lang.String> field7() {
		return pan.auditdb.tables.Affiliation.AFFILIATION.NOTE;
	}

	/**
	 * {@inheritDoc}
	 */
	@Override
	public java.lang.String value1() {
		return getId();
	}

	/**
	 * {@inheritDoc}
	 */
	@Override
	public java.lang.String value2() {
		return getCode();
	}

	/**
	 * {@inheritDoc}
	 */
	@Override
	public java.lang.String value3() {
		return getDept1();
	}

	/**
	 * {@inheritDoc}
	 */
	@Override
	public java.lang.String value4() {
		return getDept2();
	}

	/**
	 * {@inheritDoc}
	 */
	@Override
	public java.lang.String value5() {
		return getStatus();
	}

	/**
	 * {@inheritDoc}
	 */
	@Override
	public java.lang.String value6() {
		return getRole();
	}

	/**
	 * {@inheritDoc}
	 */
	@Override
	public java.lang.String value7() {
		return getNote();
	}

	/**
	 * {@inheritDoc}
	 */
	@Override
	public AffiliationRecord value1(java.lang.String value) {
		setId(value);
		return this;
	}

	/**
	 * {@inheritDoc}
	 */
	@Override
	public AffiliationRecord value2(java.lang.String value) {
		setCode(value);
		return this;
	}

	/**
	 * {@inheritDoc}
	 */
	@Override
	public AffiliationRecord value3(java.lang.String value) {
		setDept1(value);
		return this;
	}

	/**
	 * {@inheritDoc}
	 */
	@Override
	public AffiliationRecord value4(java.lang.String value) {
		setDept2(value);
		return this;
	}

	/**
	 * {@inheritDoc}
	 */
	@Override
	public AffiliationRecord value5(java.lang.String value) {
		setStatus(value);
		return this;
	}

	/**
	 * {@inheritDoc}
	 */
	@Override
	public AffiliationRecord value6(java.lang.String value) {
		setRole(value);
		return this;
	}

	/**
	 * {@inheritDoc}
	 */
	@Override
	public AffiliationRecord value7(java.lang.String value) {
		setNote(value);
		return this;
	}

	/**
	 * {@inheritDoc}
	 */
	@Override
	public AffiliationRecord values(java.lang.String value1, java.lang.String value2, java.lang.String value3, java.lang.String value4, java.lang.String value5, java.lang.String value6, java.lang.String value7) {
		return this;
	}

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

	/**
	 * Create a detached AffiliationRecord
	 */
	public AffiliationRecord() {
		super(pan.auditdb.tables.Affiliation.AFFILIATION);
	}

	/**
	 * Create a detached, initialised AffiliationRecord
	 */
	public AffiliationRecord(java.lang.String id, java.lang.String code, java.lang.String dept1, java.lang.String dept2, java.lang.String status, java.lang.String role, java.lang.String note) {
		super(pan.auditdb.tables.Affiliation.AFFILIATION);

		setValue(0, id);
		setValue(1, code);
		setValue(2, dept1);
		setValue(3, dept2);
		setValue(4, status);
		setValue(5, role);
		setValue(6, note);
	}
}
