/** * This class is generated by jOOQ */ package classes.routines; import classes.Public; import java.sql.Date; import javax.annotation.Generated; 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 AddPerson extends AbstractRoutine { private static final long serialVersionUID = 938891496; /** * The parameter public.add_person.last_name. */ public static final Parameter LAST_NAME = createParameter("last_name", org.jooq.impl.SQLDataType.CLOB, false, false); /** * The parameter public.add_person.first_name. */ public static final Parameter FIRST_NAME = createParameter("first_name", org.jooq.impl.SQLDataType.CLOB, false, false); /** * The parameter public.add_person.second_name. */ public static final Parameter SECOND_NAME = createParameter("second_name", org.jooq.impl.SQLDataType.CLOB, false, false); /** * The parameter public.add_person.date_of_birth. */ public static final Parameter DATE_OF_BIRTH = createParameter("date_of_birth", org.jooq.impl.SQLDataType.DATE, false, false); /** * The parameter public.add_person.sex. */ public static final Parameter SEX = createParameter("sex", org.jooq.impl.SQLDataType.CHAR, false, false); /** * The parameter public.add_person.place_of_birth. */ public static final Parameter PLACE_OF_BIRTH = createParameter("place_of_birth", org.jooq.impl.SQLDataType.CLOB, false, false); /** * The parameter public.add_person.address. */ public static final Parameter ADDRESS = createParameter("address", org.jooq.impl.SQLDataType.CLOB, false, false); /** * The parameter public.add_person.phone. */ public static final Parameter PHONE = createParameter("phone", org.jooq.impl.SQLDataType.CLOB, false, false); /** * The parameter public.add_person.photo. */ public static final Parameter PHOTO = createParameter("photo", org.jooq.impl.SQLDataType.BLOB, false, false); /** * The parameter public.add_person.passport_serial. */ public static final Parameter PASSPORT_SERIAL = createParameter("passport_serial", org.jooq.impl.SQLDataType.INTEGER, false, false); /** * The parameter public.add_person.passport_id. */ public static final Parameter PASSPORT_ID = createParameter("passport_id", org.jooq.impl.SQLDataType.INTEGER, false, false); /** * The parameter public.add_person.timetable. */ public static final Parameter TIMETABLE = createParameter("timetable", org.jooq.impl.SQLDataType.CHAR.getArrayDataType(), false, false); /** * The parameter public.add_person.position_name. */ public static final Parameter POSITION_NAME = createParameter("position_name", org.jooq.impl.SQLDataType.CLOB, false, false); /** * The parameter public.add_person.person_id. */ public static final Parameter PERSON_ID = createParameter("person_id", org.jooq.impl.SQLDataType.INTEGER, false, false); /** * The parameter public.add_person.sched_id. */ public static final Parameter SCHED_ID = createParameter("sched_id", org.jooq.impl.SQLDataType.INTEGER, false, false); /** * Create a new routine call instance */ public AddPerson() { super("add_person", Public.PUBLIC); addInParameter(LAST_NAME); addInParameter(FIRST_NAME); addInParameter(SECOND_NAME); addInParameter(DATE_OF_BIRTH); addInParameter(SEX); addInParameter(PLACE_OF_BIRTH); addInParameter(ADDRESS); addInParameter(PHONE); addInParameter(PHOTO); addInParameter(PASSPORT_SERIAL); addInParameter(PASSPORT_ID); addInParameter(TIMETABLE); addInParameter(POSITION_NAME); addOutParameter(PERSON_ID); addOutParameter(SCHED_ID); } /** * Set the last_name parameter IN value to the routine */ public void setLastName(String value) { setValue(LAST_NAME, value); } /** * Set the first_name parameter IN value to the routine */ public void setFirstName(String value) { setValue(FIRST_NAME, value); } /** * Set the second_name parameter IN value to the routine */ public void setSecondName(String value) { setValue(SECOND_NAME, value); } /** * Set the date_of_birth parameter IN value to the routine */ public void setDateOfBirth(Date value) { setValue(DATE_OF_BIRTH, value); } /** * Set the sex parameter IN value to the routine */ public void setSex(String value) { setValue(SEX, value); } /** * Set the place_of_birth parameter IN value to the routine */ public void setPlaceOfBirth(String value) { setValue(PLACE_OF_BIRTH, value); } /** * Set the address parameter IN value to the routine */ public void setAddress(String value) { setValue(ADDRESS, value); } /** * Set the phone parameter IN value to the routine */ public void setPhone(String value) { setValue(PHONE, value); } /** * Set the photo parameter IN value to the routine */ public void setPhoto(byte[] value) { setValue(PHOTO, value); } /** * Set the passport_serial parameter IN value to the routine */ public void setPassportSerial(Integer value) { setValue(PASSPORT_SERIAL, value); } /** * Set the passport_id parameter IN value to the routine */ public void setPassportId(Integer value) { setValue(PASSPORT_ID, value); } /** * Set the timetable parameter IN value to the routine */ public void setTimetable(String[] value) { setValue(TIMETABLE, value); } /** * Set the position_name parameter IN value to the routine */ public void setPositionName(String value) { setValue(POSITION_NAME, value); } /** * Get the person_id parameter OUT value from the routine */ public Integer getPersonId() { return get(PERSON_ID); } /** * Get the sched_id parameter OUT value from the routine */ public Integer getSchedId() { return get(SCHED_ID); } }