/** * 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 AddProduct2 extends AbstractRoutine { private static final long serialVersionUID = 1940760613; /** * The parameter public.add_product.RETURN_VALUE. */ public static final Parameter RETURN_VALUE = createParameter("RETURN_VALUE", org.jooq.impl.SQLDataType.INTEGER, false, false); /** * The parameter public.add_product.name. */ public static final Parameter NAME = createParameter("name", org.jooq.impl.SQLDataType.CLOB, false, false); /** * The parameter public.add_product.type_id. */ public static final Parameter TYPE_ID = createParameter("type_id", org.jooq.impl.SQLDataType.INTEGER, false, false); /** * Create a new routine call instance */ public AddProduct2() { super("add_product", Public.PUBLIC, org.jooq.impl.SQLDataType.INTEGER); setReturnParameter(RETURN_VALUE); addInParameter(NAME); addInParameter(TYPE_ID); setOverloaded(true); } /** * Set the name parameter IN value to the routine */ public void setName_(String value) { setValue(NAME, value); } /** * Set the name parameter to the function to be used with a {@link org.jooq.Select} statement */ public void setName_(Field field) { setField(NAME, field); } /** * Set the type_id parameter IN value to the routine */ public void setTypeId(Integer value) { setValue(TYPE_ID, value); } /** * Set the type_id parameter to the function to be used with a {@link org.jooq.Select} statement */ public void setTypeId(Field field) { setField(TYPE_ID, field); } }