Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[FIX] Adapt for voidconfident build
  • Loading branch information
pgcrism committed May 8, 2013
1 parent bef2588 commit fe2e635
Show file tree
Hide file tree
Showing 23 changed files with 219 additions and 142 deletions.
2 changes: 1 addition & 1 deletion examples/qa_example/build.eant
Expand Up @@ -13,7 +13,7 @@
</description>

<inherit>
<parent location="${GOBO}/misc/eiffel.eant">
<parent location="${ECLI}/misc/build.eant">
<redefine target="init_system"/>
</parent>
</inherit>
Expand Down
4 changes: 2 additions & 2 deletions examples/qa_example/participant_count.e
Expand Up @@ -2,8 +2,8 @@ note

description: "Buffer objects for database transfer."
status: "Automatically generated. DOT NOT MODIFY !"
generated: "2012/09/03 16:46:50.952"
generator_version: "v1.6"
generated: "2013/05/08 18:11:42.156"
generator_version: "v1.7.2"
source_filename: "access_modules.xml"

class PARTICIPANT_COUNT
Expand Down
8 changes: 2 additions & 6 deletions examples/qa_example/participant_row.e
Expand Up @@ -2,8 +2,8 @@ note

description: "Buffer objects for database transfer."
status: "Automatically generated. DOT NOT MODIFY !"
generated: "2012/09/03 16:46:50.941"
generator_version: "v1.6"
generated: "2013/05/08 18:11:42.140"
generator_version: "v1.7.2"
source_filename: "access_modules.xml"

class PARTICIPANT_ROW
Expand All @@ -21,7 +21,6 @@ feature {NONE} -- Initialization
create first_name.make (30)
create last_name.make (30)
create street.make (100)
create no.make (10)
create zip.make
create city.make (50)
create state.make (20)
Expand All @@ -31,7 +30,6 @@ feature {NONE} -- Initialization
first_name_is_null: first_name.is_null
last_name_is_null: last_name.is_null
street_is_null: street.is_null
no_is_null: no.is_null
zip_is_null: zip.is_null
city_is_null: city.is_null
state_is_null: state.is_null
Expand All @@ -48,8 +46,6 @@ feature -- Access

street: ECLI_VARCHAR

no: ECLI_VARCHAR

zip: ECLI_INTEGER

city: ECLI_VARCHAR
Expand Down
45 changes: 28 additions & 17 deletions examples/qa_example/participants_by_amount.e
Expand Up @@ -4,15 +4,18 @@ note
description: "Select participants by amount already paid"

status: "Cursor/Query automatically generated for 'PARTICIPANTS_BY_AMOUNT'. DO NOT EDIT!"
generated: "2012/09/03 16:46:50.902"
generator_version: "v1.6"
generated: "2013/05/08 18:11:42.109"
generator_version: "v1.7.2"
source_filename: "access_modules.xml"

class PARTICIPANTS_BY_AMOUNT

inherit

ECLI_CURSOR
redefine
initialize
end


create
Expand All @@ -21,7 +24,7 @@ create

feature -- -- Access

parameters_object: PARTICIPANTS_BY_AMOUNT_PARAMETERS
parameters_object: detachable PARTICIPANTS_BY_AMOUNT_PARAMETERS

item: PARTICIPANTS_BY_AMOUNT_RESULTS

Expand Down Expand Up @@ -53,22 +56,30 @@ feature {NONE} -- Implementation
create_buffers
-- Creation of buffers
local
buffers: ARRAY[like value_anchor]
buffers: like results
do
create item.make
create buffers.make (1,11)
buffers.put (item.identifier, 1)
buffers.put (item.first_name, 2)
buffers.put (item.last_name, 3)
buffers.put (item.street, 4)
buffers.put (item.no, 5)
buffers.put (item.zip, 6)
buffers.put (item.city, 7)
buffers.put (item.state, 8)
buffers.put (item.country, 9)
buffers.put (item.reg_time, 10)
buffers.put (item.paid_amount, 11)
create buffers.make (1,0)
buffers.force (item.identifier, 1)
buffers.force (item.first_name, 2)
buffers.force (item.last_name, 3)
buffers.force (item.street, 4)
buffers.force (item.no, 5)
buffers.force (item.zip, 6)
buffers.force (item.city, 7)
buffers.force (item.state, 8)
buffers.force (item.country, 9)
buffers.force (item.reg_time, 10)
buffers.force (item.paid_amount, 11)
set_results (buffers)
end

