Skip to content

Commit

Permalink
[#5] Re-generated code
Browse files Browse the repository at this point in the history
  • Loading branch information
datageekery-ci committed Jan 13, 2024
1 parent 50ea603 commit cf744c5
Show file tree
Hide file tree
Showing 34 changed files with 142 additions and 142 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,34 +40,34 @@ open class GetCustomerBalance : AbstractRoutine<BigDecimal>("get_customer_balanc
}

init {
returnParameter = RETURN_VALUE
addInParameter(P_CUSTOMER_ID)
addInParameter(P_EFFECTIVE_DATE)
returnParameter = GetCustomerBalance.RETURN_VALUE
addInParameter(GetCustomerBalance.P_CUSTOMER_ID)
addInParameter(GetCustomerBalance.P_EFFECTIVE_DATE)
}

/**
* Set the <code>p_customer_id</code> parameter IN value to the routine
*/
fun setPCustomerId(value: Long?): Unit = setValue(P_CUSTOMER_ID, value)
fun setPCustomerId(value: Long?): Unit = setValue(GetCustomerBalance.P_CUSTOMER_ID, value)

/**
* Set the <code>p_customer_id</code> parameter to the function to be used
* with a {@link org.jooq.Select} statement
*/
fun setPCustomerId(field: Field<Long?>): Unit {
setField(P_CUSTOMER_ID, field)
setField(GetCustomerBalance.P_CUSTOMER_ID, field)
}

/**
* Set the <code>p_effective_date</code> parameter IN value to the routine
*/
fun setPEffectiveDate(value: LocalDateTime?): Unit = setValue(P_EFFECTIVE_DATE, value)
fun setPEffectiveDate(value: LocalDateTime?): Unit = setValue(GetCustomerBalance.P_EFFECTIVE_DATE, value)

/**
* Set the <code>p_effective_date</code> parameter to the function to be
* used with a {@link org.jooq.Select} statement
*/
fun setPEffectiveDate(field: Field<LocalDateTime?>): Unit {
setField(P_EFFECTIVE_DATE, field)
setField(GetCustomerBalance.P_EFFECTIVE_DATE, field)
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,20 +31,20 @@ open class GroupConcat : AbstractRoutine<String>("group_concat", Public.PUBLIC,
}

init {
returnParameter = RETURN_VALUE
addInParameter(_1)
returnParameter = GroupConcat.RETURN_VALUE
addInParameter(GroupConcat._1)
}

/**
* Set the <code>_1</code> parameter IN value to the routine
*/
fun set__1(value: String?): Unit = setValue(_1, value)
fun set__1(value: String?): Unit = setValue(GroupConcat._1, value)

/**
* Set the <code>_1</code> parameter to the function to be used with a
* {@link org.jooq.Select} statement
*/
fun set__1(field: Field<String?>): Unit {
setField(_1, field)
setField(GroupConcat._1, field)
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -33,20 +33,20 @@ open class InventoryHeldByCustomer : AbstractRoutine<Int>("inventory_held_by_cus
}

init {
returnParameter = RETURN_VALUE
addInParameter(P_INVENTORY_ID)
returnParameter = InventoryHeldByCustomer.RETURN_VALUE
addInParameter(InventoryHeldByCustomer.P_INVENTORY_ID)
}

/**
* Set the <code>p_inventory_id</code> parameter IN value to the routine
*/
fun setPInventoryId(value: Long?): Unit = setValue(P_INVENTORY_ID, value)
fun setPInventoryId(value: Long?): Unit = setValue(InventoryHeldByCustomer.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
*/
fun setPInventoryId(field: Field<Long?>): Unit {
setField(P_INVENTORY_ID, field)
setField(InventoryHeldByCustomer.P_INVENTORY_ID, field)
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,20 +31,20 @@ open class InventoryInStock : AbstractRoutine<Boolean>("inventory_in_stock", Pub
}

init {
returnParameter = RETURN_VALUE
addInParameter(P_INVENTORY_ID)
returnParameter = InventoryInStock.RETURN_VALUE
addInParameter(InventoryInStock.P_INVENTORY_ID)
}

/**
* Set the <code>p_inventory_id</code> parameter IN value to the routine
*/
fun setPInventoryId(value: Long?): Unit = setValue(P_INVENTORY_ID, value)
fun setPInventoryId(value: Long?): Unit = setValue(InventoryInStock.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
*/
fun setPInventoryId(field: Field<Long?>): Unit {
setField(P_INVENTORY_ID, field)
setField(InventoryInStock.P_INVENTORY_ID, field)
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -34,20 +34,20 @@ open class LastDay : AbstractRoutine<LocalDate>("last_day", Public.PUBLIC, SQLDa
}

init {
returnParameter = RETURN_VALUE
addInParameter(_1)
returnParameter = LastDay.RETURN_VALUE
addInParameter(LastDay._1)
}

/**
* Set the <code>_1</code> parameter IN value to the routine
*/
fun set__1(value: LocalDateTime?): Unit = setValue(_1, value)
fun set__1(value: LocalDateTime?): Unit = setValue(LastDay._1, value)

/**
* Set the <code>_1</code> parameter to the function to be used with a
* {@link org.jooq.Select} statement
*/
fun set__1(field: Field<LocalDateTime?>): Unit {
setField(_1, field)
setField(LastDay._1, field)
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -36,34 +36,34 @@ open class _GroupConcat : AbstractRoutine<String>("_group_concat", Public.PUBLIC
}

init {
returnParameter = RETURN_VALUE
addInParameter(_1)
addInParameter(_2)
returnParameter = _GroupConcat.RETURN_VALUE
addInParameter(_GroupConcat._1)
addInParameter(_GroupConcat._2)
}

/**
* Set the <code>_1</code> parameter IN value to the routine
*/
fun set__1(value: String?): Unit = setValue(_1, value)
fun set__1(value: String?): Unit = setValue(_GroupConcat._1, value)

/**
* Set the <code>_1</code> parameter to the function to be used with a
* {@link org.jooq.Select} statement
*/
fun set__1(field: Field<String?>): Unit {
setField(_1, field)
setField(_GroupConcat._1, field)
}

/**
* Set the <code>_2</code> parameter IN value to the routine
*/
fun set__2(value: String?): Unit = setValue(_2, value)
fun set__2(value: String?): Unit = setValue(_GroupConcat._2, value)

/**
* Set the <code>_2</code> parameter to the function to be used with a
* {@link org.jooq.Select} statement
*/
fun set__2(field: Field<String?>): Unit {
setField(_2, field)
setField(_GroupConcat._2, field)
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ open class Actor(

private constructor(alias: Name, aliased: Table<ActorRecord>?): this(alias, null, null, null, aliased, null, null)
private constructor(alias: Name, aliased: Table<ActorRecord>?, parameters: Array<Field<*>?>?): this(alias, null, null, null, aliased, parameters, null)
private constructor(alias: Name, aliased: Table<ActorRecord>?, where: Condition): this(alias, null, null, null, aliased, null, where)
private constructor(alias: Name, aliased: Table<ActorRecord>?, where: Condition?): this(alias, null, null, null, aliased, null, where)

/**
* Create an aliased <code>public.actor</code> table reference
Expand Down Expand Up @@ -178,7 +178,7 @@ open class Actor(
/**
* Create an inline derived table from this table
*/
override fun where(condition: Condition): Actor = Actor(qualifiedName, if (aliased()) this else null, condition)
override fun where(condition: Condition?): Actor = Actor(qualifiedName, if (aliased()) this else null, condition)

/**
* Create an inline derived table from this table
Expand All @@ -188,12 +188,12 @@ open class Actor(
/**
* Create an inline derived table from this table
*/
override fun where(vararg conditions: Condition): Actor = where(DSL.and(*conditions))
override fun where(vararg conditions: Condition?): Actor = where(DSL.and(*conditions))

/**
* Create an inline derived table from this table
*/
override fun where(condition: Field<Boolean?>): Actor = where(DSL.condition(condition))
override fun where(condition: Field<Boolean?>?): Actor = where(DSL.condition(condition))

/**
* Create an inline derived table from this table
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ open class ActorInfo(

private constructor(alias: Name, aliased: Table<ActorInfoRecord>?): this(alias, null, null, null, aliased, null, null)
private constructor(alias: Name, aliased: Table<ActorInfoRecord>?, parameters: Array<Field<*>?>?): this(alias, null, null, null, aliased, parameters, null)
private constructor(alias: Name, aliased: Table<ActorInfoRecord>?, where: Condition): this(alias, null, null, null, aliased, null, where)
private constructor(alias: Name, aliased: Table<ActorInfoRecord>?, where: Condition?): this(alias, null, null, null, aliased, null, where)

/**
* Create an aliased <code>public.actor_info</code> table reference
Expand Down Expand Up @@ -141,7 +141,7 @@ open class ActorInfo(
/**
* Create an inline derived table from this table
*/
override fun where(condition: Condition): ActorInfo = ActorInfo(qualifiedName, if (aliased()) this else null, condition)
override fun where(condition: Condition?): ActorInfo = ActorInfo(qualifiedName, if (aliased()) this else null, condition)

/**
* Create an inline derived table from this table
Expand All @@ -151,12 +151,12 @@ open class ActorInfo(
/**
* Create an inline derived table from this table
*/
override fun where(vararg conditions: Condition): ActorInfo = where(DSL.and(*conditions))
override fun where(vararg conditions: Condition?): ActorInfo = where(DSL.and(*conditions))

/**
* Create an inline derived table from this table
*/
override fun where(condition: Field<Boolean?>): ActorInfo = where(DSL.condition(condition))
override fun where(condition: Field<Boolean?>?): ActorInfo = where(DSL.condition(condition))

/**
* Create an inline derived table from this table
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ open class Address(

private constructor(alias: Name, aliased: Table<AddressRecord>?): this(alias, null, null, null, aliased, null, null)
private constructor(alias: Name, aliased: Table<AddressRecord>?, parameters: Array<Field<*>?>?): this(alias, null, null, null, aliased, parameters, null)
private constructor(alias: Name, aliased: Table<AddressRecord>?, where: Condition): this(alias, null, null, null, aliased, null, where)
private constructor(alias: Name, aliased: Table<AddressRecord>?, where: Condition?): this(alias, null, null, null, aliased, null, where)

/**
* Create an aliased <code>public.address</code> table reference
Expand Down Expand Up @@ -242,7 +242,7 @@ open class Address(
/**
* Create an inline derived table from this table
*/
override fun where(condition: Condition): Address = Address(qualifiedName, if (aliased()) this else null, condition)
override fun where(condition: Condition?): Address = Address(qualifiedName, if (aliased()) this else null, condition)

/**
* Create an inline derived table from this table
Expand All @@ -252,12 +252,12 @@ open class Address(
/**
* Create an inline derived table from this table
*/
override fun where(vararg conditions: Condition): Address = where(DSL.and(*conditions))
override fun where(vararg conditions: Condition?): Address = where(DSL.and(*conditions))

/**
* Create an inline derived table from this table
*/
override fun where(condition: Field<Boolean?>): Address = where(DSL.condition(condition))
override fun where(condition: Field<Boolean?>?): Address = where(DSL.condition(condition))

/**
* Create an inline derived table from this table
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ open class Category(

private constructor(alias: Name, aliased: Table<CategoryRecord>?): this(alias, null, null, null, aliased, null, null)
private constructor(alias: Name, aliased: Table<CategoryRecord>?, parameters: Array<Field<*>?>?): this(alias, null, null, null, aliased, parameters, null)
private constructor(alias: Name, aliased: Table<CategoryRecord>?, where: Condition): this(alias, null, null, null, aliased, null, where)
private constructor(alias: Name, aliased: Table<CategoryRecord>?, where: Condition?): this(alias, null, null, null, aliased, null, where)

/**
* Create an aliased <code>public.category</code> table reference
Expand Down Expand Up @@ -169,7 +169,7 @@ open class Category(
/**
* Create an inline derived table from this table
*/
override fun where(condition: Condition): Category = Category(qualifiedName, if (aliased()) this else null, condition)
override fun where(condition: Condition?): Category = Category(qualifiedName, if (aliased()) this else null, condition)

/**
* Create an inline derived table from this table
Expand All @@ -179,12 +179,12 @@ open class Category(
/**
* Create an inline derived table from this table
*/
override fun where(vararg conditions: Condition): Category = where(DSL.and(*conditions))
override fun where(vararg conditions: Condition?): Category = where(DSL.and(*conditions))

/**
* Create an inline derived table from this table
*/
override fun where(condition: Field<Boolean?>): Category = where(DSL.condition(condition))
override fun where(condition: Field<Boolean?>?): Category = where(DSL.condition(condition))

/**
* Create an inline derived table from this table
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ open class City(

private constructor(alias: Name, aliased: Table<CityRecord>?): this(alias, null, null, null, aliased, null, null)
private constructor(alias: Name, aliased: Table<CityRecord>?, parameters: Array<Field<*>?>?): this(alias, null, null, null, aliased, parameters, null)
private constructor(alias: Name, aliased: Table<CityRecord>?, where: Condition): this(alias, null, null, null, aliased, null, where)
private constructor(alias: Name, aliased: Table<CityRecord>?, where: Condition?): this(alias, null, null, null, aliased, null, where)

/**
* Create an aliased <code>public.city</code> table reference
Expand Down Expand Up @@ -188,7 +188,7 @@ open class City(
/**
* Create an inline derived table from this table
*/
override fun where(condition: Condition): City = City(qualifiedName, if (aliased()) this else null, condition)
override fun where(condition: Condition?): City = City(qualifiedName, if (aliased()) this else null, condition)

/**
* Create an inline derived table from this table
Expand All @@ -198,12 +198,12 @@ open class City(
/**
* Create an inline derived table from this table
*/
override fun where(vararg conditions: Condition): City = where(DSL.and(*conditions))
override fun where(vararg conditions: Condition?): City = where(DSL.and(*conditions))

/**
* Create an inline derived table from this table
*/
override fun where(condition: Field<Boolean?>): City = where(DSL.condition(condition))
override fun where(condition: Field<Boolean?>?): City = where(DSL.condition(condition))

/**
* Create an inline derived table from this table
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ open class Country(

private constructor(alias: Name, aliased: Table<CountryRecord>?): this(alias, null, null, null, aliased, null, null)
private constructor(alias: Name, aliased: Table<CountryRecord>?, parameters: Array<Field<*>?>?): this(alias, null, null, null, aliased, parameters, null)
private constructor(alias: Name, aliased: Table<CountryRecord>?, where: Condition): this(alias, null, null, null, aliased, null, where)
private constructor(alias: Name, aliased: Table<CountryRecord>?, where: Condition?): this(alias, null, null, null, aliased, null, where)

/**
* Create an aliased <code>public.country</code> table reference
Expand Down Expand Up @@ -160,7 +160,7 @@ open class Country(
/**
* Create an inline derived table from this table
*/
override fun where(condition: Condition): Country = Country(qualifiedName, if (aliased()) this else null, condition)
override fun where(condition: Condition?): Country = Country(qualifiedName, if (aliased()) this else null, condition)

/**
* Create an inline derived table from this table
Expand All @@ -170,12 +170,12 @@ open class Country(
/**
* Create an inline derived table from this table
*/
override fun where(vararg conditions: Condition): Country = where(DSL.and(*conditions))
override fun where(vararg conditions: Condition?): Country = where(DSL.and(*conditions))

/**
* Create an inline derived table from this table
*/
override fun where(condition: Field<Boolean?>): Country = where(DSL.condition(condition))
override fun where(condition: Field<Boolean?>?): Country = where(DSL.condition(condition))

/**
* Create an inline derived table from this table
Expand Down
Loading

0 comments on commit cf744c5

Please sign in to comment.