/** * This class is generated by jOOQ */ package classes.tables.records; import classes.tables.PositionSalary; import java.math.BigDecimal; import javax.annotation.Generated; import org.jooq.Field; import org.jooq.Record2; import org.jooq.Record3; import org.jooq.Row3; import org.jooq.impl.UpdatableRecordImpl; /** * This class is generated by jOOQ. */ @Generated( value = { "http://www.jooq.org", "jOOQ version:3.8.6" }, comments = "This class is generated by jOOQ" ) @SuppressWarnings({ "all", "unchecked", "rawtypes" }) public class PositionSalaryRecord extends UpdatableRecordImpl implements Record3 { private static final long serialVersionUID = -805440289; /** * Setter for public.position_salary.position_id. */ public void setPositionId(Integer value) { set(0, value); } /** * Getter for public.position_salary.position_id. */ public Integer getPositionId() { return (Integer) get(0); } /** * Setter for public.position_salary.shop_id. */ public void setShopId(Integer value) { set(1, value); } /** * Getter for public.position_salary.shop_id. */ public Integer getShopId() { return (Integer) get(1); } /** * Setter for public.position_salary.salary. */ public void setSalary(BigDecimal value) { set(2, value); } /** * Getter for public.position_salary.salary. */ public BigDecimal getSalary() { return (BigDecimal) get(2); } // ------------------------------------------------------------------------- // Primary key information // ------------------------------------------------------------------------- /** * {@inheritDoc} */ @Override public Record2 key() { return (Record2) super.key(); } // ------------------------------------------------------------------------- // Record3 type implementation // ------------------------------------------------------------------------- /** * {@inheritDoc} */ @Override public Row3 fieldsRow() { return (Row3) super.fieldsRow(); } /** * {@inheritDoc} */ @Override public Row3 valuesRow() { return (Row3) super.valuesRow(); } /** * {@inheritDoc} */ @Override public Field field1() { return PositionSalary.POSITION_SALARY.POSITION_ID; } /** * {@inheritDoc} */ @Override public Field field2() { return PositionSalary.POSITION_SALARY.SHOP_ID; } /** * {@inheritDoc} */ @Override public Field field3() { return PositionSalary.POSITION_SALARY.SALARY; } /** * {@inheritDoc} */ @Override public Integer value1() { return getPositionId(); } /** * {@inheritDoc} */ @Override public Integer value2() { return getShopId(); } /** * {@inheritDoc} */ @Override public BigDecimal value3() { return getSalary(); } /** * {@inheritDoc} */ @Override public PositionSalaryRecord value1(Integer value) { setPositionId(value); return this; } /** * {@inheritDoc} */ @Override public PositionSalaryRecord value2(Integer value) { setShopId(value); return this; } /** * {@inheritDoc} */ @Override public PositionSalaryRecord value3(BigDecimal value) { setSalary(value); return this; } /** * {@inheritDoc} */ @Override public PositionSalaryRecord values(Integer value1, Integer value2, BigDecimal value3) { value1(value1); value2(value2); value3(value3); return this; } // ------------------------------------------------------------------------- // Constructors // ------------------------------------------------------------------------- /** * Create a detached PositionSalaryRecord */ public PositionSalaryRecord() { super(PositionSalary.POSITION_SALARY); } /** * Create a detached, initialised PositionSalaryRecord */ public PositionSalaryRecord(Integer positionId, Integer shopId, BigDecimal salary) { super(PositionSalary.POSITION_SALARY); set(0, positionId); set(1, shopId); set(2, salary); } }