feature {NONE} -- Initialization

initialize
-- <Precursor>
do
Precursor
create item.make
end

end
4 changes: 2 additions & 2 deletions examples/qa_example/participants_by_amount_parameters.e
Expand Up @@ -2,8 +2,8 @@ note

description: "Buffer objects for database transfer."
status: "Automatically generated. DOT NOT MODIFY !"
generated: "2012/09/03 16:46:50.910"
generator_version: "v1.6"
generated: "2013/05/08 18:11:42.109"
generator_version: "v1.7.2"
source_filename: "access_modules.xml"

class PARTICIPANTS_BY_AMOUNT_PARAMETERS
Expand Down
12 changes: 8 additions & 4 deletions examples/qa_example/participants_by_amount_results.e
Expand Up @@ -2,8 +2,8 @@ note

description: "Buffer objects for database transfer."
status: "Automatically generated. DOT NOT MODIFY !"
generated: "2012/09/03 16:46:50.915"
generator_version: "v1.6"
generated: "2013/05/08 18:11:42.125"
generator_version: "v1.7.2"
source_filename: "access_modules.xml"

class PARTICIPANTS_BY_AMOUNT_RESULTS
Expand All @@ -25,16 +25,20 @@ feature {NONE} -- Initialization
-- Creation of buffers
do
Precursor
create reg_time.make (8)
create no.make
create reg_time.make_null
create paid_amount.make
ensure then
no_is_null: no.is_null
reg_time_is_null: reg_time.is_null
paid_amount_is_null: paid_amount.is_null
end

feature -- Access

reg_time: ECLI_BINARY
no: ECLI_INTEGER

reg_time: ECLI_TIMESTAMP

paid_amount: ECLI_REAL

Expand Down
43 changes: 27 additions & 16 deletions examples/qa_example/participants_by_name.e
Expand Up @@ -4,15 +4,18 @@ note
description: "Select participants matching a last name"

status: "Cursor/Query automatically generated for 'PARTICIPANTS_BY_NAME'. DO NOT EDIT!"
generated: "2012/09/03 16:46:50.845"
generator_version: "v1.6"
generated: "2013/05/08 18:11:42.015"
generator_version: "v1.7.2"
source_filename: "access_modules.xml"

class PARTICIPANTS_BY_NAME

inherit

ECLI_CURSOR
redefine
initialize
end


create
Expand All @@ -21,9 +24,9 @@ create

feature -- -- Access

parameters_object: PARTICIPANTS_BY_NAME_PARAMETERS
parameters_object: detachable PARTICIPANTS_BY_NAME_PARAMETERS

item: PARTICIPANT_ROW
item: PARTICIPANTS_BY_NAME_RESULTS

feature -- -- Element change

Expand Down Expand Up @@ -51,20 +54,28 @@ feature {NONE} -- Implementation
create_buffers
-- Creation of buffers
local
buffers: ARRAY[like value_anchor]
buffers: like results
do
create item.make
create buffers.make (1,9)
buffers.put (item.identifier, 1)
buffers.put (item.first_name, 2)
buffers.put (item.last_name, 3)
buffers.put (item.street, 4)
buffers.put (item.no, 5)
buffers.put (item.zip, 6)
buffers.put (item.city, 7)
buffers.put (item.state, 8)
buffers.put (item.country, 9)
create buffers.make (1,0)
buffers.force (item.identifier, 1)
buffers.force (item.first_name, 2)
buffers.force (item.last_name, 3)
buffers.force (item.street, 4)
buffers.force (item.no, 5)
buffers.force (item.zip, 6)
buffers.force (item.city, 7)
buffers.force (item.state, 8)
buffers.force (item.country, 9)
set_results (buffers)
end

feature {NONE} -- Initialization

initialize
-- <Precursor>
do
Precursor
create item.make
end

