diff --git a/jOOQ-test/src/org/jooq/test/oracle/generatedclasses/test/udt/UAuthorType.java b/jOOQ-test/src/org/jooq/test/oracle/generatedclasses/test/udt/UAuthorType.java index 651e5a66b7..cf973bf629 100644 --- a/jOOQ-test/src/org/jooq/test/oracle/generatedclasses/test/udt/UAuthorType.java +++ b/jOOQ-test/src/org/jooq/test/oracle/generatedclasses/test/udt/UAuthorType.java @@ -8,7 +8,7 @@ package org.jooq.test.oracle.generatedclasses.test.udt; */ public class UAuthorType extends org.jooq.impl.UDTImpl implements org.jooq.Package { - private static final long serialVersionUID = -1044218711; + private static final long serialVersionUID = -1614034680; /** * The singleton instance of TEST.U_AUTHOR_TYPE @@ -76,6 +76,44 @@ public class UAuthorType extends org.jooq.impl.UDTImpl getAuthor(java.lang.Number pId) { + org.jooq.test.oracle.generatedclasses.test.udt.u_author_type.GetAuthor f = new org.jooq.test.oracle.generatedclasses.test.udt.u_author_type.GetAuthor(); + f.setPId(pId); + + return f.asField(); + } + + /** + * Get TEST.U_AUTHOR_TYPE.GET_AUTHOR as a field + * + * @param pId + */ + public static org.jooq.Field getAuthor(org.jooq.Field pId) { + org.jooq.test.oracle.generatedclasses.test.udt.u_author_type.GetAuthor f = new org.jooq.test.oracle.generatedclasses.test.udt.u_author_type.GetAuthor(); + f.setPId(pId); + + return f.asField(); + } + /** * Call TEST.U_AUTHOR_TYPE.GET_BOOKS * @@ -107,6 +145,25 @@ public class UAuthorType extends org.jooq.impl.UDTImpl { - private static final long serialVersionUID = -1269981274; + private static final long serialVersionUID = 1373791556; /** @@ -67,6 +67,20 @@ public class UAuthorTypeRecord extends org.jooq.impl.UDTRecordImpl { + + private static final long serialVersionUID = 939162672; + + + /** + * The procedure parameter TEST.U_AUTHOR_TYPE.GET_AUTHOR.RETURN_VALUE + */ + public static final org.jooq.Parameter RETURN_VALUE = createParameter("RETURN_VALUE", org.jooq.test.oracle.generatedclasses.test.udt.UAuthorType.U_AUTHOR_TYPE.getDataType()); + + /** + * The procedure parameter TEST.U_AUTHOR_TYPE.GET_AUTHOR.P_ID + */ + public static final org.jooq.Parameter P_ID = createParameter("P_ID", org.jooq.impl.SQLDataType.NUMERIC); + + /** + * Create a new routine call instance + */ + public GetAuthor() { + super("GET_AUTHOR", org.jooq.test.oracle.generatedclasses.test.Test.TEST, org.jooq.test.oracle.generatedclasses.test.udt.UAuthorType.U_AUTHOR_TYPE, org.jooq.test.oracle.generatedclasses.test.udt.UAuthorType.U_AUTHOR_TYPE.getDataType()); + + setReturnParameter(RETURN_VALUE); + addInParameter(P_ID); + } + + /** + * Set the P_ID parameter IN value to the routine + */ + public void setPId(java.lang.Number value) { + setNumber(org.jooq.test.oracle.generatedclasses.test.udt.u_author_type.GetAuthor.P_ID, value); + } + + /** + * Set the P_ID parameter to the function + *

+ * Use this method only, if the function is called as a {@link org.jooq.Field} in a {@link org.jooq.Select} statement! + */ + public void setPId(org.jooq.Field field) { + setNumber(P_ID, field); + } +} diff --git a/jOOQ-test/src/org/jooq/test/oracle/generatedclasses/test/udt/u_author_type/NewAuthor.java b/jOOQ-test/src/org/jooq/test/oracle/generatedclasses/test/udt/u_author_type/NewAuthor.java new file mode 100644 index 0000000000..f3444ab136 --- /dev/null +++ b/jOOQ-test/src/org/jooq/test/oracle/generatedclasses/test/udt/u_author_type/NewAuthor.java @@ -0,0 +1,73 @@ +/** + * This class is generated by jOOQ + */ +package org.jooq.test.oracle.generatedclasses.test.udt.u_author_type; + +/** + * This class is generated by jOOQ. + */ +public class NewAuthor extends org.jooq.impl.AbstractRoutine { + + private static final long serialVersionUID = 947405937; + + + /** + * The procedure parameter TEST.U_AUTHOR_TYPE.NEW_AUTHOR.P_ID + */ + public static final org.jooq.Parameter P_ID = createParameter("P_ID", org.jooq.impl.SQLDataType.NUMERIC); + + /** + * The procedure parameter TEST.U_AUTHOR_TYPE.NEW_AUTHOR.P_FIRST_NAME + */ + public static final org.jooq.Parameter P_FIRST_NAME = createParameter("P_FIRST_NAME", org.jooq.impl.SQLDataType.VARCHAR); + + /** + * The procedure parameter TEST.U_AUTHOR_TYPE.NEW_AUTHOR.P_LAST_NAME + */ + public static final org.jooq.Parameter P_LAST_NAME = createParameter("P_LAST_NAME", org.jooq.impl.SQLDataType.VARCHAR); + + /** + * The procedure parameter TEST.U_AUTHOR_TYPE.NEW_AUTHOR.P_AUTHOR + */ + public static final org.jooq.Parameter P_AUTHOR = createParameter("P_AUTHOR", org.jooq.test.oracle.generatedclasses.test.udt.UAuthorType.U_AUTHOR_TYPE.getDataType()); + + /** + * Create a new routine call instance + */ + public NewAuthor() { + super("NEW_AUTHOR", org.jooq.test.oracle.generatedclasses.test.Test.TEST, org.jooq.test.oracle.generatedclasses.test.udt.UAuthorType.U_AUTHOR_TYPE); + + addInParameter(P_ID); + addInParameter(P_FIRST_NAME); + addInParameter(P_LAST_NAME); + addOutParameter(P_AUTHOR); + } + + /** + * Set the P_ID parameter IN value to the routine + */ + public void setPId(java.lang.Number value) { + setNumber(org.jooq.test.oracle.generatedclasses.test.udt.u_author_type.NewAuthor.P_ID, value); + } + + /** + * Set the P_FIRST_NAME parameter IN value to the routine + */ + public void setPFirstName(java.lang.String value) { + setValue(org.jooq.test.oracle.generatedclasses.test.udt.u_author_type.NewAuthor.P_FIRST_NAME, value); + } + + /** + * Set the P_LAST_NAME parameter IN value to the routine + */ + public void setPLastName(java.lang.String value) { + setValue(org.jooq.test.oracle.generatedclasses.test.udt.u_author_type.NewAuthor.P_LAST_NAME, value); + } + + /** + * Get the P_AUTHOR parameter OUT value from the routine + */ + public org.jooq.test.oracle.generatedclasses.test.udt.records.UAuthorTypeRecord getPAuthor() { + return getValue(P_AUTHOR); + } +}