/** * This class is generated by jOOQ */ package classes.routines; import classes.Public; import javax.annotation.Generated; import org.jooq.Field; import org.jooq.Parameter; import org.jooq.impl.AbstractRoutine; /** * 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 AddProductAmount extends AbstractRoutine { private static final long serialVersionUID = 1429669246; /** * The parameter public.add_product_amount.RETURN_VALUE. */ public static final Parameter RETURN_VALUE = createParameter("RETURN_VALUE", org.jooq.impl.SQLDataType.INTEGER, false, false); /** * The parameter public.add_product_amount.pr_id. */ public static final Parameter PR_ID = createParameter("pr_id", org.jooq.impl.SQLDataType.INTEGER, false, false); /** * The parameter public.add_product_amount.sh_id. */ public static final Parameter SH_ID = createParameter("sh_id", org.jooq.impl.SQLDataType.INTEGER, false, false); /** * The parameter public.add_product_amount.amount. */ public static final Parameter AMOUNT = createParameter("amount", org.jooq.impl.SQLDataType.INTEGER, false, false); /** * Create a new routine call instance */ public AddProductAmount() { super("add_product_amount", Public.PUBLIC, org.jooq.impl.SQLDataType.INTEGER); setReturnParameter(RETURN_VALUE); addInParameter(PR_ID); addInParameter(SH_ID); addInParameter(AMOUNT); } /** * Set the pr_id parameter IN value to the routine */ public void setPrId(Integer value) { setValue(PR_ID, value); } /** * Set the pr_id parameter to the function to be used with a {@link org.jooq.Select} statement */ public void setPrId(Field field) { setField(PR_ID, field); } /** * Set the sh_id parameter IN value to the routine */ public void setShId(Integer value) { setValue(SH_ID, value); } /** * Set the sh_id parameter to the function to be used with a {@link org.jooq.Select} statement */ public void setShId(Field field) { setField(SH_ID, field); } /** * Set the amount parameter IN value to the routine */ public void setAmount(Integer value) { setValue(AMOUNT, value); } /** * Set the amount parameter to the function to be used with a {@link org.jooq.Select} statement */ public void setAmount(Field field) { setField(AMOUNT, field); } }