end
4 changes: 2 additions & 2 deletions examples/qa_example/participants_by_name_parameters.e
Expand Up @@ -2,8 +2,8 @@ note

description: "Buffer objects for database transfer."
status: "Automatically generated. DOT NOT MODIFY !"
generated: "2012/09/03 16:46:50.853"
generator_version: "v1.6"
generated: "2013/05/08 18:11:42.031"
generator_version: "v1.7.2"
source_filename: "access_modules.xml"

class PARTICIPANTS_BY_NAME_PARAMETERS
Expand Down
5 changes: 3 additions & 2 deletions examples/qa_example/participants_by_name_results.e
Expand Up @@ -2,8 +2,9 @@ note

description: "Buffer objects for database transfer."
status: "Automatically generated. DOT NOT MODIFY !"
generated: "2009/03/03 16:41:32.896"
generator_version: "v1.3b"
generated: "2013/05/08 18:11:42.031"
generator_version: "v1.7.2"
source_filename: "access_modules.xml"

class PARTICIPANTS_BY_NAME_RESULTS

Expand Down
45 changes: 28 additions & 17 deletions examples/qa_example/participants_by_reg_time.e
Expand Up @@ -4,15 +4,18 @@ note
description: "Select participants by amount already paid"

status: "Cursor/Query automatically generated for 'PARTICIPANTS_BY_REG_TIME'. DO NOT EDIT!"
generated: "2012/09/03 16:46:50.921"
generator_version: "v1.6"
generated: "2013/05/08 18:11:42.125"
generator_version: "v1.7.2"
source_filename: "access_modules.xml"

class PARTICIPANTS_BY_REG_TIME

inherit

ECLI_CURSOR
redefine
initialize
end


create
Expand All @@ -21,7 +24,7 @@ create

feature -- -- Access

parameters_object: PARTICIPANTS_BY_REG_TIME_PARAMETERS
parameters_object: detachable PARTICIPANTS_BY_REG_TIME_PARAMETERS

item: PARTICIPANTS_BY_REG_TIME_RESULTS

Expand Down Expand Up @@ -53,22 +56,30 @@ feature {NONE} -- Implementation
create_buffers
-- Creation of buffers
local
buffers: ARRAY[like value_anchor]
buffers: like results
do
create item.make
create buffers.make (1,11)
buffers.put (item.identifier, 1)
buffers.put (item.first_name, 2)
buffers.put (item.last_name, 3)
buffers.put (item.street, 4)
buffers.put (item.no, 5)
buffers.put (item.zip, 6)
buffers.put (item.city, 7)
buffers.put (item.state, 8)
buffers.put (item.country, 9)
buffers.put (item.reg_time, 10)
buffers.put (item.paid_amount, 11)
create buffers.make (1,0)
buffers.force (item.identifier, 1)
buffers.force (item.first_name, 2)
buffers.force (item.last_name, 3)
buffers.force (item.street, 4)
buffers.force (item.no, 5)
buffers.force (item.zip, 6)
buffers.force (item.city, 7)
buffers.force (item.state, 8)
buffers.force (item.country, 9)
buffers.force (item.reg_time, 10)
buffers.force (item.paid_amount, 11)
set_results (buffers)
end

feature {NONE} -- Initialization

initialize
-- <Precursor>
do
Precursor
create item.make
end

end
8 changes: 4 additions & 4 deletions examples/qa_example/participants_by_reg_time_parameters.e
Expand Up @@ -2,8 +2,8 @@ note

description: "Buffer objects for database transfer."
status: "Automatically generated. DOT NOT MODIFY !"
generated: "2012/09/03 16:46:50.930"
generator_version: "v1.6"
generated: "2013/05/08 18:11:42.125"
generator_version: "v1.7.2"
source_filename: "access_modules.xml"

class PARTICIPANTS_BY_REG_TIME_PARAMETERS
Expand All @@ -17,13 +17,13 @@ feature {NONE} -- Initialization
make
-- Creation of buffers
do
create reg_time.make (8)
create reg_time.make_null
ensure
reg_time_is_null: reg_time.is_null
end

feature -- Access

reg_time: ECLI_BINARY
reg_time: ECLI_TIMESTAMP

end

0 comments on commit fe2e635

Please sign in to comment.