/**
* This class is generated by jOOQ
*/
package org.jooq.example.chart.db.routines;
import javax.annotation.Generated;
import org.jooq.Field;
import org.jooq.Parameter;
import org.jooq.example.chart.db.Public;
import org.jooq.impl.AbstractRoutine;
/**
* This class is generated by jOOQ.
*/
@Generated(
value = {
"http://www.jooq.org",
"jOOQ version:3.8.0",
"schema version:public_2",
},
date = "2016-06-30T15:44:15.143Z",
comments = "This class is generated by jOOQ"
)
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class InventoryInStock extends AbstractRoutine<Boolean> {
private static final long serialVersionUID = 273995747;
/**
* The parameter <code>public.inventory_in_stock.RETURN_VALUE</code>.
*/
public static final Parameter<Boolean> RETURN_VALUE = createParameter("RETURN_VALUE", org.jooq.impl.SQLDataType.BOOLEAN, false, false);
/**
* The parameter <code>public.inventory_in_stock.p_inventory_id</code>.
*/
public static final Parameter<Integer> P_INVENTORY_ID = createParameter("p_inventory_id", org.jooq.impl.SQLDataType.INTEGER, false, false);
/**
* Create a new routine call instance
*/
public InventoryInStock() {
super("inventory_in_stock", Public.PUBLIC, org.jooq.impl.SQLDataType.BOOLEAN);
setReturnParameter(RETURN_VALUE);
addInParameter(P_INVENTORY_ID);
}
/**
* Set the <code>p_inventory_id</code> parameter IN value to the routine
*/
public void setPInventoryId(Integer value) {
setValue(P_INVENTORY_ID, value);
}
/**
* Set the <code>p_inventory_id</code> parameter to the function to be used with a {@link org.jooq.Select} statement
*/
public void setPInventoryId(Field<Integer> field) {
setField(P_INVENTORY_ID, field);
}
}