Commit 7ffe7d23 by Harsh Shah

Table prefix changed to 'tl_' (Talentology)

parent 5a5ca51d
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<OBJECTS name="" xmlns:oneit="http://www.1iT.com.au"><NODE name="Script" factory="Vector"> <OBJECTS name="" xmlns:oneit="http://www.1iT.com.au"><NODE name="Script" factory="Vector">
<NODE name="DDL" factory="Participant" class="oneit.sql.transfer.DefineTableOperation"> <NODE name="DDL" factory="Participant" class="oneit.sql.transfer.DefineTableOperation">
<tableName factory="String">rs_answer</tableName> <tableName factory="String">tl_answer</tableName>
<column name="object_id" type="Long" nullable="false" length="11"/> <column name="object_id" type="Long" nullable="false" length="11"/>
<column name="object_last_updated_date" type="Date" nullable="false" length="22"/> <column name="object_last_updated_date" type="Date" nullable="false" length="22"/>
<column name="object_created_date" type="Date" nullable="false" length="22"/> <column name="object_created_date" type="Date" nullable="false" length="22"/>
...@@ -14,6 +14,6 @@ ...@@ -14,6 +14,6 @@
<column name="quest_number" type="Long" length="11" nullable="true"/> <column name="quest_number" type="Long" length="11" nullable="true"/>
</NODE> </NODE>
<NODE name="INDEX" factory="Participant" class="oneit.sql.transfer.DefineIndexOperation" tableName="rs_answer" indexName="idx_rs_answer_candidate_id" isUnique="false"><column name="candidate_id"/></NODE> <NODE name="INDEX" factory="Participant" class="oneit.sql.transfer.DefineIndexOperation" tableName="tl_answer" indexName="idx_tl_answer_candidate_id" isUnique="false"><column name="candidate_id"/></NODE>
</NODE></OBJECTS> </NODE></OBJECTS>
\ No newline at end of file
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<OBJECTS name="" xmlns:oneit="http://www.1iT.com.au"><NODE name="Script" factory="Vector"> <OBJECTS name="" xmlns:oneit="http://www.1iT.com.au"><NODE name="Script" factory="Vector">
<NODE name="DDL" factory="Participant" class="oneit.sql.transfer.DefineTableOperation"> <NODE name="DDL" factory="Participant" class="oneit.sql.transfer.DefineTableOperation">
<tableName factory="String">rs_candidate</tableName> <tableName factory="String">tl_candidate</tableName>
<column name="object_id" type="Long" nullable="false" length="11"/> <column name="object_id" type="Long" nullable="false" length="11"/>
<column name="object_last_updated_date" type="Date" nullable="false" length="22"/> <column name="object_last_updated_date" type="Date" nullable="false" length="22"/>
<column name="object_created_date" type="Date" nullable="false" length="22"/> <column name="object_created_date" type="Date" nullable="false" length="22"/>
...@@ -12,6 +12,6 @@ ...@@ -12,6 +12,6 @@
<column name="test_input_id" type="Long" length="11" nullable="true"/> <column name="test_input_id" type="Long" length="11" nullable="true"/>
</NODE> </NODE>
<NODE name="INDEX" factory="Participant" class="oneit.sql.transfer.DefineIndexOperation" tableName="rs_candidate" indexName="idx_rs_candidate_test_input_id" isUnique="false"><column name="test_input_id"/></NODE> <NODE name="INDEX" factory="Participant" class="oneit.sql.transfer.DefineIndexOperation" tableName="tl_candidate" indexName="idx_tl_candidate_test_input_id" isUnique="false"><column name="test_input_id"/></NODE>
</NODE></OBJECTS> </NODE></OBJECTS>
\ No newline at end of file
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<OBJECTS name="" xmlns:oneit="http://www.1iT.com.au"><NODE name="Script" factory="Vector"> <OBJECTS name="" xmlns:oneit="http://www.1iT.com.au"><NODE name="Script" factory="Vector">
<NODE name="DDL" factory="Participant" class="oneit.sql.transfer.DefineTableOperation"> <NODE name="DDL" factory="Participant" class="oneit.sql.transfer.DefineTableOperation">
<tableName factory="String">rs_culture_element</tableName> <tableName factory="String">tl_culture_element</tableName>
<column name="object_id" type="Long" nullable="false" length="11"/> <column name="object_id" type="Long" nullable="false" length="11"/>
<column name="object_last_updated_date" type="Date" nullable="false" length="22"/> <column name="object_last_updated_date" type="Date" nullable="false" length="22"/>
<column name="object_created_date" type="Date" nullable="false" length="22"/> <column name="object_created_date" type="Date" nullable="false" length="22"/>
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<OBJECTS name="" xmlns:oneit="http://www.1iT.com.au"><NODE name="Script" factory="Vector"> <OBJECTS name="" xmlns:oneit="http://www.1iT.com.au"><NODE name="Script" factory="Vector">
<NODE name="DDL" factory="Participant" class="oneit.sql.transfer.DefineTableOperation"> <NODE name="DDL" factory="Participant" class="oneit.sql.transfer.DefineTableOperation">
<tableName factory="String">rs_culture_element_quest</tableName> <tableName factory="String">tl_culture_element_quest</tableName>
<column name="object_id" type="Long" nullable="false" length="11"/> <column name="object_id" type="Long" nullable="false" length="11"/>
<column name="object_last_updated_date" type="Date" nullable="false" length="22"/> <column name="object_last_updated_date" type="Date" nullable="false" length="22"/>
<column name="object_created_date" type="Date" nullable="false" length="22"/> <column name="object_created_date" type="Date" nullable="false" length="22"/>
...@@ -12,6 +12,6 @@ ...@@ -12,6 +12,6 @@
<column name="culture_element_number" type="Long" length="11" nullable="true"/> <column name="culture_element_number" type="Long" length="11" nullable="true"/>
</NODE> </NODE>
<NODE name="INDEX" factory="Participant" class="oneit.sql.transfer.DefineIndexOperation" tableName="rs_culture_element_quest" indexName="idx_rs_culture_element_quest_culture_element_number" isUnique="false"><column name="culture_element_number"/></NODE> <NODE name="INDEX" factory="Participant" class="oneit.sql.transfer.DefineIndexOperation" tableName="tl_culture_element_quest" indexName="idx_tl_culture_element_quest_culture_element_number" isUnique="false"><column name="culture_element_number"/></NODE>
</NODE></OBJECTS> </NODE></OBJECTS>
\ No newline at end of file
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<OBJECTS name="" xmlns:oneit="http://www.1iT.com.au"><NODE name="Script" factory="Vector"> <OBJECTS name="" xmlns:oneit="http://www.1iT.com.au"><NODE name="Script" factory="Vector">
<NODE name="DDL" factory="Participant" class="oneit.sql.transfer.DefineTableOperation"> <NODE name="DDL" factory="Participant" class="oneit.sql.transfer.DefineTableOperation">
<tableName factory="String">rs_culture_element_rating</tableName> <tableName factory="String">tl_culture_element_rating</tableName>
<column name="object_id" type="Long" nullable="false" length="11"/> <column name="object_id" type="Long" nullable="false" length="11"/>
<column name="object_last_updated_date" type="Date" nullable="false" length="22"/> <column name="object_last_updated_date" type="Date" nullable="false" length="22"/>
<column name="object_created_date" type="Date" nullable="false" length="22"/> <column name="object_created_date" type="Date" nullable="false" length="22"/>
...@@ -12,6 +12,6 @@ ...@@ -12,6 +12,6 @@
<column name="culture_element_number" type="Long" length="11" nullable="true"/> <column name="culture_element_number" type="Long" length="11" nullable="true"/>
</NODE> </NODE>
<NODE name="INDEX" factory="Participant" class="oneit.sql.transfer.DefineIndexOperation" tableName="rs_culture_element_rating" indexName="idx_rs_culture_element_rating_culture_element_number" isUnique="false"><column name="culture_element_number"/></NODE> <NODE name="INDEX" factory="Participant" class="oneit.sql.transfer.DefineIndexOperation" tableName="tl_culture_element_rating" indexName="idx_tl_culture_element_rating_culture_element_number" isUnique="false"><column name="culture_element_number"/></NODE>
</NODE></OBJECTS> </NODE></OBJECTS>
\ No newline at end of file
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<OBJECTS name="" xmlns:oneit="http://www.1iT.com.au"><NODE name="Script" factory="Vector"> <OBJECTS name="" xmlns:oneit="http://www.1iT.com.au"><NODE name="Script" factory="Vector">
<NODE name="DDL" factory="Participant" class="oneit.sql.transfer.DefineTableOperation"> <NODE name="DDL" factory="Participant" class="oneit.sql.transfer.DefineTableOperation">
<tableName factory="String">rs_culture_narrative</tableName> <tableName factory="String">tl_culture_narrative</tableName>
<column name="object_id" type="Long" nullable="false" length="11"/> <column name="object_id" type="Long" nullable="false" length="11"/>
<column name="object_last_updated_date" type="Date" nullable="false" length="22"/> <column name="object_last_updated_date" type="Date" nullable="false" length="22"/>
<column name="object_created_date" type="Date" nullable="false" length="22"/> <column name="object_created_date" type="Date" nullable="false" length="22"/>
...@@ -15,10 +15,10 @@ ...@@ -15,10 +15,10 @@
<column name="culture_element_rating_id" type="Long" length="11" nullable="true"/> <column name="culture_element_rating_id" type="Long" length="11" nullable="true"/>
</NODE> </NODE>
<NODE name="INDEX" factory="Participant" class="oneit.sql.transfer.DefineIndexOperation" tableName="rs_culture_narrative" indexName="idx_rs_culture_narrative_culture_element_number" isUnique="false"><column name="culture_element_number"/></NODE> <NODE name="INDEX" factory="Participant" class="oneit.sql.transfer.DefineIndexOperation" tableName="tl_culture_narrative" indexName="idx_tl_culture_narrative_culture_element_number" isUnique="false"><column name="culture_element_number"/></NODE>
<NODE name="INDEX" factory="Participant" class="oneit.sql.transfer.DefineIndexOperation" tableName="rs_culture_narrative" indexName="idx_rs_culture_narrative_culture_element_quest_id" isUnique="false"><column name="culture_element_quest_id"/></NODE> <NODE name="INDEX" factory="Participant" class="oneit.sql.transfer.DefineIndexOperation" tableName="tl_culture_narrative" indexName="idx_tl_culture_narrative_culture_element_quest_id" isUnique="false"><column name="culture_element_quest_id"/></NODE>
<NODE name="INDEX" factory="Participant" class="oneit.sql.transfer.DefineIndexOperation" tableName="rs_culture_narrative" indexName="idx_rs_culture_narrative_culture_element_rating_id" isUnique="false"><column name="culture_element_rating_id"/></NODE> <NODE name="INDEX" factory="Participant" class="oneit.sql.transfer.DefineIndexOperation" tableName="tl_culture_narrative" indexName="idx_tl_culture_narrative_culture_element_rating_id" isUnique="false"><column name="culture_element_rating_id"/></NODE>
</NODE></OBJECTS> </NODE></OBJECTS>
\ No newline at end of file
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<OBJECTS name="" xmlns:oneit="http://www.1iT.com.au"><NODE name="Script" factory="Vector"> <OBJECTS name="" xmlns:oneit="http://www.1iT.com.au"><NODE name="Script" factory="Vector">
<NODE name="DDL" factory="Participant" class="oneit.sql.transfer.DefineTableOperation"> <NODE name="DDL" factory="Participant" class="oneit.sql.transfer.DefineTableOperation">
<tableName factory="String">rs_factor</tableName> <tableName factory="String">tl_factor</tableName>
<column name="object_id" type="Long" nullable="false" length="11"/> <column name="object_id" type="Long" nullable="false" length="11"/>
<column name="object_last_updated_date" type="Date" nullable="false" length="22"/> <column name="object_last_updated_date" type="Date" nullable="false" length="22"/>
<column name="object_created_date" type="Date" nullable="false" length="22"/> <column name="object_created_date" type="Date" nullable="false" length="22"/>
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<OBJECTS name="" xmlns:oneit="http://www.1iT.com.au"><NODE name="Script" factory="Vector"> <OBJECTS name="" xmlns:oneit="http://www.1iT.com.au"><NODE name="Script" factory="Vector">
<NODE name="DDL" factory="Participant" class="oneit.sql.transfer.DefineTableOperation"> <NODE name="DDL" factory="Participant" class="oneit.sql.transfer.DefineTableOperation">
<tableName factory="String">rs_factor_hdr</tableName> <tableName factory="String">tl_factor_hdr</tableName>
<column name="object_id" type="Long" nullable="false" length="11"/> <column name="object_id" type="Long" nullable="false" length="11"/>
<column name="object_last_updated_date" type="Date" nullable="false" length="22"/> <column name="object_last_updated_date" type="Date" nullable="false" length="22"/>
<column name="object_created_date" type="Date" nullable="false" length="22"/> <column name="object_created_date" type="Date" nullable="false" length="22"/>
...@@ -18,8 +18,8 @@ ...@@ -18,8 +18,8 @@
<column name="factor_number" type="Long" length="11" nullable="true"/> <column name="factor_number" type="Long" length="11" nullable="true"/>
</NODE> </NODE>
<NODE name="INDEX" factory="Participant" class="oneit.sql.transfer.DefineIndexOperation" tableName="rs_factor_hdr" indexName="idx_rs_factor_hdr_level_number" isUnique="false"><column name="level_number"/></NODE> <NODE name="INDEX" factory="Participant" class="oneit.sql.transfer.DefineIndexOperation" tableName="tl_factor_hdr" indexName="idx_tl_factor_hdr_level_number" isUnique="false"><column name="level_number"/></NODE>
<NODE name="INDEX" factory="Participant" class="oneit.sql.transfer.DefineIndexOperation" tableName="rs_factor_hdr" indexName="idx_rs_factor_hdr_factor_number" isUnique="false"><column name="factor_number"/></NODE> <NODE name="INDEX" factory="Participant" class="oneit.sql.transfer.DefineIndexOperation" tableName="tl_factor_hdr" indexName="idx_tl_factor_hdr_factor_number" isUnique="false"><column name="factor_number"/></NODE>
</NODE></OBJECTS> </NODE></OBJECTS>
\ No newline at end of file
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<OBJECTS name="" xmlns:oneit="http://www.1iT.com.au"><NODE name="Script" factory="Vector"> <OBJECTS name="" xmlns:oneit="http://www.1iT.com.au"><NODE name="Script" factory="Vector">
<NODE name="DDL" factory="Participant" class="oneit.sql.transfer.DefineTableOperation"> <NODE name="DDL" factory="Participant" class="oneit.sql.transfer.DefineTableOperation">
<tableName factory="String">rs_factor_lin</tableName> <tableName factory="String">tl_factor_lin</tableName>
<column name="object_id" type="Long" nullable="false" length="11"/> <column name="object_id" type="Long" nullable="false" length="11"/>
<column name="object_last_updated_date" type="Date" nullable="false" length="22"/> <column name="object_last_updated_date" type="Date" nullable="false" length="22"/>
<column name="object_created_date" type="Date" nullable="false" length="22"/> <column name="object_created_date" type="Date" nullable="false" length="22"/>
...@@ -13,8 +13,8 @@ ...@@ -13,8 +13,8 @@
<column name="quest_number" type="Long" length="11" nullable="true"/> <column name="quest_number" type="Long" length="11" nullable="true"/>
</NODE> </NODE>
<NODE name="INDEX" factory="Participant" class="oneit.sql.transfer.DefineIndexOperation" tableName="rs_factor_lin" indexName="idx_rs_factor_lin_factor_number" isUnique="false"><column name="factor_number"/></NODE> <NODE name="INDEX" factory="Participant" class="oneit.sql.transfer.DefineIndexOperation" tableName="tl_factor_lin" indexName="idx_tl_factor_lin_factor_number" isUnique="false"><column name="factor_number"/></NODE>
<NODE name="INDEX" factory="Participant" class="oneit.sql.transfer.DefineIndexOperation" tableName="rs_factor_lin" indexName="idx_rs_factor_lin_quest_number" isUnique="false"><column name="quest_number"/></NODE> <NODE name="INDEX" factory="Participant" class="oneit.sql.transfer.DefineIndexOperation" tableName="tl_factor_lin" indexName="idx_tl_factor_lin_quest_number" isUnique="false"><column name="quest_number"/></NODE>
</NODE></OBJECTS> </NODE></OBJECTS>
\ No newline at end of file
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<OBJECTS name="" xmlns:oneit="http://www.1iT.com.au"><NODE name="Script" factory="Vector"> <OBJECTS name="" xmlns:oneit="http://www.1iT.com.au"><NODE name="Script" factory="Vector">
<NODE name="DDL" factory="Participant" class="oneit.sql.transfer.DefineTableOperation"> <NODE name="DDL" factory="Participant" class="oneit.sql.transfer.DefineTableOperation">
<tableName factory="String">rs_score</tableName> <tableName factory="String">tl_score</tableName>
<column name="object_id" type="Long" nullable="false" length="11"/> <column name="object_id" type="Long" nullable="false" length="11"/>
<column name="object_last_updated_date" type="Date" nullable="false" length="22"/> <column name="object_last_updated_date" type="Date" nullable="false" length="22"/>
<column name="object_created_date" type="Date" nullable="false" length="22"/> <column name="object_created_date" type="Date" nullable="false" length="22"/>
...@@ -17,8 +17,8 @@ ...@@ -17,8 +17,8 @@
<column name="narrative_id" type="Long" length="11" nullable="true"/> <column name="narrative_id" type="Long" length="11" nullable="true"/>
</NODE> </NODE>
<NODE name="INDEX" factory="Participant" class="oneit.sql.transfer.DefineIndexOperation" tableName="rs_score" indexName="idx_rs_score_test_analysis_id" isUnique="false"><column name="test_analysis_id"/></NODE> <NODE name="INDEX" factory="Participant" class="oneit.sql.transfer.DefineIndexOperation" tableName="tl_score" indexName="idx_tl_score_test_analysis_id" isUnique="false"><column name="test_analysis_id"/></NODE>
<NODE name="INDEX" factory="Participant" class="oneit.sql.transfer.DefineIndexOperation" tableName="rs_score" indexName="idx_rs_score_narrative_id" isUnique="false"><column name="narrative_id"/></NODE> <NODE name="INDEX" factory="Participant" class="oneit.sql.transfer.DefineIndexOperation" tableName="tl_score" indexName="idx_tl_score_narrative_id" isUnique="false"><column name="narrative_id"/></NODE>
</NODE></OBJECTS> </NODE></OBJECTS>
\ No newline at end of file
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<OBJECTS name="" xmlns:oneit="http://www.1iT.com.au"><NODE name="Script" factory="Vector"> <OBJECTS name="" xmlns:oneit="http://www.1iT.com.au"><NODE name="Script" factory="Vector">
<NODE name="DDL" factory="Participant" class="oneit.sql.transfer.DefineTableOperation"> <NODE name="DDL" factory="Participant" class="oneit.sql.transfer.DefineTableOperation">
<tableName factory="String">rs_level_factor</tableName> <tableName factory="String">tl_level_factor</tableName>
<column name="object_id" type="Long" nullable="false" length="11"/> <column name="object_id" type="Long" nullable="false" length="11"/>
<column name="object_last_updated_date" type="Date" nullable="false" length="22"/> <column name="object_last_updated_date" type="Date" nullable="false" length="22"/>
<column name="object_created_date" type="Date" nullable="false" length="22"/> <column name="object_created_date" type="Date" nullable="false" length="22"/>
...@@ -16,10 +16,10 @@ ...@@ -16,10 +16,10 @@
<column name="narrative_id" type="Long" length="11" nullable="true"/> <column name="narrative_id" type="Long" length="11" nullable="true"/>
</NODE> </NODE>
<NODE name="INDEX" factory="Participant" class="oneit.sql.transfer.DefineIndexOperation" tableName="rs_level_factor" indexName="idx_rs_level_factor_factor_number" isUnique="false"><column name="factor_number"/></NODE> <NODE name="INDEX" factory="Participant" class="oneit.sql.transfer.DefineIndexOperation" tableName="tl_level_factor" indexName="idx_tl_level_factor_factor_number" isUnique="false"><column name="factor_number"/></NODE>
<NODE name="INDEX" factory="Participant" class="oneit.sql.transfer.DefineIndexOperation" tableName="rs_level_factor" indexName="idx_rs_level_factor_level_number" isUnique="false"><column name="level_number"/></NODE> <NODE name="INDEX" factory="Participant" class="oneit.sql.transfer.DefineIndexOperation" tableName="tl_level_factor" indexName="idx_tl_level_factor_level_number" isUnique="false"><column name="level_number"/></NODE>
<NODE name="INDEX" factory="Participant" class="oneit.sql.transfer.DefineIndexOperation" tableName="rs_level_factor" indexName="idx_rs_level_factor_narrative_id" isUnique="false"><column name="narrative_id"/></NODE> <NODE name="INDEX" factory="Participant" class="oneit.sql.transfer.DefineIndexOperation" tableName="tl_level_factor" indexName="idx_tl_level_factor_narrative_id" isUnique="false"><column name="narrative_id"/></NODE>
</NODE></OBJECTS> </NODE></OBJECTS>
\ No newline at end of file
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<OBJECTS name="" xmlns:oneit="http://www.1iT.com.au"><NODE name="Script" factory="Vector"> <OBJECTS name="" xmlns:oneit="http://www.1iT.com.au"><NODE name="Script" factory="Vector">
<NODE name="DDL" factory="Participant" class="oneit.sql.transfer.DefineTableOperation"> <NODE name="DDL" factory="Participant" class="oneit.sql.transfer.DefineTableOperation">
<tableName factory="String">rs_level</tableName> <tableName factory="String">tl_level</tableName>
<column name="object_id" type="Long" nullable="false" length="11"/> <column name="object_id" type="Long" nullable="false" length="11"/>
<column name="object_last_updated_date" type="Date" nullable="false" length="22"/> <column name="object_last_updated_date" type="Date" nullable="false" length="22"/>
<column name="object_created_date" type="Date" nullable="false" length="22"/> <column name="object_created_date" type="Date" nullable="false" length="22"/>
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<OBJECTS name="" xmlns:oneit="http://www.1iT.com.au"><NODE name="Script" factory="Vector"> <OBJECTS name="" xmlns:oneit="http://www.1iT.com.au"><NODE name="Script" factory="Vector">
<NODE name="DDL" factory="Participant" class="oneit.sql.transfer.DefineTableOperation"> <NODE name="DDL" factory="Participant" class="oneit.sql.transfer.DefineTableOperation">
<tableName factory="String">rs_narrative</tableName> <tableName factory="String">tl_narrative</tableName>
<column name="object_id" type="Long" nullable="false" length="11"/> <column name="object_id" type="Long" nullable="false" length="11"/>
<column name="object_last_updated_date" type="Date" nullable="false" length="22"/> <column name="object_last_updated_date" type="Date" nullable="false" length="22"/>
<column name="object_created_date" type="Date" nullable="false" length="22"/> <column name="object_created_date" type="Date" nullable="false" length="22"/>
...@@ -19,6 +19,6 @@ ...@@ -19,6 +19,6 @@
<column name="level_number" type="Long" length="11" nullable="true"/> <column name="level_number" type="Long" length="11" nullable="true"/>
</NODE> </NODE>
<NODE name="INDEX" factory="Participant" class="oneit.sql.transfer.DefineIndexOperation" tableName="rs_narrative" indexName="idx_rs_narrative_level_number" isUnique="false"><column name="level_number"/></NODE> <NODE name="INDEX" factory="Participant" class="oneit.sql.transfer.DefineIndexOperation" tableName="tl_narrative" indexName="idx_tl_narrative_level_number" isUnique="false"><column name="level_number"/></NODE>
</NODE></OBJECTS> </NODE></OBJECTS>
\ No newline at end of file
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<OBJECTS name="" xmlns:oneit="http://www.1iT.com.au"><NODE name="Script" factory="Vector"> <OBJECTS name="" xmlns:oneit="http://www.1iT.com.au"><NODE name="Script" factory="Vector">
<NODE name="DDL" factory="Participant" class="oneit.sql.transfer.DefineTableOperation"> <NODE name="DDL" factory="Participant" class="oneit.sql.transfer.DefineTableOperation">
<tableName factory="String">rs_quest_lin</tableName> <tableName factory="String">tl_quest_lin</tableName>
<column name="object_id" type="Long" nullable="false" length="11"/> <column name="object_id" type="Long" nullable="false" length="11"/>
<column name="object_last_updated_date" type="Date" nullable="false" length="22"/> <column name="object_last_updated_date" type="Date" nullable="false" length="22"/>
<column name="object_created_date" type="Date" nullable="false" length="22"/> <column name="object_created_date" type="Date" nullable="false" length="22"/>
...@@ -12,6 +12,6 @@ ...@@ -12,6 +12,6 @@
<column name="section_number" type="Long" length="11" nullable="true"/> <column name="section_number" type="Long" length="11" nullable="true"/>
</NODE> </NODE>
<NODE name="INDEX" factory="Participant" class="oneit.sql.transfer.DefineIndexOperation" tableName="rs_quest_lin" indexName="idx_rs_quest_lin_section_number" isUnique="false"><column name="section_number"/></NODE> <NODE name="INDEX" factory="Participant" class="oneit.sql.transfer.DefineIndexOperation" tableName="tl_quest_lin" indexName="idx_tl_quest_lin_section_number" isUnique="false"><column name="section_number"/></NODE>
</NODE></OBJECTS> </NODE></OBJECTS>
\ No newline at end of file
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<OBJECTS name="" xmlns:oneit="http://www.1iT.com.au"><NODE name="Script" factory="Vector"> <OBJECTS name="" xmlns:oneit="http://www.1iT.com.au"><NODE name="Script" factory="Vector">
<NODE name="DDL" factory="Participant" class="oneit.sql.transfer.DefineTableOperation"> <NODE name="DDL" factory="Participant" class="oneit.sql.transfer.DefineTableOperation">
<tableName factory="String">rs_quest_hdr</tableName> <tableName factory="String">tl_quest_hdr</tableName>
<column name="object_id" type="Long" nullable="false" length="11"/> <column name="object_id" type="Long" nullable="false" length="11"/>
<column name="object_last_updated_date" type="Date" nullable="false" length="22"/> <column name="object_last_updated_date" type="Date" nullable="false" length="22"/>
<column name="object_created_date" type="Date" nullable="false" length="22"/> <column name="object_created_date" type="Date" nullable="false" length="22"/>
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<OBJECTS name="" xmlns:oneit="http://www.1iT.com.au"><NODE name="Script" factory="Vector"> <OBJECTS name="" xmlns:oneit="http://www.1iT.com.au"><NODE name="Script" factory="Vector">
<NODE name="DDL" factory="Participant" class="oneit.sql.transfer.DefineTableOperation"> <NODE name="DDL" factory="Participant" class="oneit.sql.transfer.DefineTableOperation">
<tableName factory="String">rs_test_analysis</tableName> <tableName factory="String">tl_test_analysis</tableName>
<column name="object_id" type="Long" nullable="false" length="11"/> <column name="object_id" type="Long" nullable="false" length="11"/>
<column name="object_last_updated_date" type="Date" nullable="false" length="22"/> <column name="object_last_updated_date" type="Date" nullable="false" length="22"/>
<column name="object_created_date" type="Date" nullable="false" length="22"/> <column name="object_created_date" type="Date" nullable="false" length="22"/>
...@@ -12,8 +12,8 @@ ...@@ -12,8 +12,8 @@
<column name="candidate_id" type="Long" length="11" nullable="true"/> <column name="candidate_id" type="Long" length="11" nullable="true"/>
</NODE> </NODE>
<NODE name="INDEX" factory="Participant" class="oneit.sql.transfer.DefineIndexOperation" tableName="rs_test_analysis" indexName="idx_rs_test_analysis_level_id" isUnique="false"><column name="level_id"/></NODE> <NODE name="INDEX" factory="Participant" class="oneit.sql.transfer.DefineIndexOperation" tableName="tl_test_analysis" indexName="idx_tl_test_analysis_level_id" isUnique="false"><column name="level_id"/></NODE>
<NODE name="INDEX" factory="Participant" class="oneit.sql.transfer.DefineIndexOperation" tableName="rs_test_analysis" indexName="idx_rs_test_analysis_candidate_id" isUnique="false"><column name="candidate_id"/></NODE> <NODE name="INDEX" factory="Participant" class="oneit.sql.transfer.DefineIndexOperation" tableName="tl_test_analysis" indexName="idx_tl_test_analysis_candidate_id" isUnique="false"><column name="candidate_id"/></NODE>
</NODE></OBJECTS> </NODE></OBJECTS>
\ No newline at end of file
-- DROP TABLE rs_answer; -- DROP TABLE tl_answer;
CREATE TABLE rs_answer ( CREATE TABLE tl_answer (
object_id int NOT NULL , object_id int NOT NULL ,
object_last_updated_date datetime DEFAULT getdate() NOT NULL , object_last_updated_date datetime DEFAULT getdate() NOT NULL ,
object_created_date datetime DEFAULT getdate() NOT NULL object_created_date datetime DEFAULT getdate() NOT NULL
...@@ -16,13 +16,13 @@ CREATE TABLE rs_answer ( ...@@ -16,13 +16,13 @@ CREATE TABLE rs_answer (
ALTER TABLE rs_answer ADD ALTER TABLE tl_answer ADD
CONSTRAINT PK_rs_answer PRIMARY KEY CONSTRAINT PK_tl_answer PRIMARY KEY
( (
object_id object_id
) ; ) ;
CREATE INDEX idx_rs_answer_candidate_id CREATE INDEX idx_tl_answer_candidate_id
ON rs_answer (candidate_id); ON tl_answer (candidate_id);
-- DROP TABLE rs_candidate; -- DROP TABLE tl_candidate;
CREATE TABLE rs_candidate ( CREATE TABLE tl_candidate (
object_id int NOT NULL , object_id int NOT NULL ,
object_last_updated_date datetime DEFAULT getdate() NOT NULL , object_last_updated_date datetime DEFAULT getdate() NOT NULL ,
object_created_date datetime DEFAULT getdate() NOT NULL object_created_date datetime DEFAULT getdate() NOT NULL
...@@ -14,13 +14,13 @@ CREATE TABLE rs_candidate ( ...@@ -14,13 +14,13 @@ CREATE TABLE rs_candidate (
ALTER TABLE rs_candidate ADD ALTER TABLE tl_candidate ADD
CONSTRAINT PK_rs_candidate PRIMARY KEY CONSTRAINT PK_tl_candidate PRIMARY KEY
( (
object_id object_id
) ; ) ;
CREATE INDEX idx_rs_candidate_test_input_id CREATE INDEX idx_tl_candidate_test_input_id
ON rs_candidate (test_input_id); ON tl_candidate (test_input_id);
-- DROP TABLE rs_culture_element; -- DROP TABLE tl_culture_element;
CREATE TABLE rs_culture_element ( CREATE TABLE tl_culture_element (
object_id int NOT NULL , object_id int NOT NULL ,
object_last_updated_date datetime DEFAULT getdate() NOT NULL , object_last_updated_date datetime DEFAULT getdate() NOT NULL ,
object_created_date datetime DEFAULT getdate() NOT NULL object_created_date datetime DEFAULT getdate() NOT NULL
...@@ -14,8 +14,8 @@ CREATE TABLE rs_culture_element ( ...@@ -14,8 +14,8 @@ CREATE TABLE rs_culture_element (
ALTER TABLE rs_culture_element ADD ALTER TABLE tl_culture_element ADD
CONSTRAINT PK_rs_culture_element PRIMARY KEY CONSTRAINT PK_tl_culture_element PRIMARY KEY
( (
object_id object_id
) ; ) ;
......
-- DROP TABLE rs_culture_element_quest; -- DROP TABLE tl_culture_element_quest;
CREATE TABLE rs_culture_element_quest ( CREATE TABLE tl_culture_element_quest (
object_id int NOT NULL , object_id int NOT NULL ,
object_last_updated_date datetime DEFAULT getdate() NOT NULL , object_last_updated_date datetime DEFAULT getdate() NOT NULL ,
object_created_date datetime DEFAULT getdate() NOT NULL object_created_date datetime DEFAULT getdate() NOT NULL
...@@ -14,13 +14,13 @@ CREATE TABLE rs_culture_element_quest ( ...@@ -14,13 +14,13 @@ CREATE TABLE rs_culture_element_quest (
ALTER TABLE rs_culture_element_quest ADD ALTER TABLE tl_culture_element_quest ADD
CONSTRAINT PK_rs_culture_element_quest PRIMARY KEY CONSTRAINT PK_tl_culture_element_quest PRIMARY KEY
( (
object_id object_id
) ; ) ;
CREATE INDEX idx_rs_culture_element_quest_culture_element_number CREATE INDEX idx_tl_culture_element_quest_culture_element_number
ON rs_culture_element_quest (culture_element_number); ON tl_culture_element_quest (culture_element_number);
-- DROP TABLE rs_culture_element_rating; -- DROP TABLE tl_culture_element_rating;
CREATE TABLE rs_culture_element_rating ( CREATE TABLE tl_culture_element_rating (
object_id int NOT NULL , object_id int NOT NULL ,
object_last_updated_date datetime DEFAULT getdate() NOT NULL , object_last_updated_date datetime DEFAULT getdate() NOT NULL ,
object_created_date datetime DEFAULT getdate() NOT NULL object_created_date datetime DEFAULT getdate() NOT NULL
...@@ -14,13 +14,13 @@ CREATE TABLE rs_culture_element_rating ( ...@@ -14,13 +14,13 @@ CREATE TABLE rs_culture_element_rating (
ALTER TABLE rs_culture_element_rating ADD ALTER TABLE tl_culture_element_rating ADD
CONSTRAINT PK_rs_culture_element_rating PRIMARY KEY CONSTRAINT PK_tl_culture_element_rating PRIMARY KEY
( (
object_id object_id
) ; ) ;
CREATE INDEX idx_rs_culture_element_rating_culture_element_number CREATE INDEX idx_tl_culture_element_rating_culture_element_number
ON rs_culture_element_rating (culture_element_number); ON tl_culture_element_rating (culture_element_number);
-- DROP TABLE rs_culture_narrative; -- DROP TABLE tl_culture_narrative;
CREATE TABLE rs_culture_narrative ( CREATE TABLE tl_culture_narrative (
object_id int NOT NULL , object_id int NOT NULL ,
object_last_updated_date datetime DEFAULT getdate() NOT NULL , object_last_updated_date datetime DEFAULT getdate() NOT NULL ,
object_created_date datetime DEFAULT getdate() NOT NULL object_created_date datetime DEFAULT getdate() NOT NULL
...@@ -17,19 +17,19 @@ CREATE TABLE rs_culture_narrative ( ...@@ -17,19 +17,19 @@ CREATE TABLE rs_culture_narrative (
ALTER TABLE rs_culture_narrative ADD ALTER TABLE tl_culture_narrative ADD
CONSTRAINT PK_rs_culture_narrative PRIMARY KEY CONSTRAINT PK_tl_culture_narrative PRIMARY KEY
( (
object_id object_id
) ; ) ;
CREATE INDEX idx_rs_culture_narrative_culture_element_number CREATE INDEX idx_tl_culture_narrative_culture_element_number
ON rs_culture_narrative (culture_element_number); ON tl_culture_narrative (culture_element_number);
CREATE INDEX idx_rs_culture_narrative_culture_element_quest_id CREATE INDEX idx_tl_culture_narrative_culture_element_quest_id
ON rs_culture_narrative (culture_element_quest_id); ON tl_culture_narrative (culture_element_quest_id);
CREATE INDEX idx_rs_culture_narrative_culture_element_rating_id CREATE INDEX idx_tl_culture_narrative_culture_element_rating_id
ON rs_culture_narrative (culture_element_rating_id); ON tl_culture_narrative (culture_element_rating_id);
-- DROP TABLE rs_factor; -- DROP TABLE tl_factor;
CREATE TABLE rs_factor ( CREATE TABLE tl_factor (
object_id int NOT NULL , object_id int NOT NULL ,
object_last_updated_date datetime DEFAULT getdate() NOT NULL , object_last_updated_date datetime DEFAULT getdate() NOT NULL ,
object_created_date datetime DEFAULT getdate() NOT NULL object_created_date datetime DEFAULT getdate() NOT NULL
...@@ -13,8 +13,8 @@ CREATE TABLE rs_factor ( ...@@ -13,8 +13,8 @@ CREATE TABLE rs_factor (
ALTER TABLE rs_factor ADD ALTER TABLE tl_factor ADD
CONSTRAINT PK_rs_factor PRIMARY KEY CONSTRAINT PK_tl_factor PRIMARY KEY
( (
object_id object_id
) ; ) ;
......
-- DROP TABLE rs_factor_hdr; -- DROP TABLE tl_factor_hdr;
CREATE TABLE rs_factor_hdr ( CREATE TABLE tl_factor_hdr (
object_id int NOT NULL , object_id int NOT NULL ,
object_last_updated_date datetime DEFAULT getdate() NOT NULL , object_last_updated_date datetime DEFAULT getdate() NOT NULL ,
object_created_date datetime DEFAULT getdate() NOT NULL object_created_date datetime DEFAULT getdate() NOT NULL
...@@ -20,16 +20,16 @@ CREATE TABLE rs_factor_hdr ( ...@@ -20,16 +20,16 @@ CREATE TABLE rs_factor_hdr (
ALTER TABLE rs_factor_hdr ADD ALTER TABLE tl_factor_hdr ADD
CONSTRAINT PK_rs_factor_hdr PRIMARY KEY CONSTRAINT PK_tl_factor_hdr PRIMARY KEY
( (
object_id object_id
) ; ) ;
CREATE INDEX idx_rs_factor_hdr_level_number CREATE INDEX idx_tl_factor_hdr_level_number
ON rs_factor_hdr (level_number); ON tl_factor_hdr (level_number);
CREATE INDEX idx_rs_factor_hdr_factor_number CREATE INDEX idx_tl_factor_hdr_factor_number
ON rs_factor_hdr (factor_number); ON tl_factor_hdr (factor_number);
-- DROP TABLE rs_factor_lin; -- DROP TABLE tl_factor_lin;
CREATE TABLE rs_factor_lin ( CREATE TABLE tl_factor_lin (
object_id int NOT NULL , object_id int NOT NULL ,
object_last_updated_date datetime DEFAULT getdate() NOT NULL , object_last_updated_date datetime DEFAULT getdate() NOT NULL ,
object_created_date datetime DEFAULT getdate() NOT NULL object_created_date datetime DEFAULT getdate() NOT NULL
...@@ -15,16 +15,16 @@ CREATE TABLE rs_factor_lin ( ...@@ -15,16 +15,16 @@ CREATE TABLE rs_factor_lin (
ALTER TABLE rs_factor_lin ADD ALTER TABLE tl_factor_lin ADD
CONSTRAINT PK_rs_factor_lin PRIMARY KEY CONSTRAINT PK_tl_factor_lin PRIMARY KEY
( (
object_id object_id
) ; ) ;
CREATE INDEX idx_rs_factor_lin_factor_number CREATE INDEX idx_tl_factor_lin_factor_number
ON rs_factor_lin (factor_number); ON tl_factor_lin (factor_number);
CREATE INDEX idx_rs_factor_lin_quest_number CREATE INDEX idx_tl_factor_lin_quest_number
ON rs_factor_lin (quest_number); ON tl_factor_lin (quest_number);
-- DROP TABLE rs_score; -- DROP TABLE tl_score;
CREATE TABLE rs_score ( CREATE TABLE tl_score (
object_id int NOT NULL , object_id int NOT NULL ,
object_last_updated_date datetime DEFAULT getdate() NOT NULL , object_last_updated_date datetime DEFAULT getdate() NOT NULL ,
object_created_date datetime DEFAULT getdate() NOT NULL object_created_date datetime DEFAULT getdate() NOT NULL
...@@ -19,16 +19,16 @@ CREATE TABLE rs_score ( ...@@ -19,16 +19,16 @@ CREATE TABLE rs_score (
ALTER TABLE rs_score ADD ALTER TABLE tl_score ADD
CONSTRAINT PK_rs_score PRIMARY KEY CONSTRAINT PK_tl_score PRIMARY KEY
( (
object_id object_id
) ; ) ;
CREATE INDEX idx_rs_score_test_analysis_id CREATE INDEX idx_tl_score_test_analysis_id
ON rs_score (test_analysis_id); ON tl_score (test_analysis_id);
CREATE INDEX idx_rs_score_narrative_id CREATE INDEX idx_tl_score_narrative_id
ON rs_score (narrative_id); ON tl_score (narrative_id);
-- DROP TABLE rs_level_factor; -- DROP TABLE tl_level_factor;
CREATE TABLE rs_level_factor ( CREATE TABLE tl_level_factor (
object_id int NOT NULL , object_id int NOT NULL ,
object_last_updated_date datetime DEFAULT getdate() NOT NULL , object_last_updated_date datetime DEFAULT getdate() NOT NULL ,
object_created_date datetime DEFAULT getdate() NOT NULL object_created_date datetime DEFAULT getdate() NOT NULL
...@@ -18,19 +18,19 @@ CREATE TABLE rs_level_factor ( ...@@ -18,19 +18,19 @@ CREATE TABLE rs_level_factor (
ALTER TABLE rs_level_factor ADD ALTER TABLE tl_level_factor ADD
CONSTRAINT PK_rs_level_factor PRIMARY KEY CONSTRAINT PK_tl_level_factor PRIMARY KEY
( (
object_id object_id
) ; ) ;
CREATE INDEX idx_rs_level_factor_factor_number CREATE INDEX idx_tl_level_factor_factor_number
ON rs_level_factor (factor_number); ON tl_level_factor (factor_number);
CREATE INDEX idx_rs_level_factor_level_number CREATE INDEX idx_tl_level_factor_level_number
ON rs_level_factor (level_number); ON tl_level_factor (level_number);
CREATE INDEX idx_rs_level_factor_narrative_id CREATE INDEX idx_tl_level_factor_narrative_id
ON rs_level_factor (narrative_id); ON tl_level_factor (narrative_id);
-- DROP TABLE rs_level; -- DROP TABLE tl_level;
CREATE TABLE rs_level ( CREATE TABLE tl_level (
object_id int NOT NULL , object_id int NOT NULL ,
object_last_updated_date datetime DEFAULT getdate() NOT NULL , object_last_updated_date datetime DEFAULT getdate() NOT NULL ,
object_created_date datetime DEFAULT getdate() NOT NULL object_created_date datetime DEFAULT getdate() NOT NULL
...@@ -15,8 +15,8 @@ CREATE TABLE rs_level ( ...@@ -15,8 +15,8 @@ CREATE TABLE rs_level (
ALTER TABLE rs_level ADD ALTER TABLE tl_level ADD
CONSTRAINT PK_rs_level PRIMARY KEY CONSTRAINT PK_tl_level PRIMARY KEY
( (
object_id object_id
) ; ) ;
......
-- DROP TABLE rs_narrative; -- DROP TABLE tl_narrative;
CREATE TABLE rs_narrative ( CREATE TABLE tl_narrative (
object_id int NOT NULL , object_id int NOT NULL ,
object_last_updated_date datetime DEFAULT getdate() NOT NULL , object_last_updated_date datetime DEFAULT getdate() NOT NULL ,
object_created_date datetime DEFAULT getdate() NOT NULL object_created_date datetime DEFAULT getdate() NOT NULL
...@@ -21,13 +21,13 @@ CREATE TABLE rs_narrative ( ...@@ -21,13 +21,13 @@ CREATE TABLE rs_narrative (
ALTER TABLE rs_narrative ADD ALTER TABLE tl_narrative ADD
CONSTRAINT PK_rs_narrative PRIMARY KEY CONSTRAINT PK_tl_narrative PRIMARY KEY
( (
object_id object_id
) ; ) ;
CREATE INDEX idx_rs_narrative_level_number CREATE INDEX idx_tl_narrative_level_number
ON rs_narrative (level_number); ON tl_narrative (level_number);
-- DROP TABLE rs_quest_lin; -- DROP TABLE tl_quest_lin;
CREATE TABLE rs_quest_lin ( CREATE TABLE tl_quest_lin (
object_id int NOT NULL , object_id int NOT NULL ,
object_last_updated_date datetime DEFAULT getdate() NOT NULL , object_last_updated_date datetime DEFAULT getdate() NOT NULL ,
object_created_date datetime DEFAULT getdate() NOT NULL object_created_date datetime DEFAULT getdate() NOT NULL
...@@ -14,13 +14,13 @@ CREATE TABLE rs_quest_lin ( ...@@ -14,13 +14,13 @@ CREATE TABLE rs_quest_lin (
ALTER TABLE rs_quest_lin ADD ALTER TABLE tl_quest_lin ADD
CONSTRAINT PK_rs_quest_lin PRIMARY KEY CONSTRAINT PK_tl_quest_lin PRIMARY KEY
( (
object_id object_id
) ; ) ;
CREATE INDEX idx_rs_quest_lin_section_number CREATE INDEX idx_tl_quest_lin_section_number
ON rs_quest_lin (section_number); ON tl_quest_lin (section_number);
-- DROP TABLE rs_quest_hdr; -- DROP TABLE tl_quest_hdr;
CREATE TABLE rs_quest_hdr ( CREATE TABLE tl_quest_hdr (
object_id int NOT NULL , object_id int NOT NULL ,
object_last_updated_date datetime DEFAULT getdate() NOT NULL , object_last_updated_date datetime DEFAULT getdate() NOT NULL ,
object_created_date datetime DEFAULT getdate() NOT NULL object_created_date datetime DEFAULT getdate() NOT NULL
...@@ -14,8 +14,8 @@ CREATE TABLE rs_quest_hdr ( ...@@ -14,8 +14,8 @@ CREATE TABLE rs_quest_hdr (
ALTER TABLE rs_quest_hdr ADD ALTER TABLE tl_quest_hdr ADD
CONSTRAINT PK_rs_quest_hdr PRIMARY KEY CONSTRAINT PK_tl_quest_hdr PRIMARY KEY
( (
object_id object_id
) ; ) ;
......
-- DROP TABLE rs_test_analysis; -- DROP TABLE tl_test_analysis;
CREATE TABLE rs_test_analysis ( CREATE TABLE tl_test_analysis (
object_id int NOT NULL , object_id int NOT NULL ,
object_last_updated_date datetime DEFAULT getdate() NOT NULL , object_last_updated_date datetime DEFAULT getdate() NOT NULL ,
object_created_date datetime DEFAULT getdate() NOT NULL object_created_date datetime DEFAULT getdate() NOT NULL
...@@ -14,16 +14,16 @@ CREATE TABLE rs_test_analysis ( ...@@ -14,16 +14,16 @@ CREATE TABLE rs_test_analysis (
ALTER TABLE rs_test_analysis ADD ALTER TABLE tl_test_analysis ADD
CONSTRAINT PK_rs_test_analysis PRIMARY KEY CONSTRAINT PK_tl_test_analysis PRIMARY KEY
( (
object_id object_id
) ; ) ;
CREATE INDEX idx_rs_test_analysis_level_id CREATE INDEX idx_tl_test_analysis_level_id
ON rs_test_analysis (level_id); ON tl_test_analysis (level_id);
CREATE INDEX idx_rs_test_analysis_candidate_id CREATE INDEX idx_tl_test_analysis_candidate_id
ON rs_test_analysis (candidate_id); ON tl_test_analysis (candidate_id);
-- DROP TABLE rs_answer; -- DROP TABLE tl_answer;
CREATE TABLE rs_answer ( CREATE TABLE tl_answer (
object_id number(12) NOT NULL , object_id number(12) NOT NULL ,
object_last_updated_date date DEFAULT SYSDATE NOT NULL , object_last_updated_date date DEFAULT SYSDATE NOT NULL ,
object_created_date date DEFAULT SYSDATE NOT NULL object_created_date date DEFAULT SYSDATE NOT NULL
...@@ -17,13 +17,13 @@ CREATE TABLE rs_answer ( ...@@ -17,13 +17,13 @@ CREATE TABLE rs_answer (
ALTER TABLE rs_answer ADD ALTER TABLE tl_answer ADD
CONSTRAINT PK_rs_answer PRIMARY KEY CONSTRAINT PK_tl_answer PRIMARY KEY
( (
object_id object_id
) ; ) ;
CREATE INDEX idx_rs_answer_candidate_id CREATE INDEX idx_tl_answer_candidate_id
ON rs_answer (candidate_id); ON tl_answer (candidate_id);
-- DROP TABLE rs_candidate; -- DROP TABLE tl_candidate;
CREATE TABLE rs_candidate ( CREATE TABLE tl_candidate (
object_id number(12) NOT NULL , object_id number(12) NOT NULL ,
object_last_updated_date date DEFAULT SYSDATE NOT NULL , object_last_updated_date date DEFAULT SYSDATE NOT NULL ,
object_created_date date DEFAULT SYSDATE NOT NULL object_created_date date DEFAULT SYSDATE NOT NULL
...@@ -15,13 +15,13 @@ CREATE TABLE rs_candidate ( ...@@ -15,13 +15,13 @@ CREATE TABLE rs_candidate (
ALTER TABLE rs_candidate ADD ALTER TABLE tl_candidate ADD
CONSTRAINT PK_rs_candidate PRIMARY KEY CONSTRAINT PK_tl_candidate PRIMARY KEY
( (
object_id object_id
) ; ) ;
CREATE INDEX idx_rs_candidate_test_input_id CREATE INDEX idx_tl_candidate_test_input_id
ON rs_candidate (test_input_id); ON tl_candidate (test_input_id);
-- DROP TABLE rs_culture_element; -- DROP TABLE tl_culture_element;
CREATE TABLE rs_culture_element ( CREATE TABLE tl_culture_element (
object_id number(12) NOT NULL , object_id number(12) NOT NULL ,
object_last_updated_date date DEFAULT SYSDATE NOT NULL , object_last_updated_date date DEFAULT SYSDATE NOT NULL ,
object_created_date date DEFAULT SYSDATE NOT NULL object_created_date date DEFAULT SYSDATE NOT NULL
...@@ -15,8 +15,8 @@ CREATE TABLE rs_culture_element ( ...@@ -15,8 +15,8 @@ CREATE TABLE rs_culture_element (
ALTER TABLE rs_culture_element ADD ALTER TABLE tl_culture_element ADD
CONSTRAINT PK_rs_culture_element PRIMARY KEY CONSTRAINT PK_tl_culture_element PRIMARY KEY
( (
object_id object_id
) ; ) ;
......
-- DROP TABLE rs_culture_element_quest; -- DROP TABLE tl_culture_element_quest;
CREATE TABLE rs_culture_element_quest ( CREATE TABLE tl_culture_element_quest (
object_id number(12) NOT NULL , object_id number(12) NOT NULL ,
object_last_updated_date date DEFAULT SYSDATE NOT NULL , object_last_updated_date date DEFAULT SYSDATE NOT NULL ,
object_created_date date DEFAULT SYSDATE NOT NULL object_created_date date DEFAULT SYSDATE NOT NULL
...@@ -15,13 +15,13 @@ CREATE TABLE rs_culture_element_quest ( ...@@ -15,13 +15,13 @@ CREATE TABLE rs_culture_element_quest (
ALTER TABLE rs_culture_element_quest ADD ALTER TABLE tl_culture_element_quest ADD
CONSTRAINT PK_rs_culture_element_quest PRIMARY KEY CONSTRAINT PK_tl_culture_element_quest PRIMARY KEY
( (
object_id object_id
) ; ) ;
CREATE INDEX idx_rs_culture_element_quest_culture_element_number CREATE INDEX idx_tl_culture_element_quest_culture_element_number
ON rs_culture_element_quest (culture_element_number); ON tl_culture_element_quest (culture_element_number);
-- DROP TABLE rs_culture_element_rating; -- DROP TABLE tl_culture_element_rating;
CREATE TABLE rs_culture_element_rating ( CREATE TABLE tl_culture_element_rating (
object_id number(12) NOT NULL , object_id number(12) NOT NULL ,
object_last_updated_date date DEFAULT SYSDATE NOT NULL , object_last_updated_date date DEFAULT SYSDATE NOT NULL ,
object_created_date date DEFAULT SYSDATE NOT NULL object_created_date date DEFAULT SYSDATE NOT NULL
...@@ -15,13 +15,13 @@ CREATE TABLE rs_culture_element_rating ( ...@@ -15,13 +15,13 @@ CREATE TABLE rs_culture_element_rating (
ALTER TABLE rs_culture_element_rating ADD ALTER TABLE tl_culture_element_rating ADD
CONSTRAINT PK_rs_culture_element_rating PRIMARY KEY CONSTRAINT PK_tl_culture_element_rating PRIMARY KEY
( (
object_id object_id
) ; ) ;
CREATE INDEX idx_rs_culture_element_rating_culture_element_number CREATE INDEX idx_tl_culture_element_rating_culture_element_number
ON rs_culture_element_rating (culture_element_number); ON tl_culture_element_rating (culture_element_number);
-- DROP TABLE rs_culture_narrative; -- DROP TABLE tl_culture_narrative;
CREATE TABLE rs_culture_narrative ( CREATE TABLE tl_culture_narrative (
object_id number(12) NOT NULL , object_id number(12) NOT NULL ,
object_last_updated_date date DEFAULT SYSDATE NOT NULL , object_last_updated_date date DEFAULT SYSDATE NOT NULL ,
object_created_date date DEFAULT SYSDATE NOT NULL object_created_date date DEFAULT SYSDATE NOT NULL
...@@ -18,19 +18,19 @@ CREATE TABLE rs_culture_narrative ( ...@@ -18,19 +18,19 @@ CREATE TABLE rs_culture_narrative (
ALTER TABLE rs_culture_narrative ADD ALTER TABLE tl_culture_narrative ADD
CONSTRAINT PK_rs_culture_narrative PRIMARY KEY CONSTRAINT PK_tl_culture_narrative PRIMARY KEY
( (
object_id object_id
) ; ) ;
CREATE INDEX idx_rs_culture_narrative_culture_element_number CREATE INDEX idx_tl_culture_narrative_culture_element_number
ON rs_culture_narrative (culture_element_number); ON tl_culture_narrative (culture_element_number);
CREATE INDEX idx_rs_culture_narrative_culture_element_quest_id CREATE INDEX idx_tl_culture_narrative_culture_element_quest_id
ON rs_culture_narrative (culture_element_quest_id); ON tl_culture_narrative (culture_element_quest_id);
CREATE INDEX idx_rs_culture_narrative_culture_element_rating_id CREATE INDEX idx_tl_culture_narrative_culture_element_rating_id
ON rs_culture_narrative (culture_element_rating_id); ON tl_culture_narrative (culture_element_rating_id);
-- DROP TABLE rs_factor; -- DROP TABLE tl_factor;
CREATE TABLE rs_factor ( CREATE TABLE tl_factor (
object_id number(12) NOT NULL , object_id number(12) NOT NULL ,
object_last_updated_date date DEFAULT SYSDATE NOT NULL , object_last_updated_date date DEFAULT SYSDATE NOT NULL ,
object_created_date date DEFAULT SYSDATE NOT NULL object_created_date date DEFAULT SYSDATE NOT NULL
...@@ -14,8 +14,8 @@ CREATE TABLE rs_factor ( ...@@ -14,8 +14,8 @@ CREATE TABLE rs_factor (
ALTER TABLE rs_factor ADD ALTER TABLE tl_factor ADD
CONSTRAINT PK_rs_factor PRIMARY KEY CONSTRAINT PK_tl_factor PRIMARY KEY
( (
object_id object_id
) ; ) ;
......
-- DROP TABLE rs_factor_hdr; -- DROP TABLE tl_factor_hdr;
CREATE TABLE rs_factor_hdr ( CREATE TABLE tl_factor_hdr (
object_id number(12) NOT NULL , object_id number(12) NOT NULL ,
object_last_updated_date date DEFAULT SYSDATE NOT NULL , object_last_updated_date date DEFAULT SYSDATE NOT NULL ,
object_created_date date DEFAULT SYSDATE NOT NULL object_created_date date DEFAULT SYSDATE NOT NULL
...@@ -21,16 +21,16 @@ CREATE TABLE rs_factor_hdr ( ...@@ -21,16 +21,16 @@ CREATE TABLE rs_factor_hdr (
ALTER TABLE rs_factor_hdr ADD ALTER TABLE tl_factor_hdr ADD
CONSTRAINT PK_rs_factor_hdr PRIMARY KEY CONSTRAINT PK_tl_factor_hdr PRIMARY KEY
( (
object_id object_id
) ; ) ;
CREATE INDEX idx_rs_factor_hdr_level_number CREATE INDEX idx_tl_factor_hdr_level_number
ON rs_factor_hdr (level_number); ON tl_factor_hdr (level_number);
CREATE INDEX idx_rs_factor_hdr_factor_number CREATE INDEX idx_tl_factor_hdr_factor_number
ON rs_factor_hdr (factor_number); ON tl_factor_hdr (factor_number);
-- DROP TABLE rs_factor_lin; -- DROP TABLE tl_factor_lin;
CREATE TABLE rs_factor_lin ( CREATE TABLE tl_factor_lin (
object_id number(12) NOT NULL , object_id number(12) NOT NULL ,
object_last_updated_date date DEFAULT SYSDATE NOT NULL , object_last_updated_date date DEFAULT SYSDATE NOT NULL ,
object_created_date date DEFAULT SYSDATE NOT NULL object_created_date date DEFAULT SYSDATE NOT NULL
...@@ -16,16 +16,16 @@ CREATE TABLE rs_factor_lin ( ...@@ -16,16 +16,16 @@ CREATE TABLE rs_factor_lin (
ALTER TABLE rs_factor_lin ADD ALTER TABLE tl_factor_lin ADD
CONSTRAINT PK_rs_factor_lin PRIMARY KEY CONSTRAINT PK_tl_factor_lin PRIMARY KEY
( (
object_id object_id
) ; ) ;
CREATE INDEX idx_rs_factor_lin_factor_number CREATE INDEX idx_tl_factor_lin_factor_number
ON rs_factor_lin (factor_number); ON tl_factor_lin (factor_number);
CREATE INDEX idx_rs_factor_lin_quest_number CREATE INDEX idx_tl_factor_lin_quest_number
ON rs_factor_lin (quest_number); ON tl_factor_lin (quest_number);
-- DROP TABLE rs_score; -- DROP TABLE tl_score;
CREATE TABLE rs_score ( CREATE TABLE tl_score (
object_id number(12) NOT NULL , object_id number(12) NOT NULL ,
object_last_updated_date date DEFAULT SYSDATE NOT NULL , object_last_updated_date date DEFAULT SYSDATE NOT NULL ,
object_created_date date DEFAULT SYSDATE NOT NULL object_created_date date DEFAULT SYSDATE NOT NULL
...@@ -20,16 +20,16 @@ CREATE TABLE rs_score ( ...@@ -20,16 +20,16 @@ CREATE TABLE rs_score (
ALTER TABLE rs_score ADD ALTER TABLE tl_score ADD
CONSTRAINT PK_rs_score PRIMARY KEY CONSTRAINT PK_tl_score PRIMARY KEY
( (
object_id object_id
) ; ) ;
CREATE INDEX idx_rs_score_test_analysis_id CREATE INDEX idx_tl_score_test_analysis_id
ON rs_score (test_analysis_id); ON tl_score (test_analysis_id);
CREATE INDEX idx_rs_score_narrative_id CREATE INDEX idx_tl_score_narrative_id
ON rs_score (narrative_id); ON tl_score (narrative_id);
-- DROP TABLE rs_level_factor; -- DROP TABLE tl_level_factor;
CREATE TABLE rs_level_factor ( CREATE TABLE tl_level_factor (
object_id number(12) NOT NULL , object_id number(12) NOT NULL ,
object_last_updated_date date DEFAULT SYSDATE NOT NULL , object_last_updated_date date DEFAULT SYSDATE NOT NULL ,
object_created_date date DEFAULT SYSDATE NOT NULL object_created_date date DEFAULT SYSDATE NOT NULL
...@@ -19,19 +19,19 @@ CREATE TABLE rs_level_factor ( ...@@ -19,19 +19,19 @@ CREATE TABLE rs_level_factor (
ALTER TABLE rs_level_factor ADD ALTER TABLE tl_level_factor ADD
CONSTRAINT PK_rs_level_factor PRIMARY KEY CONSTRAINT PK_tl_level_factor PRIMARY KEY
( (
object_id object_id
) ; ) ;
CREATE INDEX idx_rs_level_factor_factor_number CREATE INDEX idx_tl_level_factor_factor_number
ON rs_level_factor (factor_number); ON tl_level_factor (factor_number);
CREATE INDEX idx_rs_level_factor_level_number CREATE INDEX idx_tl_level_factor_level_number
ON rs_level_factor (level_number); ON tl_level_factor (level_number);
CREATE INDEX idx_rs_level_factor_narrative_id CREATE INDEX idx_tl_level_factor_narrative_id
ON rs_level_factor (narrative_id); ON tl_level_factor (narrative_id);
-- DROP TABLE rs_level; -- DROP TABLE tl_level;
CREATE TABLE rs_level ( CREATE TABLE tl_level (
object_id number(12) NOT NULL , object_id number(12) NOT NULL ,
object_last_updated_date date DEFAULT SYSDATE NOT NULL , object_last_updated_date date DEFAULT SYSDATE NOT NULL ,
object_created_date date DEFAULT SYSDATE NOT NULL object_created_date date DEFAULT SYSDATE NOT NULL
...@@ -16,8 +16,8 @@ CREATE TABLE rs_level ( ...@@ -16,8 +16,8 @@ CREATE TABLE rs_level (
ALTER TABLE rs_level ADD ALTER TABLE tl_level ADD
CONSTRAINT PK_rs_level PRIMARY KEY CONSTRAINT PK_tl_level PRIMARY KEY
( (
object_id object_id
) ; ) ;
......
-- DROP TABLE rs_narrative; -- DROP TABLE tl_narrative;
CREATE TABLE rs_narrative ( CREATE TABLE tl_narrative (
object_id number(12) NOT NULL , object_id number(12) NOT NULL ,
object_last_updated_date date DEFAULT SYSDATE NOT NULL , object_last_updated_date date DEFAULT SYSDATE NOT NULL ,
object_created_date date DEFAULT SYSDATE NOT NULL object_created_date date DEFAULT SYSDATE NOT NULL
...@@ -22,13 +22,13 @@ CREATE TABLE rs_narrative ( ...@@ -22,13 +22,13 @@ CREATE TABLE rs_narrative (
ALTER TABLE rs_narrative ADD ALTER TABLE tl_narrative ADD
CONSTRAINT PK_rs_narrative PRIMARY KEY CONSTRAINT PK_tl_narrative PRIMARY KEY
( (
object_id object_id
) ; ) ;
CREATE INDEX idx_rs_narrative_level_number CREATE INDEX idx_tl_narrative_level_number
ON rs_narrative (level_number); ON tl_narrative (level_number);
-- DROP TABLE rs_quest_lin; -- DROP TABLE tl_quest_lin;
CREATE TABLE rs_quest_lin ( CREATE TABLE tl_quest_lin (
object_id number(12) NOT NULL , object_id number(12) NOT NULL ,
object_last_updated_date date DEFAULT SYSDATE NOT NULL , object_last_updated_date date DEFAULT SYSDATE NOT NULL ,
object_created_date date DEFAULT SYSDATE NOT NULL object_created_date date DEFAULT SYSDATE NOT NULL
...@@ -15,13 +15,13 @@ CREATE TABLE rs_quest_lin ( ...@@ -15,13 +15,13 @@ CREATE TABLE rs_quest_lin (
ALTER TABLE rs_quest_lin ADD ALTER TABLE tl_quest_lin ADD
CONSTRAINT PK_rs_quest_lin PRIMARY KEY CONSTRAINT PK_tl_quest_lin PRIMARY KEY
( (
object_id object_id
) ; ) ;
CREATE INDEX idx_rs_quest_lin_section_number CREATE INDEX idx_tl_quest_lin_section_number
ON rs_quest_lin (section_number); ON tl_quest_lin (section_number);
-- DROP TABLE rs_quest_hdr; -- DROP TABLE tl_quest_hdr;
CREATE TABLE rs_quest_hdr ( CREATE TABLE tl_quest_hdr (
object_id number(12) NOT NULL , object_id number(12) NOT NULL ,
object_last_updated_date date DEFAULT SYSDATE NOT NULL , object_last_updated_date date DEFAULT SYSDATE NOT NULL ,
object_created_date date DEFAULT SYSDATE NOT NULL object_created_date date DEFAULT SYSDATE NOT NULL
...@@ -15,8 +15,8 @@ CREATE TABLE rs_quest_hdr ( ...@@ -15,8 +15,8 @@ CREATE TABLE rs_quest_hdr (
ALTER TABLE rs_quest_hdr ADD ALTER TABLE tl_quest_hdr ADD
CONSTRAINT PK_rs_quest_hdr PRIMARY KEY CONSTRAINT PK_tl_quest_hdr PRIMARY KEY
( (
object_id object_id
) ; ) ;
......
-- DROP TABLE rs_test_analysis; -- DROP TABLE tl_test_analysis;
CREATE TABLE rs_test_analysis ( CREATE TABLE tl_test_analysis (
object_id number(12) NOT NULL , object_id number(12) NOT NULL ,
object_last_updated_date date DEFAULT SYSDATE NOT NULL , object_last_updated_date date DEFAULT SYSDATE NOT NULL ,
object_created_date date DEFAULT SYSDATE NOT NULL object_created_date date DEFAULT SYSDATE NOT NULL
...@@ -15,16 +15,16 @@ CREATE TABLE rs_test_analysis ( ...@@ -15,16 +15,16 @@ CREATE TABLE rs_test_analysis (
ALTER TABLE rs_test_analysis ADD ALTER TABLE tl_test_analysis ADD
CONSTRAINT PK_rs_test_analysis PRIMARY KEY CONSTRAINT PK_tl_test_analysis PRIMARY KEY
( (
object_id object_id
) ; ) ;
CREATE INDEX idx_rs_test_analysis_level_id CREATE INDEX idx_tl_test_analysis_level_id
ON rs_test_analysis (level_id); ON tl_test_analysis (level_id);
CREATE INDEX idx_rs_test_analysis_candidate_id CREATE INDEX idx_tl_test_analysis_candidate_id
ON rs_test_analysis (candidate_id); ON tl_test_analysis (candidate_id);
-- @AutoRun -- @AutoRun
-- drop table rs_answer; -- drop table tl_answer;
CREATE TABLE rs_answer ( CREATE TABLE tl_answer (
object_id numeric(12) NOT NULL , object_id numeric(12) NOT NULL ,
object_last_updated_date timestamp DEFAULT NOW() NOT NULL , object_last_updated_date timestamp DEFAULT NOW() NOT NULL ,
object_created_date timestamp DEFAULT NOW() NOT NULL object_created_date timestamp DEFAULT NOW() NOT NULL
...@@ -17,13 +17,13 @@ CREATE TABLE rs_answer ( ...@@ -17,13 +17,13 @@ CREATE TABLE rs_answer (
ALTER TABLE rs_answer ADD ALTER TABLE tl_answer ADD
CONSTRAINT pk_rs_answer PRIMARY KEY CONSTRAINT pk_tl_answer PRIMARY KEY
( (
object_id object_id
) ; ) ;
CREATE INDEX idx_rs_answer_candidate_id CREATE INDEX idx_tl_answer_candidate_id
ON rs_answer (candidate_id); ON tl_answer (candidate_id);
-- @AutoRun -- @AutoRun
-- drop table rs_candidate; -- drop table tl_candidate;
CREATE TABLE rs_candidate ( CREATE TABLE tl_candidate (
object_id numeric(12) NOT NULL , object_id numeric(12) NOT NULL ,
object_last_updated_date timestamp DEFAULT NOW() NOT NULL , object_last_updated_date timestamp DEFAULT NOW() NOT NULL ,
object_created_date timestamp DEFAULT NOW() NOT NULL object_created_date timestamp DEFAULT NOW() NOT NULL
...@@ -15,13 +15,13 @@ CREATE TABLE rs_candidate ( ...@@ -15,13 +15,13 @@ CREATE TABLE rs_candidate (
ALTER TABLE rs_candidate ADD ALTER TABLE tl_candidate ADD
CONSTRAINT pk_rs_candidate PRIMARY KEY CONSTRAINT pk_tl_candidate PRIMARY KEY
( (
object_id object_id
) ; ) ;
CREATE INDEX idx_rs_candidate_test_input_id CREATE INDEX idx_tl_candidate_test_input_id
ON rs_candidate (test_input_id); ON tl_candidate (test_input_id);
-- @AutoRun -- @AutoRun
-- drop table rs_culture_element; -- drop table tl_culture_element;
CREATE TABLE rs_culture_element ( CREATE TABLE tl_culture_element (
object_id numeric(12) NOT NULL , object_id numeric(12) NOT NULL ,
object_last_updated_date timestamp DEFAULT NOW() NOT NULL , object_last_updated_date timestamp DEFAULT NOW() NOT NULL ,
object_created_date timestamp DEFAULT NOW() NOT NULL object_created_date timestamp DEFAULT NOW() NOT NULL
...@@ -15,8 +15,8 @@ CREATE TABLE rs_culture_element ( ...@@ -15,8 +15,8 @@ CREATE TABLE rs_culture_element (
ALTER TABLE rs_culture_element ADD ALTER TABLE tl_culture_element ADD
CONSTRAINT pk_rs_culture_element PRIMARY KEY CONSTRAINT pk_tl_culture_element PRIMARY KEY
( (
object_id object_id
) ; ) ;
......
-- @AutoRun -- @AutoRun
-- drop table rs_culture_element_quest; -- drop table tl_culture_element_quest;
CREATE TABLE rs_culture_element_quest ( CREATE TABLE tl_culture_element_quest (
object_id numeric(12) NOT NULL , object_id numeric(12) NOT NULL ,
object_last_updated_date timestamp DEFAULT NOW() NOT NULL , object_last_updated_date timestamp DEFAULT NOW() NOT NULL ,
object_created_date timestamp DEFAULT NOW() NOT NULL object_created_date timestamp DEFAULT NOW() NOT NULL
...@@ -15,13 +15,13 @@ CREATE TABLE rs_culture_element_quest ( ...@@ -15,13 +15,13 @@ CREATE TABLE rs_culture_element_quest (
ALTER TABLE rs_culture_element_quest ADD ALTER TABLE tl_culture_element_quest ADD
CONSTRAINT pk_rs_culture_element_quest PRIMARY KEY CONSTRAINT pk_tl_culture_element_quest PRIMARY KEY
( (
object_id object_id
) ; ) ;
CREATE INDEX idx_rs_culture_element_quest_culture_element_number CREATE INDEX idx_tl_culture_element_quest_culture_element_number
ON rs_culture_element_quest (culture_element_number); ON tl_culture_element_quest (culture_element_number);
-- @AutoRun -- @AutoRun
-- drop table rs_culture_element_rating; -- drop table tl_culture_element_rating;
CREATE TABLE rs_culture_element_rating ( CREATE TABLE tl_culture_element_rating (
object_id numeric(12) NOT NULL , object_id numeric(12) NOT NULL ,
object_last_updated_date timestamp DEFAULT NOW() NOT NULL , object_last_updated_date timestamp DEFAULT NOW() NOT NULL ,
object_created_date timestamp DEFAULT NOW() NOT NULL object_created_date timestamp DEFAULT NOW() NOT NULL
...@@ -15,13 +15,13 @@ CREATE TABLE rs_culture_element_rating ( ...@@ -15,13 +15,13 @@ CREATE TABLE rs_culture_element_rating (
ALTER TABLE rs_culture_element_rating ADD ALTER TABLE tl_culture_element_rating ADD
CONSTRAINT pk_rs_culture_element_rating PRIMARY KEY CONSTRAINT pk_tl_culture_element_rating PRIMARY KEY
( (
object_id object_id
) ; ) ;
CREATE INDEX idx_rs_culture_element_rating_culture_element_number CREATE INDEX idx_tl_culture_element_rating_culture_element_number
ON rs_culture_element_rating (culture_element_number); ON tl_culture_element_rating (culture_element_number);
-- @AutoRun -- @AutoRun
-- drop table rs_culture_narrative; -- drop table tl_culture_narrative;
CREATE TABLE rs_culture_narrative ( CREATE TABLE tl_culture_narrative (
object_id numeric(12) NOT NULL , object_id numeric(12) NOT NULL ,
object_last_updated_date timestamp DEFAULT NOW() NOT NULL , object_last_updated_date timestamp DEFAULT NOW() NOT NULL ,
object_created_date timestamp DEFAULT NOW() NOT NULL object_created_date timestamp DEFAULT NOW() NOT NULL
...@@ -18,19 +18,19 @@ CREATE TABLE rs_culture_narrative ( ...@@ -18,19 +18,19 @@ CREATE TABLE rs_culture_narrative (
ALTER TABLE rs_culture_narrative ADD ALTER TABLE tl_culture_narrative ADD
CONSTRAINT pk_rs_culture_narrative PRIMARY KEY CONSTRAINT pk_tl_culture_narrative PRIMARY KEY
( (
object_id object_id
) ; ) ;
CREATE INDEX idx_rs_culture_narrative_culture_element_number CREATE INDEX idx_tl_culture_narrative_culture_element_number
ON rs_culture_narrative (culture_element_number); ON tl_culture_narrative (culture_element_number);
CREATE INDEX idx_rs_culture_narrative_culture_element_quest_id CREATE INDEX idx_tl_culture_narrative_culture_element_quest_id
ON rs_culture_narrative (culture_element_quest_id); ON tl_culture_narrative (culture_element_quest_id);
CREATE INDEX idx_rs_culture_narrative_culture_element_rating_id CREATE INDEX idx_tl_culture_narrative_culture_element_rating_id
ON rs_culture_narrative (culture_element_rating_id); ON tl_culture_narrative (culture_element_rating_id);
-- @AutoRun -- @AutoRun
-- drop table rs_factor; -- drop table tl_factor;
CREATE TABLE rs_factor ( CREATE TABLE tl_factor (
object_id numeric(12) NOT NULL , object_id numeric(12) NOT NULL ,
object_last_updated_date timestamp DEFAULT NOW() NOT NULL , object_last_updated_date timestamp DEFAULT NOW() NOT NULL ,
object_created_date timestamp DEFAULT NOW() NOT NULL object_created_date timestamp DEFAULT NOW() NOT NULL
...@@ -14,8 +14,8 @@ CREATE TABLE rs_factor ( ...@@ -14,8 +14,8 @@ CREATE TABLE rs_factor (
ALTER TABLE rs_factor ADD ALTER TABLE tl_factor ADD
CONSTRAINT pk_rs_factor PRIMARY KEY CONSTRAINT pk_tl_factor PRIMARY KEY
( (
object_id object_id
) ; ) ;
......
-- @AutoRun -- @AutoRun
-- drop table rs_factor_hdr; -- drop table tl_factor_hdr;
CREATE TABLE rs_factor_hdr ( CREATE TABLE tl_factor_hdr (
object_id numeric(12) NOT NULL , object_id numeric(12) NOT NULL ,
object_last_updated_date timestamp DEFAULT NOW() NOT NULL , object_last_updated_date timestamp DEFAULT NOW() NOT NULL ,
object_created_date timestamp DEFAULT NOW() NOT NULL object_created_date timestamp DEFAULT NOW() NOT NULL
...@@ -21,16 +21,16 @@ CREATE TABLE rs_factor_hdr ( ...@@ -21,16 +21,16 @@ CREATE TABLE rs_factor_hdr (
ALTER TABLE rs_factor_hdr ADD ALTER TABLE tl_factor_hdr ADD
CONSTRAINT pk_rs_factor_hdr PRIMARY KEY CONSTRAINT pk_tl_factor_hdr PRIMARY KEY
( (
object_id object_id
) ; ) ;
CREATE INDEX idx_rs_factor_hdr_level_number CREATE INDEX idx_tl_factor_hdr_level_number
ON rs_factor_hdr (level_number); ON tl_factor_hdr (level_number);
CREATE INDEX idx_rs_factor_hdr_factor_number CREATE INDEX idx_tl_factor_hdr_factor_number
ON rs_factor_hdr (factor_number); ON tl_factor_hdr (factor_number);
-- @AutoRun -- @AutoRun
-- drop table rs_factor_lin; -- drop table tl_factor_lin;
CREATE TABLE rs_factor_lin ( CREATE TABLE tl_factor_lin (
object_id numeric(12) NOT NULL , object_id numeric(12) NOT NULL ,
object_last_updated_date timestamp DEFAULT NOW() NOT NULL , object_last_updated_date timestamp DEFAULT NOW() NOT NULL ,
object_created_date timestamp DEFAULT NOW() NOT NULL object_created_date timestamp DEFAULT NOW() NOT NULL
...@@ -16,16 +16,16 @@ CREATE TABLE rs_factor_lin ( ...@@ -16,16 +16,16 @@ CREATE TABLE rs_factor_lin (
ALTER TABLE rs_factor_lin ADD ALTER TABLE tl_factor_lin ADD
CONSTRAINT pk_rs_factor_lin PRIMARY KEY CONSTRAINT pk_tl_factor_lin PRIMARY KEY
( (
object_id object_id
) ; ) ;
CREATE INDEX idx_rs_factor_lin_factor_number CREATE INDEX idx_tl_factor_lin_factor_number
ON rs_factor_lin (factor_number); ON tl_factor_lin (factor_number);
CREATE INDEX idx_rs_factor_lin_quest_number CREATE INDEX idx_tl_factor_lin_quest_number
ON rs_factor_lin (quest_number); ON tl_factor_lin (quest_number);
-- @AutoRun -- @AutoRun
-- drop table rs_score; -- drop table tl_score;
CREATE TABLE rs_score ( CREATE TABLE tl_score (
object_id numeric(12) NOT NULL , object_id numeric(12) NOT NULL ,
object_last_updated_date timestamp DEFAULT NOW() NOT NULL , object_last_updated_date timestamp DEFAULT NOW() NOT NULL ,
object_created_date timestamp DEFAULT NOW() NOT NULL object_created_date timestamp DEFAULT NOW() NOT NULL
...@@ -20,16 +20,16 @@ CREATE TABLE rs_score ( ...@@ -20,16 +20,16 @@ CREATE TABLE rs_score (
ALTER TABLE rs_score ADD ALTER TABLE tl_score ADD
CONSTRAINT pk_rs_score PRIMARY KEY CONSTRAINT pk_tl_score PRIMARY KEY
( (
object_id object_id
) ; ) ;
CREATE INDEX idx_rs_score_test_analysis_id CREATE INDEX idx_tl_score_test_analysis_id
ON rs_score (test_analysis_id); ON tl_score (test_analysis_id);
CREATE INDEX idx_rs_score_narrative_id CREATE INDEX idx_tl_score_narrative_id
ON rs_score (narrative_id); ON tl_score (narrative_id);
-- @AutoRun -- @AutoRun
-- drop table rs_level_factor; -- drop table tl_level_factor;
CREATE TABLE rs_level_factor ( CREATE TABLE tl_level_factor (
object_id numeric(12) NOT NULL , object_id numeric(12) NOT NULL ,
object_last_updated_date timestamp DEFAULT NOW() NOT NULL , object_last_updated_date timestamp DEFAULT NOW() NOT NULL ,
object_created_date timestamp DEFAULT NOW() NOT NULL object_created_date timestamp DEFAULT NOW() NOT NULL
...@@ -19,19 +19,19 @@ CREATE TABLE rs_level_factor ( ...@@ -19,19 +19,19 @@ CREATE TABLE rs_level_factor (
ALTER TABLE rs_level_factor ADD ALTER TABLE tl_level_factor ADD
CONSTRAINT pk_rs_level_factor PRIMARY KEY CONSTRAINT pk_tl_level_factor PRIMARY KEY
( (
object_id object_id
) ; ) ;
CREATE INDEX idx_rs_level_factor_factor_number CREATE INDEX idx_tl_level_factor_factor_number
ON rs_level_factor (factor_number); ON tl_level_factor (factor_number);
CREATE INDEX idx_rs_level_factor_level_number CREATE INDEX idx_tl_level_factor_level_number
ON rs_level_factor (level_number); ON tl_level_factor (level_number);
CREATE INDEX idx_rs_level_factor_narrative_id CREATE INDEX idx_tl_level_factor_narrative_id
ON rs_level_factor (narrative_id); ON tl_level_factor (narrative_id);
-- @AutoRun -- @AutoRun
-- drop table rs_level; -- drop table tl_level;
CREATE TABLE rs_level ( CREATE TABLE tl_level (
object_id numeric(12) NOT NULL , object_id numeric(12) NOT NULL ,
object_last_updated_date timestamp DEFAULT NOW() NOT NULL , object_last_updated_date timestamp DEFAULT NOW() NOT NULL ,
object_created_date timestamp DEFAULT NOW() NOT NULL object_created_date timestamp DEFAULT NOW() NOT NULL
...@@ -16,8 +16,8 @@ CREATE TABLE rs_level ( ...@@ -16,8 +16,8 @@ CREATE TABLE rs_level (
ALTER TABLE rs_level ADD ALTER TABLE tl_level ADD
CONSTRAINT pk_rs_level PRIMARY KEY CONSTRAINT pk_tl_level PRIMARY KEY
( (
object_id object_id
) ; ) ;
......
-- @AutoRun -- @AutoRun
-- drop table rs_narrative; -- drop table tl_narrative;
CREATE TABLE rs_narrative ( CREATE TABLE tl_narrative (
object_id numeric(12) NOT NULL , object_id numeric(12) NOT NULL ,
object_last_updated_date timestamp DEFAULT NOW() NOT NULL , object_last_updated_date timestamp DEFAULT NOW() NOT NULL ,
object_created_date timestamp DEFAULT NOW() NOT NULL object_created_date timestamp DEFAULT NOW() NOT NULL
...@@ -22,13 +22,13 @@ CREATE TABLE rs_narrative ( ...@@ -22,13 +22,13 @@ CREATE TABLE rs_narrative (
ALTER TABLE rs_narrative ADD ALTER TABLE tl_narrative ADD
CONSTRAINT pk_rs_narrative PRIMARY KEY CONSTRAINT pk_tl_narrative PRIMARY KEY
( (
object_id object_id
) ; ) ;
CREATE INDEX idx_rs_narrative_level_number CREATE INDEX idx_tl_narrative_level_number
ON rs_narrative (level_number); ON tl_narrative (level_number);
-- @AutoRun -- @AutoRun
-- drop table rs_quest_lin; -- drop table tl_quest_lin;
CREATE TABLE rs_quest_lin ( CREATE TABLE tl_quest_lin (
object_id numeric(12) NOT NULL , object_id numeric(12) NOT NULL ,
object_last_updated_date timestamp DEFAULT NOW() NOT NULL , object_last_updated_date timestamp DEFAULT NOW() NOT NULL ,
object_created_date timestamp DEFAULT NOW() NOT NULL object_created_date timestamp DEFAULT NOW() NOT NULL
...@@ -15,13 +15,13 @@ CREATE TABLE rs_quest_lin ( ...@@ -15,13 +15,13 @@ CREATE TABLE rs_quest_lin (
ALTER TABLE rs_quest_lin ADD ALTER TABLE tl_quest_lin ADD
CONSTRAINT pk_rs_quest_lin PRIMARY KEY CONSTRAINT pk_tl_quest_lin PRIMARY KEY
( (
object_id object_id
) ; ) ;
CREATE INDEX idx_rs_quest_lin_section_number CREATE INDEX idx_tl_quest_lin_section_number
ON rs_quest_lin (section_number); ON tl_quest_lin (section_number);
-- @AutoRun -- @AutoRun
-- drop table rs_quest_hdr; -- drop table tl_quest_hdr;
CREATE TABLE rs_quest_hdr ( CREATE TABLE tl_quest_hdr (
object_id numeric(12) NOT NULL , object_id numeric(12) NOT NULL ,
object_last_updated_date timestamp DEFAULT NOW() NOT NULL , object_last_updated_date timestamp DEFAULT NOW() NOT NULL ,
object_created_date timestamp DEFAULT NOW() NOT NULL object_created_date timestamp DEFAULT NOW() NOT NULL
...@@ -15,8 +15,8 @@ CREATE TABLE rs_quest_hdr ( ...@@ -15,8 +15,8 @@ CREATE TABLE rs_quest_hdr (
ALTER TABLE rs_quest_hdr ADD ALTER TABLE tl_quest_hdr ADD
CONSTRAINT pk_rs_quest_hdr PRIMARY KEY CONSTRAINT pk_tl_quest_hdr PRIMARY KEY
( (
object_id object_id
) ; ) ;
......
-- @AutoRun -- @AutoRun
-- drop table rs_test_analysis; -- drop table tl_test_analysis;
CREATE TABLE rs_test_analysis ( CREATE TABLE tl_test_analysis (
object_id numeric(12) NOT NULL , object_id numeric(12) NOT NULL ,
object_last_updated_date timestamp DEFAULT NOW() NOT NULL , object_last_updated_date timestamp DEFAULT NOW() NOT NULL ,
object_created_date timestamp DEFAULT NOW() NOT NULL object_created_date timestamp DEFAULT NOW() NOT NULL
...@@ -15,16 +15,16 @@ CREATE TABLE rs_test_analysis ( ...@@ -15,16 +15,16 @@ CREATE TABLE rs_test_analysis (
ALTER TABLE rs_test_analysis ADD ALTER TABLE tl_test_analysis ADD
CONSTRAINT pk_rs_test_analysis PRIMARY KEY CONSTRAINT pk_tl_test_analysis PRIMARY KEY
( (
object_id object_id
) ; ) ;
CREATE INDEX idx_rs_test_analysis_level_id CREATE INDEX idx_tl_test_analysis_level_id
ON rs_test_analysis (level_id); ON tl_test_analysis (level_id);
CREATE INDEX idx_rs_test_analysis_candidate_id CREATE INDEX idx_tl_test_analysis_candidate_id
ON rs_test_analysis (candidate_id); ON tl_test_analysis (candidate_id);
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<BUSINESSCLASS name="Answer" package="performa.orm"> <BUSINESSCLASS name="Answer" package="performa.orm">
<TABLE name="rs_answer" tablePrefix="object" polymorphic="FALSE"> <TABLE name="tl_answer" tablePrefix="object" polymorphic="FALSE">
<ATTRIB name="AnswerNo" type="Integer" dbcol="answer_number"/> <ATTRIB name="AnswerNo" type="Integer" dbcol="answer_number"/>
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
</TABLE> </TABLE>
<SEARCH type="All" paramFilter="rs_answer.object_id is not null" orderBy="rs_answer.object_id" /> <SEARCH type="All" paramFilter="tl_answer.object_id is not null" orderBy="tl_answer.object_id" />
</BUSINESSCLASS> </BUSINESSCLASS>
......
...@@ -199,9 +199,9 @@ public abstract class BaseAnswer extends BaseBusinessClass ...@@ -199,9 +199,9 @@ public abstract class BaseAnswer extends BaseBusinessClass
{ {
super._initialiseAssociations (); super._initialiseAssociations ();
_Section = new SingleAssociation<Answer, Section> (this, SINGLEREFERENCE_Section, null, Section.REFERENCE_Section, "rs_answer"); _Section = new SingleAssociation<Answer, Section> (this, SINGLEREFERENCE_Section, null, Section.REFERENCE_Section, "tl_answer");
_Candidate = new SingleAssociation<Answer, Candidate> (this, SINGLEREFERENCE_Candidate, Candidate.MULTIPLEREFERENCE_Answers, Candidate.REFERENCE_Candidate, "rs_answer"); _Candidate = new SingleAssociation<Answer, Candidate> (this, SINGLEREFERENCE_Candidate, Candidate.MULTIPLEREFERENCE_Answers, Candidate.REFERENCE_Candidate, "tl_answer");
_Question = new SingleAssociation<Answer, Question> (this, SINGLEREFERENCE_Question, null, Question.REFERENCE_Question, "rs_answer"); _Question = new SingleAssociation<Answer, Question> (this, SINGLEREFERENCE_Question, null, Question.REFERENCE_Question, "tl_answer");
} }
...@@ -211,9 +211,9 @@ public abstract class BaseAnswer extends BaseBusinessClass ...@@ -211,9 +211,9 @@ public abstract class BaseAnswer extends BaseBusinessClass
{ {
super.initialiseReference (); super.initialiseReference ();
_Section = new SingleAssociation<Answer, Section> (this, SINGLEREFERENCE_Section, null, Section.REFERENCE_Section, "rs_answer"); _Section = new SingleAssociation<Answer, Section> (this, SINGLEREFERENCE_Section, null, Section.REFERENCE_Section, "tl_answer");
_Candidate = new SingleAssociation<Answer, Candidate> (this, SINGLEREFERENCE_Candidate, Candidate.MULTIPLEREFERENCE_Answers, Candidate.REFERENCE_Candidate, "rs_answer"); _Candidate = new SingleAssociation<Answer, Candidate> (this, SINGLEREFERENCE_Candidate, Candidate.MULTIPLEREFERENCE_Answers, Candidate.REFERENCE_Candidate, "tl_answer");
_Question = new SingleAssociation<Answer, Question> (this, SINGLEREFERENCE_Question, null, Question.REFERENCE_Question, "rs_answer"); _Question = new SingleAssociation<Answer, Question> (this, SINGLEREFERENCE_Question, null, Question.REFERENCE_Question, "tl_answer");
return this; return this;
...@@ -922,7 +922,7 @@ public abstract class BaseAnswer extends BaseBusinessClass ...@@ -922,7 +922,7 @@ public abstract class BaseAnswer extends BaseBusinessClass
public String getBaseSetName () public String getBaseSetName ()
{ {
return "rs_answer"; return "tl_answer";
} }
...@@ -943,10 +943,10 @@ public abstract class BaseAnswer extends BaseBusinessClass ...@@ -943,10 +943,10 @@ public abstract class BaseAnswer extends BaseBusinessClass
super.getPersistentSets (allSets); super.getPersistentSets (allSets);
PersistentSet rs_answerPSet = allSets.getPersistentSet (myID, "rs_answer", myPSetStatus); PersistentSet tl_answerPSet = allSets.getPersistentSet (myID, "tl_answer", myPSetStatus);
rs_answerPSet.setAttrib (FIELD_ObjectID, myID); tl_answerPSet.setAttrib (FIELD_ObjectID, myID);
rs_answerPSet.setAttrib (FIELD_AnswerNo, HELPER_AnswerNo.toObject (_AnswerNo)); // tl_answerPSet.setAttrib (FIELD_AnswerNo, HELPER_AnswerNo.toObject (_AnswerNo)); //
_Section.getPersistentSets (allSets); _Section.getPersistentSets (allSets);
_Candidate.getPersistentSets (allSets); _Candidate.getPersistentSets (allSets);
_Question.getPersistentSets (allSets); _Question.getPersistentSets (allSets);
...@@ -962,9 +962,9 @@ public abstract class BaseAnswer extends BaseBusinessClass ...@@ -962,9 +962,9 @@ public abstract class BaseAnswer extends BaseBusinessClass
super.setFromPersistentSets (objectID, allSets); super.setFromPersistentSets (objectID, allSets);
PersistentSet rs_answerPSet = allSets.getPersistentSet (objectID, "rs_answer"); PersistentSet tl_answerPSet = allSets.getPersistentSet (objectID, "tl_answer");
_AnswerNo = (Integer)(HELPER_AnswerNo.fromObject (_AnswerNo, rs_answerPSet.getAttrib (FIELD_AnswerNo))); // _AnswerNo = (Integer)(HELPER_AnswerNo.fromObject (_AnswerNo, tl_answerPSet.getAttrib (FIELD_AnswerNo))); //
_Section.setFromPersistentSets (objectID, allSets); _Section.setFromPersistentSets (objectID, allSets);
_Candidate.setFromPersistentSets (objectID, allSets); _Candidate.setFromPersistentSets (objectID, allSets);
_Question.setFromPersistentSets (objectID, allSets); _Question.setFromPersistentSets (objectID, allSets);
...@@ -1203,44 +1203,44 @@ public abstract class BaseAnswer extends BaseBusinessClass ...@@ -1203,44 +1203,44 @@ public abstract class BaseAnswer extends BaseBusinessClass
public SearchAll andObjectID (QueryFilter<Long> filter) public SearchAll andObjectID (QueryFilter<Long> filter)
{ {
filter.addFilter (context, "rs_answer.object_id", FIELD_ObjectID); filter.addFilter (context, "tl_answer.object_id", FIELD_ObjectID);
return this; return this;
} }
public SearchAll andObjectCreated (QueryFilter<Date> filter) public SearchAll andObjectCreated (QueryFilter<Date> filter)
{ {
filter.addFilter (context, "rs_answer.object_created_date", FIELD_ObjectCreated); filter.addFilter (context, "tl_answer.object_created_date", FIELD_ObjectCreated);
return this; return this;
} }
public SearchAll andObjectLastModified (QueryFilter<Date> filter) public SearchAll andObjectLastModified (QueryFilter<Date> filter)
{ {
filter.addFilter (context, "rs_answer.object_last_updated_date", FIELD_ObjectLastModified); filter.addFilter (context, "tl_answer.object_last_updated_date", FIELD_ObjectLastModified);
return this; return this;
} }
public SearchAll andAnswerNo (QueryFilter<Integer> filter) public SearchAll andAnswerNo (QueryFilter<Integer> filter)
{ {
filter.addFilter (context, "rs_answer.answer_number", "AnswerNo"); filter.addFilter (context, "tl_answer.answer_number", "AnswerNo");
return this; return this;
} }
public SearchAll andSection (QueryFilter<Section> filter) public SearchAll andSection (QueryFilter<Section> filter)
{ {
filter.addFilter (context, "rs_answer.section_number", "Section"); filter.addFilter (context, "tl_answer.section_number", "Section");
return this; return this;
} }
public SearchAll andCandidate (QueryFilter<Candidate> filter) public SearchAll andCandidate (QueryFilter<Candidate> filter)
{ {
filter.addFilter (context, "rs_answer.candidate_id", "Candidate"); filter.addFilter (context, "tl_answer.candidate_id", "Candidate");
return this; return this;
} }
public SearchAll andQuestion (QueryFilter<Question> filter) public SearchAll andQuestion (QueryFilter<Question> filter)
{ {
filter.addFilter (context, "rs_answer.quest_number", "Question"); filter.addFilter (context, "tl_answer.quest_number", "Question");
return this; return this;
} }
......
...@@ -204,7 +204,7 @@ public abstract class BaseCandidate extends BaseBusinessClass ...@@ -204,7 +204,7 @@ public abstract class BaseCandidate extends BaseBusinessClass
{ {
super._initialiseAssociations (); super._initialiseAssociations ();
_TestInput = new SingleAssociation<Candidate, TestInput> (this, SINGLEREFERENCE_TestInput, TestInput.MULTIPLEREFERENCE_Candidates, TestInput.REFERENCE_TestInput, "rs_candidate"); _TestInput = new SingleAssociation<Candidate, TestInput> (this, SINGLEREFERENCE_TestInput, TestInput.MULTIPLEREFERENCE_Candidates, TestInput.REFERENCE_TestInput, "tl_candidate");
_TestAnalysises = new MultipleAssociation<Candidate, TestAnalysis> (this, MULTIPLEREFERENCE_TestAnalysises, TestAnalysis.SINGLEREFERENCE_Candidate, TestAnalysis.REFERENCE_TestAnalysis); _TestAnalysises = new MultipleAssociation<Candidate, TestAnalysis> (this, MULTIPLEREFERENCE_TestAnalysises, TestAnalysis.SINGLEREFERENCE_Candidate, TestAnalysis.REFERENCE_TestAnalysis);
_Answers = new MultipleAssociation<Candidate, Answer> (this, MULTIPLEREFERENCE_Answers, Answer.SINGLEREFERENCE_Candidate, Answer.REFERENCE_Answer); _Answers = new MultipleAssociation<Candidate, Answer> (this, MULTIPLEREFERENCE_Answers, Answer.SINGLEREFERENCE_Candidate, Answer.REFERENCE_Answer);
...@@ -216,7 +216,7 @@ public abstract class BaseCandidate extends BaseBusinessClass ...@@ -216,7 +216,7 @@ public abstract class BaseCandidate extends BaseBusinessClass
{ {
super.initialiseReference (); super.initialiseReference ();
_TestInput = new SingleAssociation<Candidate, TestInput> (this, SINGLEREFERENCE_TestInput, TestInput.MULTIPLEREFERENCE_Candidates, TestInput.REFERENCE_TestInput, "rs_candidate"); _TestInput = new SingleAssociation<Candidate, TestInput> (this, SINGLEREFERENCE_TestInput, TestInput.MULTIPLEREFERENCE_Candidates, TestInput.REFERENCE_TestInput, "tl_candidate");
_TestAnalysises = new MultipleAssociation<Candidate, TestAnalysis> (this, MULTIPLEREFERENCE_TestAnalysises, TestAnalysis.SINGLEREFERENCE_Candidate, TestAnalysis.REFERENCE_TestAnalysis); _TestAnalysises = new MultipleAssociation<Candidate, TestAnalysis> (this, MULTIPLEREFERENCE_TestAnalysises, TestAnalysis.SINGLEREFERENCE_Candidate, TestAnalysis.REFERENCE_TestAnalysis);
_Answers = new MultipleAssociation<Candidate, Answer> (this, MULTIPLEREFERENCE_Answers, Answer.SINGLEREFERENCE_Candidate, Answer.REFERENCE_Answer); _Answers = new MultipleAssociation<Candidate, Answer> (this, MULTIPLEREFERENCE_Answers, Answer.SINGLEREFERENCE_Candidate, Answer.REFERENCE_Answer);
...@@ -943,7 +943,7 @@ public abstract class BaseCandidate extends BaseBusinessClass ...@@ -943,7 +943,7 @@ public abstract class BaseCandidate extends BaseBusinessClass
public String getBaseSetName () public String getBaseSetName ()
{ {
return "rs_candidate"; return "tl_candidate";
} }
...@@ -964,10 +964,10 @@ public abstract class BaseCandidate extends BaseBusinessClass ...@@ -964,10 +964,10 @@ public abstract class BaseCandidate extends BaseBusinessClass
super.getPersistentSets (allSets); super.getPersistentSets (allSets);
PersistentSet rs_candidatePSet = allSets.getPersistentSet (myID, "rs_candidate", myPSetStatus); PersistentSet tl_candidatePSet = allSets.getPersistentSet (myID, "tl_candidate", myPSetStatus);
rs_candidatePSet.setAttrib (FIELD_ObjectID, myID); tl_candidatePSet.setAttrib (FIELD_ObjectID, myID);
rs_candidatePSet.setAttrib (FIELD_FirstName, HELPER_FirstName.toObject (_FirstName)); // tl_candidatePSet.setAttrib (FIELD_FirstName, HELPER_FirstName.toObject (_FirstName)); //
_TestInput.getPersistentSets (allSets); _TestInput.getPersistentSets (allSets);
} }
...@@ -981,9 +981,9 @@ public abstract class BaseCandidate extends BaseBusinessClass ...@@ -981,9 +981,9 @@ public abstract class BaseCandidate extends BaseBusinessClass
super.setFromPersistentSets (objectID, allSets); super.setFromPersistentSets (objectID, allSets);
PersistentSet rs_candidatePSet = allSets.getPersistentSet (objectID, "rs_candidate"); PersistentSet tl_candidatePSet = allSets.getPersistentSet (objectID, "tl_candidate");
_FirstName = (String)(HELPER_FirstName.fromObject (_FirstName, rs_candidatePSet.getAttrib (FIELD_FirstName))); // _FirstName = (String)(HELPER_FirstName.fromObject (_FirstName, tl_candidatePSet.getAttrib (FIELD_FirstName))); //
_TestInput.setFromPersistentSets (objectID, allSets); _TestInput.setFromPersistentSets (objectID, allSets);
} }
...@@ -1212,32 +1212,32 @@ public abstract class BaseCandidate extends BaseBusinessClass ...@@ -1212,32 +1212,32 @@ public abstract class BaseCandidate extends BaseBusinessClass
public SearchAll andObjectID (QueryFilter<Long> filter) public SearchAll andObjectID (QueryFilter<Long> filter)
{ {
filter.addFilter (context, "rs_candidate.object_id", FIELD_ObjectID); filter.addFilter (context, "tl_candidate.object_id", FIELD_ObjectID);
return this; return this;
} }
public SearchAll andObjectCreated (QueryFilter<Date> filter) public SearchAll andObjectCreated (QueryFilter<Date> filter)
{ {
filter.addFilter (context, "rs_candidate.object_created_date", FIELD_ObjectCreated); filter.addFilter (context, "tl_candidate.object_created_date", FIELD_ObjectCreated);
return this; return this;
} }
public SearchAll andObjectLastModified (QueryFilter<Date> filter) public SearchAll andObjectLastModified (QueryFilter<Date> filter)
{ {
filter.addFilter (context, "rs_candidate.object_last_updated_date", FIELD_ObjectLastModified); filter.addFilter (context, "tl_candidate.object_last_updated_date", FIELD_ObjectLastModified);
return this; return this;
} }
public SearchAll andFirstName (QueryFilter<String> filter) public SearchAll andFirstName (QueryFilter<String> filter)
{ {
filter.addFilter (context, "rs_candidate.first_name", "FirstName"); filter.addFilter (context, "tl_candidate.first_name", "FirstName");
return this; return this;
} }
public SearchAll andTestInput (QueryFilter<TestInput> filter) public SearchAll andTestInput (QueryFilter<TestInput> filter)
{ {
filter.addFilter (context, "rs_candidate.test_input_id", "TestInput"); filter.addFilter (context, "tl_candidate.test_input_id", "TestInput");
return this; return this;
} }
......
...@@ -1048,7 +1048,7 @@ public abstract class BaseCultureElement extends BaseBusinessClass ...@@ -1048,7 +1048,7 @@ public abstract class BaseCultureElement extends BaseBusinessClass
public String getBaseSetName () public String getBaseSetName ()
{ {
return "rs_culture_element"; return "tl_culture_element";
} }
...@@ -1069,11 +1069,11 @@ public abstract class BaseCultureElement extends BaseBusinessClass ...@@ -1069,11 +1069,11 @@ public abstract class BaseCultureElement extends BaseBusinessClass
super.getPersistentSets (allSets); super.getPersistentSets (allSets);
PersistentSet rs_culture_elementPSet = allSets.getPersistentSet (myID, "rs_culture_element", myPSetStatus); PersistentSet tl_culture_elementPSet = allSets.getPersistentSet (myID, "tl_culture_element", myPSetStatus);
rs_culture_elementPSet.setAttrib (FIELD_ObjectID, myID); tl_culture_elementPSet.setAttrib (FIELD_ObjectID, myID);
rs_culture_elementPSet.setAttrib (FIELD_Description, HELPER_Description.toObject (_Description)); // tl_culture_elementPSet.setAttrib (FIELD_Description, HELPER_Description.toObject (_Description)); //
rs_culture_elementPSet.setAttrib (FIELD_CultureClass, HELPER_CultureClass.toObject (_CultureClass)); // tl_culture_elementPSet.setAttrib (FIELD_CultureClass, HELPER_CultureClass.toObject (_CultureClass)); //
} }
...@@ -1086,10 +1086,10 @@ public abstract class BaseCultureElement extends BaseBusinessClass ...@@ -1086,10 +1086,10 @@ public abstract class BaseCultureElement extends BaseBusinessClass
super.setFromPersistentSets (objectID, allSets); super.setFromPersistentSets (objectID, allSets);
PersistentSet rs_culture_elementPSet = allSets.getPersistentSet (objectID, "rs_culture_element"); PersistentSet tl_culture_elementPSet = allSets.getPersistentSet (objectID, "tl_culture_element");
_Description = (String)(HELPER_Description.fromObject (_Description, rs_culture_elementPSet.getAttrib (FIELD_Description))); // _Description = (String)(HELPER_Description.fromObject (_Description, tl_culture_elementPSet.getAttrib (FIELD_Description))); //
_CultureClass = (CultureClass)(HELPER_CultureClass.fromObject (_CultureClass, rs_culture_elementPSet.getAttrib (FIELD_CultureClass))); // _CultureClass = (CultureClass)(HELPER_CultureClass.fromObject (_CultureClass, tl_culture_elementPSet.getAttrib (FIELD_CultureClass))); //
} }
...@@ -1334,32 +1334,32 @@ public abstract class BaseCultureElement extends BaseBusinessClass ...@@ -1334,32 +1334,32 @@ public abstract class BaseCultureElement extends BaseBusinessClass
public SearchAll andObjectID (QueryFilter<Long> filter) public SearchAll andObjectID (QueryFilter<Long> filter)
{ {
filter.addFilter (context, "rs_culture_element.object_id", FIELD_ObjectID); filter.addFilter (context, "tl_culture_element.object_id", FIELD_ObjectID);
return this; return this;
} }
public SearchAll andObjectCreated (QueryFilter<Date> filter) public SearchAll andObjectCreated (QueryFilter<Date> filter)
{ {
filter.addFilter (context, "rs_culture_element.object_created_date", FIELD_ObjectCreated); filter.addFilter (context, "tl_culture_element.object_created_date", FIELD_ObjectCreated);
return this; return this;
} }
public SearchAll andObjectLastModified (QueryFilter<Date> filter) public SearchAll andObjectLastModified (QueryFilter<Date> filter)
{ {
filter.addFilter (context, "rs_culture_element.object_last_updated_date", FIELD_ObjectLastModified); filter.addFilter (context, "tl_culture_element.object_last_updated_date", FIELD_ObjectLastModified);
return this; return this;
} }
public SearchAll andDescription (QueryFilter<String> filter) public SearchAll andDescription (QueryFilter<String> filter)
{ {
filter.addFilter (context, "rs_culture_element.culture_element_desc", "Description"); filter.addFilter (context, "tl_culture_element.culture_element_desc", "Description");
return this; return this;
} }
public SearchAll andCultureClass (QueryFilter<CultureClass> filter) public SearchAll andCultureClass (QueryFilter<CultureClass> filter)
{ {
filter.addFilter (context, "rs_culture_element.culture_class_code", "CultureClass"); filter.addFilter (context, "tl_culture_element.culture_class_code", "CultureClass");
return this; return this;
} }
......
...@@ -185,7 +185,7 @@ public abstract class BaseCultureElementQuestion extends BaseBusinessClass ...@@ -185,7 +185,7 @@ public abstract class BaseCultureElementQuestion extends BaseBusinessClass
{ {
super._initialiseAssociations (); super._initialiseAssociations ();
_CultureElement = new SingleAssociation<CultureElementQuestion, CultureElement> (this, SINGLEREFERENCE_CultureElement, CultureElement.MULTIPLEREFERENCE_Questions, CultureElement.REFERENCE_CultureElement, "rs_culture_element_quest"); _CultureElement = new SingleAssociation<CultureElementQuestion, CultureElement> (this, SINGLEREFERENCE_CultureElement, CultureElement.MULTIPLEREFERENCE_Questions, CultureElement.REFERENCE_CultureElement, "tl_culture_element_quest");
_Narratives = new MultipleAssociation<CultureElementQuestion, CultureNarrative> (this, MULTIPLEREFERENCE_Narratives, CultureNarrative.SINGLEREFERENCE_CultureElementQuestion, CultureNarrative.REFERENCE_CultureNarrative); _Narratives = new MultipleAssociation<CultureElementQuestion, CultureNarrative> (this, MULTIPLEREFERENCE_Narratives, CultureNarrative.SINGLEREFERENCE_CultureElementQuestion, CultureNarrative.REFERENCE_CultureNarrative);
} }
...@@ -196,7 +196,7 @@ public abstract class BaseCultureElementQuestion extends BaseBusinessClass ...@@ -196,7 +196,7 @@ public abstract class BaseCultureElementQuestion extends BaseBusinessClass
{ {
super.initialiseReference (); super.initialiseReference ();
_CultureElement = new SingleAssociation<CultureElementQuestion, CultureElement> (this, SINGLEREFERENCE_CultureElement, CultureElement.MULTIPLEREFERENCE_Questions, CultureElement.REFERENCE_CultureElement, "rs_culture_element_quest"); _CultureElement = new SingleAssociation<CultureElementQuestion, CultureElement> (this, SINGLEREFERENCE_CultureElement, CultureElement.MULTIPLEREFERENCE_Questions, CultureElement.REFERENCE_CultureElement, "tl_culture_element_quest");
_Narratives = new MultipleAssociation<CultureElementQuestion, CultureNarrative> (this, MULTIPLEREFERENCE_Narratives, CultureNarrative.SINGLEREFERENCE_CultureElementQuestion, CultureNarrative.REFERENCE_CultureNarrative); _Narratives = new MultipleAssociation<CultureElementQuestion, CultureNarrative> (this, MULTIPLEREFERENCE_Narratives, CultureNarrative.SINGLEREFERENCE_CultureElementQuestion, CultureNarrative.REFERENCE_CultureNarrative);
...@@ -800,7 +800,7 @@ public abstract class BaseCultureElementQuestion extends BaseBusinessClass ...@@ -800,7 +800,7 @@ public abstract class BaseCultureElementQuestion extends BaseBusinessClass
public String getBaseSetName () public String getBaseSetName ()
{ {
return "rs_culture_element_quest"; return "tl_culture_element_quest";
} }
...@@ -821,10 +821,10 @@ public abstract class BaseCultureElementQuestion extends BaseBusinessClass ...@@ -821,10 +821,10 @@ public abstract class BaseCultureElementQuestion extends BaseBusinessClass
super.getPersistentSets (allSets); super.getPersistentSets (allSets);
PersistentSet rs_culture_element_questPSet = allSets.getPersistentSet (myID, "rs_culture_element_quest", myPSetStatus); PersistentSet tl_culture_element_questPSet = allSets.getPersistentSet (myID, "tl_culture_element_quest", myPSetStatus);
rs_culture_element_questPSet.setAttrib (FIELD_ObjectID, myID); tl_culture_element_questPSet.setAttrib (FIELD_ObjectID, myID);
rs_culture_element_questPSet.setAttrib (FIELD_Description, HELPER_Description.toObject (_Description)); // tl_culture_element_questPSet.setAttrib (FIELD_Description, HELPER_Description.toObject (_Description)); //
_CultureElement.getPersistentSets (allSets); _CultureElement.getPersistentSets (allSets);
} }
...@@ -838,9 +838,9 @@ public abstract class BaseCultureElementQuestion extends BaseBusinessClass ...@@ -838,9 +838,9 @@ public abstract class BaseCultureElementQuestion extends BaseBusinessClass
super.setFromPersistentSets (objectID, allSets); super.setFromPersistentSets (objectID, allSets);
PersistentSet rs_culture_element_questPSet = allSets.getPersistentSet (objectID, "rs_culture_element_quest"); PersistentSet tl_culture_element_questPSet = allSets.getPersistentSet (objectID, "tl_culture_element_quest");
_Description = (String)(HELPER_Description.fromObject (_Description, rs_culture_element_questPSet.getAttrib (FIELD_Description))); // _Description = (String)(HELPER_Description.fromObject (_Description, tl_culture_element_questPSet.getAttrib (FIELD_Description))); //
_CultureElement.setFromPersistentSets (objectID, allSets); _CultureElement.setFromPersistentSets (objectID, allSets);
} }
...@@ -1060,32 +1060,32 @@ public abstract class BaseCultureElementQuestion extends BaseBusinessClass ...@@ -1060,32 +1060,32 @@ public abstract class BaseCultureElementQuestion extends BaseBusinessClass
public SearchAll andObjectID (QueryFilter<Long> filter) public SearchAll andObjectID (QueryFilter<Long> filter)
{ {
filter.addFilter (context, "rs_culture_element_quest.object_id", FIELD_ObjectID); filter.addFilter (context, "tl_culture_element_quest.object_id", FIELD_ObjectID);
return this; return this;
} }
public SearchAll andObjectCreated (QueryFilter<Date> filter) public SearchAll andObjectCreated (QueryFilter<Date> filter)
{ {
filter.addFilter (context, "rs_culture_element_quest.object_created_date", FIELD_ObjectCreated); filter.addFilter (context, "tl_culture_element_quest.object_created_date", FIELD_ObjectCreated);
return this; return this;
} }
public SearchAll andObjectLastModified (QueryFilter<Date> filter) public SearchAll andObjectLastModified (QueryFilter<Date> filter)
{ {
filter.addFilter (context, "rs_culture_element_quest.object_last_updated_date", FIELD_ObjectLastModified); filter.addFilter (context, "tl_culture_element_quest.object_last_updated_date", FIELD_ObjectLastModified);
return this; return this;
} }
public SearchAll andDescription (QueryFilter<String> filter) public SearchAll andDescription (QueryFilter<String> filter)
{ {
filter.addFilter (context, "rs_culture_element_quest.quest", "Description"); filter.addFilter (context, "tl_culture_element_quest.quest", "Description");
return this; return this;
} }
public SearchAll andCultureElement (QueryFilter<CultureElement> filter) public SearchAll andCultureElement (QueryFilter<CultureElement> filter)
{ {
filter.addFilter (context, "rs_culture_element_quest.culture_element_number", "CultureElement"); filter.addFilter (context, "tl_culture_element_quest.culture_element_number", "CultureElement");
return this; return this;
} }
......
...@@ -185,7 +185,7 @@ public abstract class BaseCultureElementRating extends BaseBusinessClass ...@@ -185,7 +185,7 @@ public abstract class BaseCultureElementRating extends BaseBusinessClass
{ {
super._initialiseAssociations (); super._initialiseAssociations ();
_CultureElement = new SingleAssociation<CultureElementRating, CultureElement> (this, SINGLEREFERENCE_CultureElement, CultureElement.MULTIPLEREFERENCE_Ratings, CultureElement.REFERENCE_CultureElement, "rs_culture_element_rating"); _CultureElement = new SingleAssociation<CultureElementRating, CultureElement> (this, SINGLEREFERENCE_CultureElement, CultureElement.MULTIPLEREFERENCE_Ratings, CultureElement.REFERENCE_CultureElement, "tl_culture_element_rating");
_Narratives = new MultipleAssociation<CultureElementRating, CultureNarrative> (this, MULTIPLEREFERENCE_Narratives, CultureNarrative.SINGLEREFERENCE_CultureElementRating, CultureNarrative.REFERENCE_CultureNarrative); _Narratives = new MultipleAssociation<CultureElementRating, CultureNarrative> (this, MULTIPLEREFERENCE_Narratives, CultureNarrative.SINGLEREFERENCE_CultureElementRating, CultureNarrative.REFERENCE_CultureNarrative);
} }
...@@ -196,7 +196,7 @@ public abstract class BaseCultureElementRating extends BaseBusinessClass ...@@ -196,7 +196,7 @@ public abstract class BaseCultureElementRating extends BaseBusinessClass
{ {
super.initialiseReference (); super.initialiseReference ();
_CultureElement = new SingleAssociation<CultureElementRating, CultureElement> (this, SINGLEREFERENCE_CultureElement, CultureElement.MULTIPLEREFERENCE_Ratings, CultureElement.REFERENCE_CultureElement, "rs_culture_element_rating"); _CultureElement = new SingleAssociation<CultureElementRating, CultureElement> (this, SINGLEREFERENCE_CultureElement, CultureElement.MULTIPLEREFERENCE_Ratings, CultureElement.REFERENCE_CultureElement, "tl_culture_element_rating");
_Narratives = new MultipleAssociation<CultureElementRating, CultureNarrative> (this, MULTIPLEREFERENCE_Narratives, CultureNarrative.SINGLEREFERENCE_CultureElementRating, CultureNarrative.REFERENCE_CultureNarrative); _Narratives = new MultipleAssociation<CultureElementRating, CultureNarrative> (this, MULTIPLEREFERENCE_Narratives, CultureNarrative.SINGLEREFERENCE_CultureElementRating, CultureNarrative.REFERENCE_CultureNarrative);
...@@ -800,7 +800,7 @@ public abstract class BaseCultureElementRating extends BaseBusinessClass ...@@ -800,7 +800,7 @@ public abstract class BaseCultureElementRating extends BaseBusinessClass
public String getBaseSetName () public String getBaseSetName ()
{ {
return "rs_culture_element_rating"; return "tl_culture_element_rating";
} }
...@@ -821,10 +821,10 @@ public abstract class BaseCultureElementRating extends BaseBusinessClass ...@@ -821,10 +821,10 @@ public abstract class BaseCultureElementRating extends BaseBusinessClass
super.getPersistentSets (allSets); super.getPersistentSets (allSets);
PersistentSet rs_culture_element_ratingPSet = allSets.getPersistentSet (myID, "rs_culture_element_rating", myPSetStatus); PersistentSet tl_culture_element_ratingPSet = allSets.getPersistentSet (myID, "tl_culture_element_rating", myPSetStatus);
rs_culture_element_ratingPSet.setAttrib (FIELD_ObjectID, myID); tl_culture_element_ratingPSet.setAttrib (FIELD_ObjectID, myID);
rs_culture_element_ratingPSet.setAttrib (FIELD_Description, HELPER_Description.toObject (_Description)); // tl_culture_element_ratingPSet.setAttrib (FIELD_Description, HELPER_Description.toObject (_Description)); //
_CultureElement.getPersistentSets (allSets); _CultureElement.getPersistentSets (allSets);
} }
...@@ -838,9 +838,9 @@ public abstract class BaseCultureElementRating extends BaseBusinessClass ...@@ -838,9 +838,9 @@ public abstract class BaseCultureElementRating extends BaseBusinessClass
super.setFromPersistentSets (objectID, allSets); super.setFromPersistentSets (objectID, allSets);
PersistentSet rs_culture_element_ratingPSet = allSets.getPersistentSet (objectID, "rs_culture_element_rating"); PersistentSet tl_culture_element_ratingPSet = allSets.getPersistentSet (objectID, "tl_culture_element_rating");
_Description = (String)(HELPER_Description.fromObject (_Description, rs_culture_element_ratingPSet.getAttrib (FIELD_Description))); // _Description = (String)(HELPER_Description.fromObject (_Description, tl_culture_element_ratingPSet.getAttrib (FIELD_Description))); //
_CultureElement.setFromPersistentSets (objectID, allSets); _CultureElement.setFromPersistentSets (objectID, allSets);
} }
...@@ -1060,32 +1060,32 @@ public abstract class BaseCultureElementRating extends BaseBusinessClass ...@@ -1060,32 +1060,32 @@ public abstract class BaseCultureElementRating extends BaseBusinessClass
public SearchAll andObjectID (QueryFilter<Long> filter) public SearchAll andObjectID (QueryFilter<Long> filter)
{ {
filter.addFilter (context, "rs_culture_element_rating.object_id", FIELD_ObjectID); filter.addFilter (context, "tl_culture_element_rating.object_id", FIELD_ObjectID);
return this; return this;
} }
public SearchAll andObjectCreated (QueryFilter<Date> filter) public SearchAll andObjectCreated (QueryFilter<Date> filter)
{ {
filter.addFilter (context, "rs_culture_element_rating.object_created_date", FIELD_ObjectCreated); filter.addFilter (context, "tl_culture_element_rating.object_created_date", FIELD_ObjectCreated);
return this; return this;
} }
public SearchAll andObjectLastModified (QueryFilter<Date> filter) public SearchAll andObjectLastModified (QueryFilter<Date> filter)
{ {
filter.addFilter (context, "rs_culture_element_rating.object_last_updated_date", FIELD_ObjectLastModified); filter.addFilter (context, "tl_culture_element_rating.object_last_updated_date", FIELD_ObjectLastModified);
return this; return this;
} }
public SearchAll andDescription (QueryFilter<String> filter) public SearchAll andDescription (QueryFilter<String> filter)
{ {
filter.addFilter (context, "rs_culture_element_rating.culture_element_rating_desc", "Description"); filter.addFilter (context, "tl_culture_element_rating.culture_element_rating_desc", "Description");
return this; return this;
} }
public SearchAll andCultureElement (QueryFilter<CultureElement> filter) public SearchAll andCultureElement (QueryFilter<CultureElement> filter)
{ {
filter.addFilter (context, "rs_culture_element_rating.culture_element_number", "CultureElement"); filter.addFilter (context, "tl_culture_element_rating.culture_element_number", "CultureElement");
return this; return this;
} }
......
...@@ -232,9 +232,9 @@ public abstract class BaseCultureNarrative extends BaseBusinessClass ...@@ -232,9 +232,9 @@ public abstract class BaseCultureNarrative extends BaseBusinessClass
{ {
super._initialiseAssociations (); super._initialiseAssociations ();
_CultureElement = new SingleAssociation<CultureNarrative, CultureElement> (this, SINGLEREFERENCE_CultureElement, CultureElement.MULTIPLEREFERENCE_Narratives, CultureElement.REFERENCE_CultureElement, "rs_culture_narrative"); _CultureElement = new SingleAssociation<CultureNarrative, CultureElement> (this, SINGLEREFERENCE_CultureElement, CultureElement.MULTIPLEREFERENCE_Narratives, CultureElement.REFERENCE_CultureElement, "tl_culture_narrative");
_CultureElementQuestion = new SingleAssociation<CultureNarrative, CultureElementQuestion> (this, SINGLEREFERENCE_CultureElementQuestion, CultureElementQuestion.MULTIPLEREFERENCE_Narratives, CultureElementQuestion.REFERENCE_CultureElementQuestion, "rs_culture_narrative"); _CultureElementQuestion = new SingleAssociation<CultureNarrative, CultureElementQuestion> (this, SINGLEREFERENCE_CultureElementQuestion, CultureElementQuestion.MULTIPLEREFERENCE_Narratives, CultureElementQuestion.REFERENCE_CultureElementQuestion, "tl_culture_narrative");
_CultureElementRating = new SingleAssociation<CultureNarrative, CultureElementRating> (this, SINGLEREFERENCE_CultureElementRating, CultureElementRating.MULTIPLEREFERENCE_Narratives, CultureElementRating.REFERENCE_CultureElementRating, "rs_culture_narrative"); _CultureElementRating = new SingleAssociation<CultureNarrative, CultureElementRating> (this, SINGLEREFERENCE_CultureElementRating, CultureElementRating.MULTIPLEREFERENCE_Narratives, CultureElementRating.REFERENCE_CultureElementRating, "tl_culture_narrative");
} }
...@@ -244,9 +244,9 @@ public abstract class BaseCultureNarrative extends BaseBusinessClass ...@@ -244,9 +244,9 @@ public abstract class BaseCultureNarrative extends BaseBusinessClass
{ {
super.initialiseReference (); super.initialiseReference ();
_CultureElement = new SingleAssociation<CultureNarrative, CultureElement> (this, SINGLEREFERENCE_CultureElement, CultureElement.MULTIPLEREFERENCE_Narratives, CultureElement.REFERENCE_CultureElement, "rs_culture_narrative"); _CultureElement = new SingleAssociation<CultureNarrative, CultureElement> (this, SINGLEREFERENCE_CultureElement, CultureElement.MULTIPLEREFERENCE_Narratives, CultureElement.REFERENCE_CultureElement, "tl_culture_narrative");
_CultureElementQuestion = new SingleAssociation<CultureNarrative, CultureElementQuestion> (this, SINGLEREFERENCE_CultureElementQuestion, CultureElementQuestion.MULTIPLEREFERENCE_Narratives, CultureElementQuestion.REFERENCE_CultureElementQuestion, "rs_culture_narrative"); _CultureElementQuestion = new SingleAssociation<CultureNarrative, CultureElementQuestion> (this, SINGLEREFERENCE_CultureElementQuestion, CultureElementQuestion.MULTIPLEREFERENCE_Narratives, CultureElementQuestion.REFERENCE_CultureElementQuestion, "tl_culture_narrative");
_CultureElementRating = new SingleAssociation<CultureNarrative, CultureElementRating> (this, SINGLEREFERENCE_CultureElementRating, CultureElementRating.MULTIPLEREFERENCE_Narratives, CultureElementRating.REFERENCE_CultureElementRating, "rs_culture_narrative"); _CultureElementRating = new SingleAssociation<CultureNarrative, CultureElementRating> (this, SINGLEREFERENCE_CultureElementRating, CultureElementRating.MULTIPLEREFERENCE_Narratives, CultureElementRating.REFERENCE_CultureElementRating, "tl_culture_narrative");
return this; return this;
...@@ -1107,7 +1107,7 @@ public abstract class BaseCultureNarrative extends BaseBusinessClass ...@@ -1107,7 +1107,7 @@ public abstract class BaseCultureNarrative extends BaseBusinessClass
public String getBaseSetName () public String getBaseSetName ()
{ {
return "rs_culture_narrative"; return "tl_culture_narrative";
} }
...@@ -1128,11 +1128,11 @@ public abstract class BaseCultureNarrative extends BaseBusinessClass ...@@ -1128,11 +1128,11 @@ public abstract class BaseCultureNarrative extends BaseBusinessClass
super.getPersistentSets (allSets); super.getPersistentSets (allSets);
PersistentSet rs_culture_narrativePSet = allSets.getPersistentSet (myID, "rs_culture_narrative", myPSetStatus); PersistentSet tl_culture_narrativePSet = allSets.getPersistentSet (myID, "tl_culture_narrative", myPSetStatus);
rs_culture_narrativePSet.setAttrib (FIELD_ObjectID, myID); tl_culture_narrativePSet.setAttrib (FIELD_ObjectID, myID);
rs_culture_narrativePSet.setAttrib (FIELD_Notes, HELPER_Notes.toObject (_Notes)); // tl_culture_narrativePSet.setAttrib (FIELD_Notes, HELPER_Notes.toObject (_Notes)); //
rs_culture_narrativePSet.setAttrib (FIELD_ColorCode, HELPER_ColorCode.toObject (_ColorCode)); // tl_culture_narrativePSet.setAttrib (FIELD_ColorCode, HELPER_ColorCode.toObject (_ColorCode)); //
_CultureElement.getPersistentSets (allSets); _CultureElement.getPersistentSets (allSets);
_CultureElementQuestion.getPersistentSets (allSets); _CultureElementQuestion.getPersistentSets (allSets);
_CultureElementRating.getPersistentSets (allSets); _CultureElementRating.getPersistentSets (allSets);
...@@ -1148,10 +1148,10 @@ public abstract class BaseCultureNarrative extends BaseBusinessClass ...@@ -1148,10 +1148,10 @@ public abstract class BaseCultureNarrative extends BaseBusinessClass
super.setFromPersistentSets (objectID, allSets); super.setFromPersistentSets (objectID, allSets);
PersistentSet rs_culture_narrativePSet = allSets.getPersistentSet (objectID, "rs_culture_narrative"); PersistentSet tl_culture_narrativePSet = allSets.getPersistentSet (objectID, "tl_culture_narrative");
_Notes = (String)(HELPER_Notes.fromObject (_Notes, rs_culture_narrativePSet.getAttrib (FIELD_Notes))); // _Notes = (String)(HELPER_Notes.fromObject (_Notes, tl_culture_narrativePSet.getAttrib (FIELD_Notes))); //
_ColorCode = (ColorCode)(HELPER_ColorCode.fromObject (_ColorCode, rs_culture_narrativePSet.getAttrib (FIELD_ColorCode))); // _ColorCode = (ColorCode)(HELPER_ColorCode.fromObject (_ColorCode, tl_culture_narrativePSet.getAttrib (FIELD_ColorCode))); //
_CultureElement.setFromPersistentSets (objectID, allSets); _CultureElement.setFromPersistentSets (objectID, allSets);
_CultureElementQuestion.setFromPersistentSets (objectID, allSets); _CultureElementQuestion.setFromPersistentSets (objectID, allSets);
_CultureElementRating.setFromPersistentSets (objectID, allSets); _CultureElementRating.setFromPersistentSets (objectID, allSets);
...@@ -1411,50 +1411,50 @@ public abstract class BaseCultureNarrative extends BaseBusinessClass ...@@ -1411,50 +1411,50 @@ public abstract class BaseCultureNarrative extends BaseBusinessClass
public SearchAll andObjectID (QueryFilter<Long> filter) public SearchAll andObjectID (QueryFilter<Long> filter)
{ {
filter.addFilter (context, "rs_culture_narrative.object_id", FIELD_ObjectID); filter.addFilter (context, "tl_culture_narrative.object_id", FIELD_ObjectID);
return this; return this;
} }
public SearchAll andObjectCreated (QueryFilter<Date> filter) public SearchAll andObjectCreated (QueryFilter<Date> filter)
{ {
filter.addFilter (context, "rs_culture_narrative.object_created_date", FIELD_ObjectCreated); filter.addFilter (context, "tl_culture_narrative.object_created_date", FIELD_ObjectCreated);
return this; return this;
} }
public SearchAll andObjectLastModified (QueryFilter<Date> filter) public SearchAll andObjectLastModified (QueryFilter<Date> filter)
{ {
filter.addFilter (context, "rs_culture_narrative.object_last_updated_date", FIELD_ObjectLastModified); filter.addFilter (context, "tl_culture_narrative.object_last_updated_date", FIELD_ObjectLastModified);
return this; return this;
} }
public SearchAll andNotes (QueryFilter<String> filter) public SearchAll andNotes (QueryFilter<String> filter)
{ {
filter.addFilter (context, "rs_culture_narrative.narrative_notes", "Notes"); filter.addFilter (context, "tl_culture_narrative.narrative_notes", "Notes");
return this; return this;
} }
public SearchAll andColorCode (QueryFilter<ColorCode> filter) public SearchAll andColorCode (QueryFilter<ColorCode> filter)
{ {
filter.addFilter (context, "rs_culture_narrative.color_code", "ColorCode"); filter.addFilter (context, "tl_culture_narrative.color_code", "ColorCode");
return this; return this;
} }
public SearchAll andCultureElement (QueryFilter<CultureElement> filter) public SearchAll andCultureElement (QueryFilter<CultureElement> filter)
{ {
filter.addFilter (context, "rs_culture_narrative.culture_element_number", "CultureElement"); filter.addFilter (context, "tl_culture_narrative.culture_element_number", "CultureElement");
return this; return this;
} }
public SearchAll andCultureElementQuestion (QueryFilter<CultureElementQuestion> filter) public SearchAll andCultureElementQuestion (QueryFilter<CultureElementQuestion> filter)
{ {
filter.addFilter (context, "rs_culture_narrative.culture_element_quest_id", "CultureElementQuestion"); filter.addFilter (context, "tl_culture_narrative.culture_element_quest_id", "CultureElementQuestion");
return this; return this;
} }
public SearchAll andCultureElementRating (QueryFilter<CultureElementRating> filter) public SearchAll andCultureElementRating (QueryFilter<CultureElementRating> filter)
{ {
filter.addFilter (context, "rs_culture_narrative.culture_element_rating_id", "CultureElementRating"); filter.addFilter (context, "tl_culture_narrative.culture_element_rating_id", "CultureElementRating");
return this; return this;
} }
......
...@@ -923,7 +923,7 @@ public abstract class BaseFactor extends BaseBusinessClass ...@@ -923,7 +923,7 @@ public abstract class BaseFactor extends BaseBusinessClass
public String getBaseSetName () public String getBaseSetName ()
{ {
return "rs_factor"; return "tl_factor";
} }
...@@ -944,10 +944,10 @@ public abstract class BaseFactor extends BaseBusinessClass ...@@ -944,10 +944,10 @@ public abstract class BaseFactor extends BaseBusinessClass
super.getPersistentSets (allSets); super.getPersistentSets (allSets);
PersistentSet rs_factorPSet = allSets.getPersistentSet (myID, "rs_factor", myPSetStatus); PersistentSet tl_factorPSet = allSets.getPersistentSet (myID, "tl_factor", myPSetStatus);
rs_factorPSet.setAttrib (FIELD_ObjectID, myID); tl_factorPSet.setAttrib (FIELD_ObjectID, myID);
rs_factorPSet.setAttrib (FIELD_Description, HELPER_Description.toObject (_Description)); // tl_factorPSet.setAttrib (FIELD_Description, HELPER_Description.toObject (_Description)); //
} }
...@@ -960,9 +960,9 @@ public abstract class BaseFactor extends BaseBusinessClass ...@@ -960,9 +960,9 @@ public abstract class BaseFactor extends BaseBusinessClass
super.setFromPersistentSets (objectID, allSets); super.setFromPersistentSets (objectID, allSets);
PersistentSet rs_factorPSet = allSets.getPersistentSet (objectID, "rs_factor"); PersistentSet tl_factorPSet = allSets.getPersistentSet (objectID, "tl_factor");
_Description = (String)(HELPER_Description.fromObject (_Description, rs_factorPSet.getAttrib (FIELD_Description))); // _Description = (String)(HELPER_Description.fromObject (_Description, tl_factorPSet.getAttrib (FIELD_Description))); //
} }
...@@ -1186,26 +1186,26 @@ public abstract class BaseFactor extends BaseBusinessClass ...@@ -1186,26 +1186,26 @@ public abstract class BaseFactor extends BaseBusinessClass
public SearchAll andObjectID (QueryFilter<Long> filter) public SearchAll andObjectID (QueryFilter<Long> filter)
{ {
filter.addFilter (context, "rs_factor.object_id", FIELD_ObjectID); filter.addFilter (context, "tl_factor.object_id", FIELD_ObjectID);
return this; return this;
} }
public SearchAll andObjectCreated (QueryFilter<Date> filter) public SearchAll andObjectCreated (QueryFilter<Date> filter)
{ {
filter.addFilter (context, "rs_factor.object_created_date", FIELD_ObjectCreated); filter.addFilter (context, "tl_factor.object_created_date", FIELD_ObjectCreated);
return this; return this;
} }
public SearchAll andObjectLastModified (QueryFilter<Date> filter) public SearchAll andObjectLastModified (QueryFilter<Date> filter)
{ {
filter.addFilter (context, "rs_factor.object_last_updated_date", FIELD_ObjectLastModified); filter.addFilter (context, "tl_factor.object_last_updated_date", FIELD_ObjectLastModified);
return this; return this;
} }
public SearchAll andDescription (QueryFilter<String> filter) public SearchAll andDescription (QueryFilter<String> filter)
{ {
filter.addFilter (context, "rs_factor.factor_hdr_desc", "Description"); filter.addFilter (context, "tl_factor.factor_hdr_desc", "Description");
return this; return this;
} }
......
...@@ -308,8 +308,8 @@ public abstract class BaseFactorLevelLink extends BaseBusinessClass ...@@ -308,8 +308,8 @@ public abstract class BaseFactorLevelLink extends BaseBusinessClass
{ {
super._initialiseAssociations (); super._initialiseAssociations ();
_Level = new SingleAssociation<FactorLevelLink, Level> (this, SINGLEREFERENCE_Level, Level.MULTIPLEREFERENCE_Factors, Level.REFERENCE_Level, "rs_factor_hdr"); _Level = new SingleAssociation<FactorLevelLink, Level> (this, SINGLEREFERENCE_Level, Level.MULTIPLEREFERENCE_Factors, Level.REFERENCE_Level, "tl_factor_hdr");
_Factor = new SingleAssociation<FactorLevelLink, Factor> (this, SINGLEREFERENCE_Factor, Factor.MULTIPLEREFERENCE_Levels, Factor.REFERENCE_Factor, "rs_factor_hdr"); _Factor = new SingleAssociation<FactorLevelLink, Factor> (this, SINGLEREFERENCE_Factor, Factor.MULTIPLEREFERENCE_Levels, Factor.REFERENCE_Factor, "tl_factor_hdr");
} }
...@@ -319,8 +319,8 @@ public abstract class BaseFactorLevelLink extends BaseBusinessClass ...@@ -319,8 +319,8 @@ public abstract class BaseFactorLevelLink extends BaseBusinessClass
{ {
super.initialiseReference (); super.initialiseReference ();
_Level = new SingleAssociation<FactorLevelLink, Level> (this, SINGLEREFERENCE_Level, Level.MULTIPLEREFERENCE_Factors, Level.REFERENCE_Level, "rs_factor_hdr"); _Level = new SingleAssociation<FactorLevelLink, Level> (this, SINGLEREFERENCE_Level, Level.MULTIPLEREFERENCE_Factors, Level.REFERENCE_Level, "tl_factor_hdr");
_Factor = new SingleAssociation<FactorLevelLink, Factor> (this, SINGLEREFERENCE_Factor, Factor.MULTIPLEREFERENCE_Levels, Factor.REFERENCE_Factor, "rs_factor_hdr"); _Factor = new SingleAssociation<FactorLevelLink, Factor> (this, SINGLEREFERENCE_Factor, Factor.MULTIPLEREFERENCE_Levels, Factor.REFERENCE_Factor, "tl_factor_hdr");
return this; return this;
...@@ -1432,7 +1432,7 @@ public abstract class BaseFactorLevelLink extends BaseBusinessClass ...@@ -1432,7 +1432,7 @@ public abstract class BaseFactorLevelLink extends BaseBusinessClass
public String getBaseSetName () public String getBaseSetName ()
{ {
return "rs_factor_hdr"; return "tl_factor_hdr";
} }
...@@ -1453,15 +1453,15 @@ public abstract class BaseFactorLevelLink extends BaseBusinessClass ...@@ -1453,15 +1453,15 @@ public abstract class BaseFactorLevelLink extends BaseBusinessClass
super.getPersistentSets (allSets); super.getPersistentSets (allSets);
PersistentSet rs_factor_hdrPSet = allSets.getPersistentSet (myID, "rs_factor_hdr", myPSetStatus); PersistentSet tl_factor_hdrPSet = allSets.getPersistentSet (myID, "tl_factor_hdr", myPSetStatus);
rs_factor_hdrPSet.setAttrib (FIELD_ObjectID, myID); tl_factor_hdrPSet.setAttrib (FIELD_ObjectID, myID);
rs_factor_hdrPSet.setAttrib (FIELD_ClassCode, HELPER_ClassCode.toObject (_ClassCode)); // tl_factor_hdrPSet.setAttrib (FIELD_ClassCode, HELPER_ClassCode.toObject (_ClassCode)); //
rs_factor_hdrPSet.setAttrib (FIELD_Notes, HELPER_Notes.toObject (_Notes)); // tl_factor_hdrPSet.setAttrib (FIELD_Notes, HELPER_Notes.toObject (_Notes)); //
rs_factor_hdrPSet.setAttrib (FIELD_LeftAnnot, HELPER_LeftAnnot.toObject (_LeftAnnot)); // tl_factor_hdrPSet.setAttrib (FIELD_LeftAnnot, HELPER_LeftAnnot.toObject (_LeftAnnot)); //
rs_factor_hdrPSet.setAttrib (FIELD_RightAnnot, HELPER_RightAnnot.toObject (_RightAnnot)); // tl_factor_hdrPSet.setAttrib (FIELD_RightAnnot, HELPER_RightAnnot.toObject (_RightAnnot)); //
rs_factor_hdrPSet.setAttrib (FIELD_ZScoreWeight, HELPER_ZScoreWeight.toObject (_ZScoreWeight)); // tl_factor_hdrPSet.setAttrib (FIELD_ZScoreWeight, HELPER_ZScoreWeight.toObject (_ZScoreWeight)); //
rs_factor_hdrPSet.setAttrib (FIELD_ZScoreWeight2, HELPER_ZScoreWeight2.toObject (_ZScoreWeight2)); // tl_factor_hdrPSet.setAttrib (FIELD_ZScoreWeight2, HELPER_ZScoreWeight2.toObject (_ZScoreWeight2)); //
_Level.getPersistentSets (allSets); _Level.getPersistentSets (allSets);
_Factor.getPersistentSets (allSets); _Factor.getPersistentSets (allSets);
...@@ -1476,14 +1476,14 @@ public abstract class BaseFactorLevelLink extends BaseBusinessClass ...@@ -1476,14 +1476,14 @@ public abstract class BaseFactorLevelLink extends BaseBusinessClass
super.setFromPersistentSets (objectID, allSets); super.setFromPersistentSets (objectID, allSets);
PersistentSet rs_factor_hdrPSet = allSets.getPersistentSet (objectID, "rs_factor_hdr"); PersistentSet tl_factor_hdrPSet = allSets.getPersistentSet (objectID, "tl_factor_hdr");
_ClassCode = (String)(HELPER_ClassCode.fromObject (_ClassCode, rs_factor_hdrPSet.getAttrib (FIELD_ClassCode))); // _ClassCode = (String)(HELPER_ClassCode.fromObject (_ClassCode, tl_factor_hdrPSet.getAttrib (FIELD_ClassCode))); //
_Notes = (String)(HELPER_Notes.fromObject (_Notes, rs_factor_hdrPSet.getAttrib (FIELD_Notes))); // _Notes = (String)(HELPER_Notes.fromObject (_Notes, tl_factor_hdrPSet.getAttrib (FIELD_Notes))); //
_LeftAnnot = (String)(HELPER_LeftAnnot.fromObject (_LeftAnnot, rs_factor_hdrPSet.getAttrib (FIELD_LeftAnnot))); // _LeftAnnot = (String)(HELPER_LeftAnnot.fromObject (_LeftAnnot, tl_factor_hdrPSet.getAttrib (FIELD_LeftAnnot))); //
_RightAnnot = (String)(HELPER_RightAnnot.fromObject (_RightAnnot, rs_factor_hdrPSet.getAttrib (FIELD_RightAnnot))); // _RightAnnot = (String)(HELPER_RightAnnot.fromObject (_RightAnnot, tl_factor_hdrPSet.getAttrib (FIELD_RightAnnot))); //
_ZScoreWeight = (Double)(HELPER_ZScoreWeight.fromObject (_ZScoreWeight, rs_factor_hdrPSet.getAttrib (FIELD_ZScoreWeight))); // _ZScoreWeight = (Double)(HELPER_ZScoreWeight.fromObject (_ZScoreWeight, tl_factor_hdrPSet.getAttrib (FIELD_ZScoreWeight))); //
_ZScoreWeight2 = (Double)(HELPER_ZScoreWeight2.fromObject (_ZScoreWeight2, rs_factor_hdrPSet.getAttrib (FIELD_ZScoreWeight2))); // _ZScoreWeight2 = (Double)(HELPER_ZScoreWeight2.fromObject (_ZScoreWeight2, tl_factor_hdrPSet.getAttrib (FIELD_ZScoreWeight2))); //
_Level.setFromPersistentSets (objectID, allSets); _Level.setFromPersistentSets (objectID, allSets);
_Factor.setFromPersistentSets (objectID, allSets); _Factor.setFromPersistentSets (objectID, allSets);
...@@ -1813,68 +1813,68 @@ public abstract class BaseFactorLevelLink extends BaseBusinessClass ...@@ -1813,68 +1813,68 @@ public abstract class BaseFactorLevelLink extends BaseBusinessClass
public SearchAll andObjectID (QueryFilter<Long> filter) public SearchAll andObjectID (QueryFilter<Long> filter)
{ {
filter.addFilter (context, "rs_factor_hdr.object_id", FIELD_ObjectID); filter.addFilter (context, "tl_factor_hdr.object_id", FIELD_ObjectID);
return this; return this;
} }
public SearchAll andObjectCreated (QueryFilter<Date> filter) public SearchAll andObjectCreated (QueryFilter<Date> filter)
{ {
filter.addFilter (context, "rs_factor_hdr.object_created_date", FIELD_ObjectCreated); filter.addFilter (context, "tl_factor_hdr.object_created_date", FIELD_ObjectCreated);
return this; return this;
} }
public SearchAll andObjectLastModified (QueryFilter<Date> filter) public SearchAll andObjectLastModified (QueryFilter<Date> filter)
{ {
filter.addFilter (context, "rs_factor_hdr.object_last_updated_date", FIELD_ObjectLastModified); filter.addFilter (context, "tl_factor_hdr.object_last_updated_date", FIELD_ObjectLastModified);
return this; return this;
} }
public SearchAll andClassCode (QueryFilter<String> filter) public SearchAll andClassCode (QueryFilter<String> filter)
{ {
filter.addFilter (context, "rs_factor_hdr.class_code", "ClassCode"); filter.addFilter (context, "tl_factor_hdr.class_code", "ClassCode");
return this; return this;
} }
public SearchAll andNotes (QueryFilter<String> filter) public SearchAll andNotes (QueryFilter<String> filter)
{ {
filter.addFilter (context, "rs_factor_hdr.factor_hdr_notes", "Notes"); filter.addFilter (context, "tl_factor_hdr.factor_hdr_notes", "Notes");
return this; return this;
} }
public SearchAll andLeftAnnot (QueryFilter<String> filter) public SearchAll andLeftAnnot (QueryFilter<String> filter)
{ {
filter.addFilter (context, "rs_factor_hdr.left_annot", "LeftAnnot"); filter.addFilter (context, "tl_factor_hdr.left_annot", "LeftAnnot");
return this; return this;
} }
public SearchAll andRightAnnot (QueryFilter<String> filter) public SearchAll andRightAnnot (QueryFilter<String> filter)
{ {
filter.addFilter (context, "rs_factor_hdr.right_annot", "RightAnnot"); filter.addFilter (context, "tl_factor_hdr.right_annot", "RightAnnot");
return this; return this;
} }
public SearchAll andZScoreWeight (QueryFilter<Double> filter) public SearchAll andZScoreWeight (QueryFilter<Double> filter)
{ {
filter.addFilter (context, "rs_factor_hdr.z_score_wght", "ZScoreWeight"); filter.addFilter (context, "tl_factor_hdr.z_score_wght", "ZScoreWeight");
return this; return this;
} }
public SearchAll andZScoreWeight2 (QueryFilter<Double> filter) public SearchAll andZScoreWeight2 (QueryFilter<Double> filter)
{ {
filter.addFilter (context, "rs_factor_hdr.z_score_wght_2", "ZScoreWeight2"); filter.addFilter (context, "tl_factor_hdr.z_score_wght_2", "ZScoreWeight2");
return this; return this;
} }
public SearchAll andLevel (QueryFilter<Level> filter) public SearchAll andLevel (QueryFilter<Level> filter)
{ {
filter.addFilter (context, "rs_factor_hdr.level_number", "Level"); filter.addFilter (context, "tl_factor_hdr.level_number", "Level");
return this; return this;
} }
public SearchAll andFactor (QueryFilter<Factor> filter) public SearchAll andFactor (QueryFilter<Factor> filter)
{ {
filter.addFilter (context, "rs_factor_hdr.factor_number", "Factor"); filter.addFilter (context, "tl_factor_hdr.factor_number", "Factor");
return this; return this;
} }
......
...@@ -185,8 +185,8 @@ public abstract class BaseFactorQuestionLink extends BaseBusinessClass ...@@ -185,8 +185,8 @@ public abstract class BaseFactorQuestionLink extends BaseBusinessClass
{ {
super._initialiseAssociations (); super._initialiseAssociations ();
_Factor = new SingleAssociation<FactorQuestionLink, Factor> (this, SINGLEREFERENCE_Factor, Factor.MULTIPLEREFERENCE_Questions, Factor.REFERENCE_Factor, "rs_factor_lin"); _Factor = new SingleAssociation<FactorQuestionLink, Factor> (this, SINGLEREFERENCE_Factor, Factor.MULTIPLEREFERENCE_Questions, Factor.REFERENCE_Factor, "tl_factor_lin");
_Question = new SingleAssociation<FactorQuestionLink, Question> (this, SINGLEREFERENCE_Question, Question.MULTIPLEREFERENCE_Factors, Question.REFERENCE_Question, "rs_factor_lin"); _Question = new SingleAssociation<FactorQuestionLink, Question> (this, SINGLEREFERENCE_Question, Question.MULTIPLEREFERENCE_Factors, Question.REFERENCE_Question, "tl_factor_lin");
} }
...@@ -196,8 +196,8 @@ public abstract class BaseFactorQuestionLink extends BaseBusinessClass ...@@ -196,8 +196,8 @@ public abstract class BaseFactorQuestionLink extends BaseBusinessClass
{ {
super.initialiseReference (); super.initialiseReference ();
_Factor = new SingleAssociation<FactorQuestionLink, Factor> (this, SINGLEREFERENCE_Factor, Factor.MULTIPLEREFERENCE_Questions, Factor.REFERENCE_Factor, "rs_factor_lin"); _Factor = new SingleAssociation<FactorQuestionLink, Factor> (this, SINGLEREFERENCE_Factor, Factor.MULTIPLEREFERENCE_Questions, Factor.REFERENCE_Factor, "tl_factor_lin");
_Question = new SingleAssociation<FactorQuestionLink, Question> (this, SINGLEREFERENCE_Question, Question.MULTIPLEREFERENCE_Factors, Question.REFERENCE_Question, "rs_factor_lin"); _Question = new SingleAssociation<FactorQuestionLink, Question> (this, SINGLEREFERENCE_Question, Question.MULTIPLEREFERENCE_Factors, Question.REFERENCE_Question, "tl_factor_lin");
return this; return this;
...@@ -819,7 +819,7 @@ public abstract class BaseFactorQuestionLink extends BaseBusinessClass ...@@ -819,7 +819,7 @@ public abstract class BaseFactorQuestionLink extends BaseBusinessClass
public String getBaseSetName () public String getBaseSetName ()
{ {
return "rs_factor_lin"; return "tl_factor_lin";
} }
...@@ -840,10 +840,10 @@ public abstract class BaseFactorQuestionLink extends BaseBusinessClass ...@@ -840,10 +840,10 @@ public abstract class BaseFactorQuestionLink extends BaseBusinessClass
super.getPersistentSets (allSets); super.getPersistentSets (allSets);
PersistentSet rs_factor_linPSet = allSets.getPersistentSet (myID, "rs_factor_lin", myPSetStatus); PersistentSet tl_factor_linPSet = allSets.getPersistentSet (myID, "tl_factor_lin", myPSetStatus);
rs_factor_linPSet.setAttrib (FIELD_ObjectID, myID); tl_factor_linPSet.setAttrib (FIELD_ObjectID, myID);
rs_factor_linPSet.setAttrib (FIELD_ReverseScore, HELPER_ReverseScore.toObject (_ReverseScore)); // tl_factor_linPSet.setAttrib (FIELD_ReverseScore, HELPER_ReverseScore.toObject (_ReverseScore)); //
_Factor.getPersistentSets (allSets); _Factor.getPersistentSets (allSets);
_Question.getPersistentSets (allSets); _Question.getPersistentSets (allSets);
...@@ -858,9 +858,9 @@ public abstract class BaseFactorQuestionLink extends BaseBusinessClass ...@@ -858,9 +858,9 @@ public abstract class BaseFactorQuestionLink extends BaseBusinessClass
super.setFromPersistentSets (objectID, allSets); super.setFromPersistentSets (objectID, allSets);
PersistentSet rs_factor_linPSet = allSets.getPersistentSet (objectID, "rs_factor_lin"); PersistentSet tl_factor_linPSet = allSets.getPersistentSet (objectID, "tl_factor_lin");
_ReverseScore = (Boolean)(HELPER_ReverseScore.fromObject (_ReverseScore, rs_factor_linPSet.getAttrib (FIELD_ReverseScore))); // _ReverseScore = (Boolean)(HELPER_ReverseScore.fromObject (_ReverseScore, tl_factor_linPSet.getAttrib (FIELD_ReverseScore))); //
_Factor.setFromPersistentSets (objectID, allSets); _Factor.setFromPersistentSets (objectID, allSets);
_Question.setFromPersistentSets (objectID, allSets); _Question.setFromPersistentSets (objectID, allSets);
...@@ -1085,38 +1085,38 @@ public abstract class BaseFactorQuestionLink extends BaseBusinessClass ...@@ -1085,38 +1085,38 @@ public abstract class BaseFactorQuestionLink extends BaseBusinessClass
public SearchAll andObjectID (QueryFilter<Long> filter) public SearchAll andObjectID (QueryFilter<Long> filter)
{ {
filter.addFilter (context, "rs_factor_lin.object_id", FIELD_ObjectID); filter.addFilter (context, "tl_factor_lin.object_id", FIELD_ObjectID);
return this; return this;
} }
public SearchAll andObjectCreated (QueryFilter<Date> filter) public SearchAll andObjectCreated (QueryFilter<Date> filter)
{ {
filter.addFilter (context, "rs_factor_lin.object_created_date", FIELD_ObjectCreated); filter.addFilter (context, "tl_factor_lin.object_created_date", FIELD_ObjectCreated);
return this; return this;
} }
public SearchAll andObjectLastModified (QueryFilter<Date> filter) public SearchAll andObjectLastModified (QueryFilter<Date> filter)
{ {
filter.addFilter (context, "rs_factor_lin.object_last_updated_date", FIELD_ObjectLastModified); filter.addFilter (context, "tl_factor_lin.object_last_updated_date", FIELD_ObjectLastModified);
return this; return this;
} }
public SearchAll andReverseScore (QueryFilter<Boolean> filter) public SearchAll andReverseScore (QueryFilter<Boolean> filter)
{ {
filter.addFilter (context, "rs_factor_lin.reverse_score_flag", "ReverseScore"); filter.addFilter (context, "tl_factor_lin.reverse_score_flag", "ReverseScore");
return this; return this;
} }
public SearchAll andFactor (QueryFilter<Factor> filter) public SearchAll andFactor (QueryFilter<Factor> filter)
{ {
filter.addFilter (context, "rs_factor_lin.factor_number", "Factor"); filter.addFilter (context, "tl_factor_lin.factor_number", "Factor");
return this; return this;
} }
public SearchAll andQuestion (QueryFilter<Question> filter) public SearchAll andQuestion (QueryFilter<Question> filter)
{ {
filter.addFilter (context, "rs_factor_lin.quest_number", "Question"); filter.addFilter (context, "tl_factor_lin.quest_number", "Question");
return this; return this;
} }
......
...@@ -293,10 +293,10 @@ public abstract class BaseFactorScore extends BaseBusinessClass ...@@ -293,10 +293,10 @@ public abstract class BaseFactorScore extends BaseBusinessClass
{ {
super._initialiseAssociations (); super._initialiseAssociations ();
_TestAnalysis = new SingleAssociation<FactorScore, TestAnalysis> (this, SINGLEREFERENCE_TestAnalysis, TestAnalysis.MULTIPLEREFERENCE_FactorScores, TestAnalysis.REFERENCE_TestAnalysis, "rs_score"); _TestAnalysis = new SingleAssociation<FactorScore, TestAnalysis> (this, SINGLEREFERENCE_TestAnalysis, TestAnalysis.MULTIPLEREFERENCE_FactorScores, TestAnalysis.REFERENCE_TestAnalysis, "tl_score");
_Factor = new SingleAssociation<FactorScore, Factor> (this, SINGLEREFERENCE_Factor, null, Factor.REFERENCE_Factor, "rs_score"); _Factor = new SingleAssociation<FactorScore, Factor> (this, SINGLEREFERENCE_Factor, null, Factor.REFERENCE_Factor, "tl_score");
_Level = new SingleAssociation<FactorScore, Level> (this, SINGLEREFERENCE_Level, null, Level.REFERENCE_Level, "rs_score"); _Level = new SingleAssociation<FactorScore, Level> (this, SINGLEREFERENCE_Level, null, Level.REFERENCE_Level, "tl_score");
_Narrative = new SingleAssociation<FactorScore, Narrative> (this, SINGLEREFERENCE_Narrative, Narrative.MULTIPLEREFERENCE_FactorScores, Narrative.REFERENCE_Narrative, "rs_score"); _Narrative = new SingleAssociation<FactorScore, Narrative> (this, SINGLEREFERENCE_Narrative, Narrative.MULTIPLEREFERENCE_FactorScores, Narrative.REFERENCE_Narrative, "tl_score");
} }
...@@ -306,10 +306,10 @@ public abstract class BaseFactorScore extends BaseBusinessClass ...@@ -306,10 +306,10 @@ public abstract class BaseFactorScore extends BaseBusinessClass
{ {
super.initialiseReference (); super.initialiseReference ();
_TestAnalysis = new SingleAssociation<FactorScore, TestAnalysis> (this, SINGLEREFERENCE_TestAnalysis, TestAnalysis.MULTIPLEREFERENCE_FactorScores, TestAnalysis.REFERENCE_TestAnalysis, "rs_score"); _TestAnalysis = new SingleAssociation<FactorScore, TestAnalysis> (this, SINGLEREFERENCE_TestAnalysis, TestAnalysis.MULTIPLEREFERENCE_FactorScores, TestAnalysis.REFERENCE_TestAnalysis, "tl_score");
_Factor = new SingleAssociation<FactorScore, Factor> (this, SINGLEREFERENCE_Factor, null, Factor.REFERENCE_Factor, "rs_score"); _Factor = new SingleAssociation<FactorScore, Factor> (this, SINGLEREFERENCE_Factor, null, Factor.REFERENCE_Factor, "tl_score");
_Level = new SingleAssociation<FactorScore, Level> (this, SINGLEREFERENCE_Level, null, Level.REFERENCE_Level, "rs_score"); _Level = new SingleAssociation<FactorScore, Level> (this, SINGLEREFERENCE_Level, null, Level.REFERENCE_Level, "tl_score");
_Narrative = new SingleAssociation<FactorScore, Narrative> (this, SINGLEREFERENCE_Narrative, Narrative.MULTIPLEREFERENCE_FactorScores, Narrative.REFERENCE_Narrative, "rs_score"); _Narrative = new SingleAssociation<FactorScore, Narrative> (this, SINGLEREFERENCE_Narrative, Narrative.MULTIPLEREFERENCE_FactorScores, Narrative.REFERENCE_Narrative, "tl_score");
return this; return this;
...@@ -1453,7 +1453,7 @@ public abstract class BaseFactorScore extends BaseBusinessClass ...@@ -1453,7 +1453,7 @@ public abstract class BaseFactorScore extends BaseBusinessClass
public String getBaseSetName () public String getBaseSetName ()
{ {
return "rs_score"; return "tl_score";
} }
...@@ -1474,12 +1474,12 @@ public abstract class BaseFactorScore extends BaseBusinessClass ...@@ -1474,12 +1474,12 @@ public abstract class BaseFactorScore extends BaseBusinessClass
super.getPersistentSets (allSets); super.getPersistentSets (allSets);
PersistentSet rs_scorePSet = allSets.getPersistentSet (myID, "rs_score", myPSetStatus); PersistentSet tl_scorePSet = allSets.getPersistentSet (myID, "tl_score", myPSetStatus);
rs_scorePSet.setAttrib (FIELD_ObjectID, myID); tl_scorePSet.setAttrib (FIELD_ObjectID, myID);
rs_scorePSet.setAttrib (FIELD_Score, HELPER_Score.toObject (_Score)); // tl_scorePSet.setAttrib (FIELD_Score, HELPER_Score.toObject (_Score)); //
rs_scorePSet.setAttrib (FIELD_ColorRank, HELPER_ColorRank.toObject (_ColorRank)); // tl_scorePSet.setAttrib (FIELD_ColorRank, HELPER_ColorRank.toObject (_ColorRank)); //
rs_scorePSet.setAttrib (FIELD_WghtdScore, HELPER_WghtdScore.toObject (_WghtdScore)); // tl_scorePSet.setAttrib (FIELD_WghtdScore, HELPER_WghtdScore.toObject (_WghtdScore)); //
_TestAnalysis.getPersistentSets (allSets); _TestAnalysis.getPersistentSets (allSets);
_Factor.getPersistentSets (allSets); _Factor.getPersistentSets (allSets);
_Level.getPersistentSets (allSets); _Level.getPersistentSets (allSets);
...@@ -1496,11 +1496,11 @@ public abstract class BaseFactorScore extends BaseBusinessClass ...@@ -1496,11 +1496,11 @@ public abstract class BaseFactorScore extends BaseBusinessClass
super.setFromPersistentSets (objectID, allSets); super.setFromPersistentSets (objectID, allSets);
PersistentSet rs_scorePSet = allSets.getPersistentSet (objectID, "rs_score"); PersistentSet tl_scorePSet = allSets.getPersistentSet (objectID, "tl_score");
_Score = (Integer)(HELPER_Score.fromObject (_Score, rs_scorePSet.getAttrib (FIELD_Score))); // _Score = (Integer)(HELPER_Score.fromObject (_Score, tl_scorePSet.getAttrib (FIELD_Score))); //
_ColorRank = (Integer)(HELPER_ColorRank.fromObject (_ColorRank, rs_scorePSet.getAttrib (FIELD_ColorRank))); // _ColorRank = (Integer)(HELPER_ColorRank.fromObject (_ColorRank, tl_scorePSet.getAttrib (FIELD_ColorRank))); //
_WghtdScore = (Integer)(HELPER_WghtdScore.fromObject (_WghtdScore, rs_scorePSet.getAttrib (FIELD_WghtdScore))); // _WghtdScore = (Integer)(HELPER_WghtdScore.fromObject (_WghtdScore, tl_scorePSet.getAttrib (FIELD_WghtdScore))); //
_TestAnalysis.setFromPersistentSets (objectID, allSets); _TestAnalysis.setFromPersistentSets (objectID, allSets);
_Factor.setFromPersistentSets (objectID, allSets); _Factor.setFromPersistentSets (objectID, allSets);
_Level.setFromPersistentSets (objectID, allSets); _Level.setFromPersistentSets (objectID, allSets);
...@@ -1799,62 +1799,62 @@ public abstract class BaseFactorScore extends BaseBusinessClass ...@@ -1799,62 +1799,62 @@ public abstract class BaseFactorScore extends BaseBusinessClass
public SearchAll andObjectID (QueryFilter<Long> filter) public SearchAll andObjectID (QueryFilter<Long> filter)
{ {
filter.addFilter (context, "rs_score.object_id", FIELD_ObjectID); filter.addFilter (context, "tl_score.object_id", FIELD_ObjectID);
return this; return this;
} }
public SearchAll andObjectCreated (QueryFilter<Date> filter) public SearchAll andObjectCreated (QueryFilter<Date> filter)
{ {
filter.addFilter (context, "rs_score.object_created_date", FIELD_ObjectCreated); filter.addFilter (context, "tl_score.object_created_date", FIELD_ObjectCreated);
return this; return this;
} }
public SearchAll andObjectLastModified (QueryFilter<Date> filter) public SearchAll andObjectLastModified (QueryFilter<Date> filter)
{ {
filter.addFilter (context, "rs_score.object_last_updated_date", FIELD_ObjectLastModified); filter.addFilter (context, "tl_score.object_last_updated_date", FIELD_ObjectLastModified);
return this; return this;
} }
public SearchAll andScore (QueryFilter<Integer> filter) public SearchAll andScore (QueryFilter<Integer> filter)
{ {
filter.addFilter (context, "rs_score.score_number", "Score"); filter.addFilter (context, "tl_score.score_number", "Score");
return this; return this;
} }
public SearchAll andColorRank (QueryFilter<Integer> filter) public SearchAll andColorRank (QueryFilter<Integer> filter)
{ {
filter.addFilter (context, "rs_score.color_rank", "ColorRank"); filter.addFilter (context, "tl_score.color_rank", "ColorRank");
return this; return this;
} }
public SearchAll andWghtdScore (QueryFilter<Integer> filter) public SearchAll andWghtdScore (QueryFilter<Integer> filter)
{ {
filter.addFilter (context, "rs_score.wghtd_score", "WghtdScore"); filter.addFilter (context, "tl_score.wghtd_score", "WghtdScore");
return this; return this;
} }
public SearchAll andTestAnalysis (QueryFilter<TestAnalysis> filter) public SearchAll andTestAnalysis (QueryFilter<TestAnalysis> filter)
{ {
filter.addFilter (context, "rs_score.test_analysis_id", "TestAnalysis"); filter.addFilter (context, "tl_score.test_analysis_id", "TestAnalysis");
return this; return this;
} }
public SearchAll andFactor (QueryFilter<Factor> filter) public SearchAll andFactor (QueryFilter<Factor> filter)
{ {
filter.addFilter (context, "rs_score.factor_number", "Factor"); filter.addFilter (context, "tl_score.factor_number", "Factor");
return this; return this;
} }
public SearchAll andLevel (QueryFilter<Level> filter) public SearchAll andLevel (QueryFilter<Level> filter)
{ {
filter.addFilter (context, "rs_score.level_number", "Level"); filter.addFilter (context, "tl_score.level_number", "Level");
return this; return this;
} }
public SearchAll andNarrative (QueryFilter<Narrative> filter) public SearchAll andNarrative (QueryFilter<Narrative> filter)
{ {
filter.addFilter (context, "rs_score.narrative_id", "Narrative"); filter.addFilter (context, "tl_score.narrative_id", "Narrative");
return this; return this;
} }
......
...@@ -256,9 +256,9 @@ public abstract class BaseFactorScoreResult extends BaseBusinessClass ...@@ -256,9 +256,9 @@ public abstract class BaseFactorScoreResult extends BaseBusinessClass
{ {
super._initialiseAssociations (); super._initialiseAssociations ();
_Factor = new SingleAssociation<FactorScoreResult, Factor> (this, SINGLEREFERENCE_Factor, Factor.MULTIPLEREFERENCE_Results, Factor.REFERENCE_Factor, "rs_level_factor"); _Factor = new SingleAssociation<FactorScoreResult, Factor> (this, SINGLEREFERENCE_Factor, Factor.MULTIPLEREFERENCE_Results, Factor.REFERENCE_Factor, "tl_level_factor");
_Level = new SingleAssociation<FactorScoreResult, Level> (this, SINGLEREFERENCE_Level, Level.MULTIPLEREFERENCE_Results, Level.REFERENCE_Level, "rs_level_factor"); _Level = new SingleAssociation<FactorScoreResult, Level> (this, SINGLEREFERENCE_Level, Level.MULTIPLEREFERENCE_Results, Level.REFERENCE_Level, "tl_level_factor");
_Narrative = new SingleAssociation<FactorScoreResult, Narrative> (this, SINGLEREFERENCE_Narrative, Narrative.MULTIPLEREFERENCE_Results, Narrative.REFERENCE_Narrative, "rs_level_factor"); _Narrative = new SingleAssociation<FactorScoreResult, Narrative> (this, SINGLEREFERENCE_Narrative, Narrative.MULTIPLEREFERENCE_Results, Narrative.REFERENCE_Narrative, "tl_level_factor");
} }
...@@ -268,9 +268,9 @@ public abstract class BaseFactorScoreResult extends BaseBusinessClass ...@@ -268,9 +268,9 @@ public abstract class BaseFactorScoreResult extends BaseBusinessClass
{ {
super.initialiseReference (); super.initialiseReference ();
_Factor = new SingleAssociation<FactorScoreResult, Factor> (this, SINGLEREFERENCE_Factor, Factor.MULTIPLEREFERENCE_Results, Factor.REFERENCE_Factor, "rs_level_factor"); _Factor = new SingleAssociation<FactorScoreResult, Factor> (this, SINGLEREFERENCE_Factor, Factor.MULTIPLEREFERENCE_Results, Factor.REFERENCE_Factor, "tl_level_factor");
_Level = new SingleAssociation<FactorScoreResult, Level> (this, SINGLEREFERENCE_Level, Level.MULTIPLEREFERENCE_Results, Level.REFERENCE_Level, "rs_level_factor"); _Level = new SingleAssociation<FactorScoreResult, Level> (this, SINGLEREFERENCE_Level, Level.MULTIPLEREFERENCE_Results, Level.REFERENCE_Level, "tl_level_factor");
_Narrative = new SingleAssociation<FactorScoreResult, Narrative> (this, SINGLEREFERENCE_Narrative, Narrative.MULTIPLEREFERENCE_Results, Narrative.REFERENCE_Narrative, "rs_level_factor"); _Narrative = new SingleAssociation<FactorScoreResult, Narrative> (this, SINGLEREFERENCE_Narrative, Narrative.MULTIPLEREFERENCE_Results, Narrative.REFERENCE_Narrative, "tl_level_factor");
return this; return this;
...@@ -1229,7 +1229,7 @@ public abstract class BaseFactorScoreResult extends BaseBusinessClass ...@@ -1229,7 +1229,7 @@ public abstract class BaseFactorScoreResult extends BaseBusinessClass
public String getBaseSetName () public String getBaseSetName ()
{ {
return "rs_level_factor"; return "tl_level_factor";
} }
...@@ -1250,12 +1250,12 @@ public abstract class BaseFactorScoreResult extends BaseBusinessClass ...@@ -1250,12 +1250,12 @@ public abstract class BaseFactorScoreResult extends BaseBusinessClass
super.getPersistentSets (allSets); super.getPersistentSets (allSets);
PersistentSet rs_level_factorPSet = allSets.getPersistentSet (myID, "rs_level_factor", myPSetStatus); PersistentSet tl_level_factorPSet = allSets.getPersistentSet (myID, "tl_level_factor", myPSetStatus);
rs_level_factorPSet.setAttrib (FIELD_ObjectID, myID); tl_level_factorPSet.setAttrib (FIELD_ObjectID, myID);
rs_level_factorPSet.setAttrib (FIELD_FromScore, HELPER_FromScore.toObject (_FromScore)); // tl_level_factorPSet.setAttrib (FIELD_FromScore, HELPER_FromScore.toObject (_FromScore)); //
rs_level_factorPSet.setAttrib (FIELD_ToScore, HELPER_ToScore.toObject (_ToScore)); // tl_level_factorPSet.setAttrib (FIELD_ToScore, HELPER_ToScore.toObject (_ToScore)); //
rs_level_factorPSet.setAttrib (FIELD_ColorCode, HELPER_ColorCode.toObject (_ColorCode)); // tl_level_factorPSet.setAttrib (FIELD_ColorCode, HELPER_ColorCode.toObject (_ColorCode)); //
_Factor.getPersistentSets (allSets); _Factor.getPersistentSets (allSets);
_Level.getPersistentSets (allSets); _Level.getPersistentSets (allSets);
_Narrative.getPersistentSets (allSets); _Narrative.getPersistentSets (allSets);
...@@ -1271,11 +1271,11 @@ public abstract class BaseFactorScoreResult extends BaseBusinessClass ...@@ -1271,11 +1271,11 @@ public abstract class BaseFactorScoreResult extends BaseBusinessClass
super.setFromPersistentSets (objectID, allSets); super.setFromPersistentSets (objectID, allSets);
PersistentSet rs_level_factorPSet = allSets.getPersistentSet (objectID, "rs_level_factor"); PersistentSet tl_level_factorPSet = allSets.getPersistentSet (objectID, "tl_level_factor");
_FromScore = (Integer)(HELPER_FromScore.fromObject (_FromScore, rs_level_factorPSet.getAttrib (FIELD_FromScore))); // _FromScore = (Integer)(HELPER_FromScore.fromObject (_FromScore, tl_level_factorPSet.getAttrib (FIELD_FromScore))); //
_ToScore = (Integer)(HELPER_ToScore.fromObject (_ToScore, rs_level_factorPSet.getAttrib (FIELD_ToScore))); // _ToScore = (Integer)(HELPER_ToScore.fromObject (_ToScore, tl_level_factorPSet.getAttrib (FIELD_ToScore))); //
_ColorCode = (ColorCode)(HELPER_ColorCode.fromObject (_ColorCode, rs_level_factorPSet.getAttrib (FIELD_ColorCode))); // _ColorCode = (ColorCode)(HELPER_ColorCode.fromObject (_ColorCode, tl_level_factorPSet.getAttrib (FIELD_ColorCode))); //
_Factor.setFromPersistentSets (objectID, allSets); _Factor.setFromPersistentSets (objectID, allSets);
_Level.setFromPersistentSets (objectID, allSets); _Level.setFromPersistentSets (objectID, allSets);
_Narrative.setFromPersistentSets (objectID, allSets); _Narrative.setFromPersistentSets (objectID, allSets);
...@@ -1556,56 +1556,56 @@ public abstract class BaseFactorScoreResult extends BaseBusinessClass ...@@ -1556,56 +1556,56 @@ public abstract class BaseFactorScoreResult extends BaseBusinessClass
public SearchAll andObjectID (QueryFilter<Long> filter) public SearchAll andObjectID (QueryFilter<Long> filter)
{ {
filter.addFilter (context, "rs_level_factor.object_id", FIELD_ObjectID); filter.addFilter (context, "tl_level_factor.object_id", FIELD_ObjectID);
return this; return this;
} }
public SearchAll andObjectCreated (QueryFilter<Date> filter) public SearchAll andObjectCreated (QueryFilter<Date> filter)
{ {
filter.addFilter (context, "rs_level_factor.object_created_date", FIELD_ObjectCreated); filter.addFilter (context, "tl_level_factor.object_created_date", FIELD_ObjectCreated);
return this; return this;
} }
public SearchAll andObjectLastModified (QueryFilter<Date> filter) public SearchAll andObjectLastModified (QueryFilter<Date> filter)
{ {
filter.addFilter (context, "rs_level_factor.object_last_updated_date", FIELD_ObjectLastModified); filter.addFilter (context, "tl_level_factor.object_last_updated_date", FIELD_ObjectLastModified);
return this; return this;
} }
public SearchAll andFromScore (QueryFilter<Integer> filter) public SearchAll andFromScore (QueryFilter<Integer> filter)
{ {
filter.addFilter (context, "rs_level_factor.from_score", "FromScore"); filter.addFilter (context, "tl_level_factor.from_score", "FromScore");
return this; return this;
} }
public SearchAll andToScore (QueryFilter<Integer> filter) public SearchAll andToScore (QueryFilter<Integer> filter)
{ {
filter.addFilter (context, "rs_level_factor.to_score", "ToScore"); filter.addFilter (context, "tl_level_factor.to_score", "ToScore");
return this; return this;
} }
public SearchAll andColorCode (QueryFilter<ColorCode> filter) public SearchAll andColorCode (QueryFilter<ColorCode> filter)
{ {
filter.addFilter (context, "rs_level_factor.color_code", "ColorCode"); filter.addFilter (context, "tl_level_factor.color_code", "ColorCode");
return this; return this;
} }
public SearchAll andFactor (QueryFilter<Factor> filter) public SearchAll andFactor (QueryFilter<Factor> filter)
{ {
filter.addFilter (context, "rs_level_factor.factor_number", "Factor"); filter.addFilter (context, "tl_level_factor.factor_number", "Factor");
return this; return this;
} }
public SearchAll andLevel (QueryFilter<Level> filter) public SearchAll andLevel (QueryFilter<Level> filter)
{ {
filter.addFilter (context, "rs_level_factor.level_number", "Level"); filter.addFilter (context, "tl_level_factor.level_number", "Level");
return this; return this;
} }
public SearchAll andNarrative (QueryFilter<Narrative> filter) public SearchAll andNarrative (QueryFilter<Narrative> filter)
{ {
filter.addFilter (context, "rs_level_factor.narrative_id", "Narrative"); filter.addFilter (context, "tl_level_factor.narrative_id", "Narrative");
return this; return this;
} }
......
...@@ -1310,7 +1310,7 @@ public abstract class BaseLevel extends BaseBusinessClass ...@@ -1310,7 +1310,7 @@ public abstract class BaseLevel extends BaseBusinessClass
public String getBaseSetName () public String getBaseSetName ()
{ {
return "rs_level"; return "tl_level";
} }
...@@ -1331,12 +1331,12 @@ public abstract class BaseLevel extends BaseBusinessClass ...@@ -1331,12 +1331,12 @@ public abstract class BaseLevel extends BaseBusinessClass
super.getPersistentSets (allSets); super.getPersistentSets (allSets);
PersistentSet rs_levelPSet = allSets.getPersistentSet (myID, "rs_level", myPSetStatus); PersistentSet tl_levelPSet = allSets.getPersistentSet (myID, "tl_level", myPSetStatus);
rs_levelPSet.setAttrib (FIELD_ObjectID, myID); tl_levelPSet.setAttrib (FIELD_ObjectID, myID);
rs_levelPSet.setAttrib (FIELD_LevelDescription, HELPER_LevelDescription.toObject (_LevelDescription)); // tl_levelPSet.setAttrib (FIELD_LevelDescription, HELPER_LevelDescription.toObject (_LevelDescription)); //
rs_levelPSet.setAttrib (FIELD_LevelNotes, HELPER_LevelNotes.toObject (_LevelNotes)); // tl_levelPSet.setAttrib (FIELD_LevelNotes, HELPER_LevelNotes.toObject (_LevelNotes)); //
rs_levelPSet.setAttrib (FIELD_ReportHeader, HELPER_ReportHeader.toObject (_ReportHeader)); // tl_levelPSet.setAttrib (FIELD_ReportHeader, HELPER_ReportHeader.toObject (_ReportHeader)); //
} }
...@@ -1349,11 +1349,11 @@ public abstract class BaseLevel extends BaseBusinessClass ...@@ -1349,11 +1349,11 @@ public abstract class BaseLevel extends BaseBusinessClass
super.setFromPersistentSets (objectID, allSets); super.setFromPersistentSets (objectID, allSets);
PersistentSet rs_levelPSet = allSets.getPersistentSet (objectID, "rs_level"); PersistentSet tl_levelPSet = allSets.getPersistentSet (objectID, "tl_level");
_LevelDescription = (String)(HELPER_LevelDescription.fromObject (_LevelDescription, rs_levelPSet.getAttrib (FIELD_LevelDescription))); // _LevelDescription = (String)(HELPER_LevelDescription.fromObject (_LevelDescription, tl_levelPSet.getAttrib (FIELD_LevelDescription))); //
_LevelNotes = (String)(HELPER_LevelNotes.fromObject (_LevelNotes, rs_levelPSet.getAttrib (FIELD_LevelNotes))); // _LevelNotes = (String)(HELPER_LevelNotes.fromObject (_LevelNotes, tl_levelPSet.getAttrib (FIELD_LevelNotes))); //
_ReportHeader = (String)(HELPER_ReportHeader.fromObject (_ReportHeader, rs_levelPSet.getAttrib (FIELD_ReportHeader))); // _ReportHeader = (String)(HELPER_ReportHeader.fromObject (_ReportHeader, tl_levelPSet.getAttrib (FIELD_ReportHeader))); //
} }
...@@ -1628,38 +1628,38 @@ public abstract class BaseLevel extends BaseBusinessClass ...@@ -1628,38 +1628,38 @@ public abstract class BaseLevel extends BaseBusinessClass
public SearchAll andObjectID (QueryFilter<Long> filter) public SearchAll andObjectID (QueryFilter<Long> filter)
{ {
filter.addFilter (context, "rs_level.object_id", FIELD_ObjectID); filter.addFilter (context, "tl_level.object_id", FIELD_ObjectID);
return this; return this;
} }
public SearchAll andObjectCreated (QueryFilter<Date> filter) public SearchAll andObjectCreated (QueryFilter<Date> filter)
{ {
filter.addFilter (context, "rs_level.object_created_date", FIELD_ObjectCreated); filter.addFilter (context, "tl_level.object_created_date", FIELD_ObjectCreated);
return this; return this;
} }
public SearchAll andObjectLastModified (QueryFilter<Date> filter) public SearchAll andObjectLastModified (QueryFilter<Date> filter)
{ {
filter.addFilter (context, "rs_level.object_last_updated_date", FIELD_ObjectLastModified); filter.addFilter (context, "tl_level.object_last_updated_date", FIELD_ObjectLastModified);
return this; return this;
} }
public SearchAll andLevelDescription (QueryFilter<String> filter) public SearchAll andLevelDescription (QueryFilter<String> filter)
{ {
filter.addFilter (context, "rs_level.level_desc", "LevelDescription"); filter.addFilter (context, "tl_level.level_desc", "LevelDescription");
return this; return this;
} }
public SearchAll andLevelNotes (QueryFilter<String> filter) public SearchAll andLevelNotes (QueryFilter<String> filter)
{ {
filter.addFilter (context, "rs_level.level_notes", "LevelNotes"); filter.addFilter (context, "tl_level.level_notes", "LevelNotes");
return this; return this;
} }
public SearchAll andReportHeader (QueryFilter<String> filter) public SearchAll andReportHeader (QueryFilter<String> filter)
{ {
filter.addFilter (context, "rs_level.rpt_hdr", "ReportHeader"); filter.addFilter (context, "tl_level.rpt_hdr", "ReportHeader");
return this; return this;
} }
......
...@@ -185,7 +185,7 @@ public abstract class BaseQuestion extends BaseBusinessClass ...@@ -185,7 +185,7 @@ public abstract class BaseQuestion extends BaseBusinessClass
{ {
super._initialiseAssociations (); super._initialiseAssociations ();
_Section = new SingleAssociation<Question, Section> (this, SINGLEREFERENCE_Section, Section.MULTIPLEREFERENCE_Questions, Section.REFERENCE_Section, "rs_quest_lin"); _Section = new SingleAssociation<Question, Section> (this, SINGLEREFERENCE_Section, Section.MULTIPLEREFERENCE_Questions, Section.REFERENCE_Section, "tl_quest_lin");
_Factors = new MultipleAssociation<Question, FactorQuestionLink> (this, MULTIPLEREFERENCE_Factors, FactorQuestionLink.SINGLEREFERENCE_Question, FactorQuestionLink.REFERENCE_FactorQuestionLink); _Factors = new MultipleAssociation<Question, FactorQuestionLink> (this, MULTIPLEREFERENCE_Factors, FactorQuestionLink.SINGLEREFERENCE_Question, FactorQuestionLink.REFERENCE_FactorQuestionLink);
} }
...@@ -196,7 +196,7 @@ public abstract class BaseQuestion extends BaseBusinessClass ...@@ -196,7 +196,7 @@ public abstract class BaseQuestion extends BaseBusinessClass
{ {
super.initialiseReference (); super.initialiseReference ();
_Section = new SingleAssociation<Question, Section> (this, SINGLEREFERENCE_Section, Section.MULTIPLEREFERENCE_Questions, Section.REFERENCE_Section, "rs_quest_lin"); _Section = new SingleAssociation<Question, Section> (this, SINGLEREFERENCE_Section, Section.MULTIPLEREFERENCE_Questions, Section.REFERENCE_Section, "tl_quest_lin");
_Factors = new MultipleAssociation<Question, FactorQuestionLink> (this, MULTIPLEREFERENCE_Factors, FactorQuestionLink.SINGLEREFERENCE_Question, FactorQuestionLink.REFERENCE_FactorQuestionLink); _Factors = new MultipleAssociation<Question, FactorQuestionLink> (this, MULTIPLEREFERENCE_Factors, FactorQuestionLink.SINGLEREFERENCE_Question, FactorQuestionLink.REFERENCE_FactorQuestionLink);
...@@ -800,7 +800,7 @@ public abstract class BaseQuestion extends BaseBusinessClass ...@@ -800,7 +800,7 @@ public abstract class BaseQuestion extends BaseBusinessClass
public String getBaseSetName () public String getBaseSetName ()
{ {
return "rs_quest_lin"; return "tl_quest_lin";
} }
...@@ -821,10 +821,10 @@ public abstract class BaseQuestion extends BaseBusinessClass ...@@ -821,10 +821,10 @@ public abstract class BaseQuestion extends BaseBusinessClass
super.getPersistentSets (allSets); super.getPersistentSets (allSets);
PersistentSet rs_quest_linPSet = allSets.getPersistentSet (myID, "rs_quest_lin", myPSetStatus); PersistentSet tl_quest_linPSet = allSets.getPersistentSet (myID, "tl_quest_lin", myPSetStatus);
rs_quest_linPSet.setAttrib (FIELD_ObjectID, myID); tl_quest_linPSet.setAttrib (FIELD_ObjectID, myID);
rs_quest_linPSet.setAttrib (FIELD_Description, HELPER_Description.toObject (_Description)); // tl_quest_linPSet.setAttrib (FIELD_Description, HELPER_Description.toObject (_Description)); //
_Section.getPersistentSets (allSets); _Section.getPersistentSets (allSets);
} }
...@@ -838,9 +838,9 @@ public abstract class BaseQuestion extends BaseBusinessClass ...@@ -838,9 +838,9 @@ public abstract class BaseQuestion extends BaseBusinessClass
super.setFromPersistentSets (objectID, allSets); super.setFromPersistentSets (objectID, allSets);
PersistentSet rs_quest_linPSet = allSets.getPersistentSet (objectID, "rs_quest_lin"); PersistentSet tl_quest_linPSet = allSets.getPersistentSet (objectID, "tl_quest_lin");
_Description = (String)(HELPER_Description.fromObject (_Description, rs_quest_linPSet.getAttrib (FIELD_Description))); // _Description = (String)(HELPER_Description.fromObject (_Description, tl_quest_linPSet.getAttrib (FIELD_Description))); //
_Section.setFromPersistentSets (objectID, allSets); _Section.setFromPersistentSets (objectID, allSets);
} }
...@@ -1060,32 +1060,32 @@ public abstract class BaseQuestion extends BaseBusinessClass ...@@ -1060,32 +1060,32 @@ public abstract class BaseQuestion extends BaseBusinessClass
public SearchAll andObjectID (QueryFilter<Long> filter) public SearchAll andObjectID (QueryFilter<Long> filter)
{ {
filter.addFilter (context, "rs_quest_lin.object_id", FIELD_ObjectID); filter.addFilter (context, "tl_quest_lin.object_id", FIELD_ObjectID);
return this; return this;
} }
public SearchAll andObjectCreated (QueryFilter<Date> filter) public SearchAll andObjectCreated (QueryFilter<Date> filter)
{ {
filter.addFilter (context, "rs_quest_lin.object_created_date", FIELD_ObjectCreated); filter.addFilter (context, "tl_quest_lin.object_created_date", FIELD_ObjectCreated);
return this; return this;
} }
public SearchAll andObjectLastModified (QueryFilter<Date> filter) public SearchAll andObjectLastModified (QueryFilter<Date> filter)
{ {
filter.addFilter (context, "rs_quest_lin.object_last_updated_date", FIELD_ObjectLastModified); filter.addFilter (context, "tl_quest_lin.object_last_updated_date", FIELD_ObjectLastModified);
return this; return this;
} }
public SearchAll andDescription (QueryFilter<String> filter) public SearchAll andDescription (QueryFilter<String> filter)
{ {
filter.addFilter (context, "rs_quest_lin.left_quest", "Description"); filter.addFilter (context, "tl_quest_lin.left_quest", "Description");
return this; return this;
} }
public SearchAll andSection (QueryFilter<Section> filter) public SearchAll andSection (QueryFilter<Section> filter)
{ {
filter.addFilter (context, "rs_quest_lin.section_number", "Section"); filter.addFilter (context, "tl_quest_lin.section_number", "Section");
return this; return this;
} }
......
...@@ -762,7 +762,7 @@ public abstract class BaseSection extends BaseBusinessClass ...@@ -762,7 +762,7 @@ public abstract class BaseSection extends BaseBusinessClass
public String getBaseSetName () public String getBaseSetName ()
{ {
return "rs_quest_hdr"; return "tl_quest_hdr";
} }
...@@ -783,11 +783,11 @@ public abstract class BaseSection extends BaseBusinessClass ...@@ -783,11 +783,11 @@ public abstract class BaseSection extends BaseBusinessClass
super.getPersistentSets (allSets); super.getPersistentSets (allSets);
PersistentSet rs_quest_hdrPSet = allSets.getPersistentSet (myID, "rs_quest_hdr", myPSetStatus); PersistentSet tl_quest_hdrPSet = allSets.getPersistentSet (myID, "tl_quest_hdr", myPSetStatus);
rs_quest_hdrPSet.setAttrib (FIELD_ObjectID, myID); tl_quest_hdrPSet.setAttrib (FIELD_ObjectID, myID);
rs_quest_hdrPSet.setAttrib (FIELD_Description, HELPER_Description.toObject (_Description)); // tl_quest_hdrPSet.setAttrib (FIELD_Description, HELPER_Description.toObject (_Description)); //
rs_quest_hdrPSet.setAttrib (FIELD_QuestionType, HELPER_QuestionType.toObject (_QuestionType)); // tl_quest_hdrPSet.setAttrib (FIELD_QuestionType, HELPER_QuestionType.toObject (_QuestionType)); //
} }
...@@ -800,10 +800,10 @@ public abstract class BaseSection extends BaseBusinessClass ...@@ -800,10 +800,10 @@ public abstract class BaseSection extends BaseBusinessClass
super.setFromPersistentSets (objectID, allSets); super.setFromPersistentSets (objectID, allSets);
PersistentSet rs_quest_hdrPSet = allSets.getPersistentSet (objectID, "rs_quest_hdr"); PersistentSet tl_quest_hdrPSet = allSets.getPersistentSet (objectID, "tl_quest_hdr");
_Description = (String)(HELPER_Description.fromObject (_Description, rs_quest_hdrPSet.getAttrib (FIELD_Description))); // _Description = (String)(HELPER_Description.fromObject (_Description, tl_quest_hdrPSet.getAttrib (FIELD_Description))); //
_QuestionType = (QuestionType)(HELPER_QuestionType.fromObject (_QuestionType, rs_quest_hdrPSet.getAttrib (FIELD_QuestionType))); // _QuestionType = (QuestionType)(HELPER_QuestionType.fromObject (_QuestionType, tl_quest_hdrPSet.getAttrib (FIELD_QuestionType))); //
} }
...@@ -1030,32 +1030,32 @@ public abstract class BaseSection extends BaseBusinessClass ...@@ -1030,32 +1030,32 @@ public abstract class BaseSection extends BaseBusinessClass
public SearchAll andObjectID (QueryFilter<Long> filter) public SearchAll andObjectID (QueryFilter<Long> filter)
{ {
filter.addFilter (context, "rs_quest_hdr.object_id", FIELD_ObjectID); filter.addFilter (context, "tl_quest_hdr.object_id", FIELD_ObjectID);
return this; return this;
} }
public SearchAll andObjectCreated (QueryFilter<Date> filter) public SearchAll andObjectCreated (QueryFilter<Date> filter)
{ {
filter.addFilter (context, "rs_quest_hdr.object_created_date", FIELD_ObjectCreated); filter.addFilter (context, "tl_quest_hdr.object_created_date", FIELD_ObjectCreated);
return this; return this;
} }
public SearchAll andObjectLastModified (QueryFilter<Date> filter) public SearchAll andObjectLastModified (QueryFilter<Date> filter)
{ {
filter.addFilter (context, "rs_quest_hdr.object_last_updated_date", FIELD_ObjectLastModified); filter.addFilter (context, "tl_quest_hdr.object_last_updated_date", FIELD_ObjectLastModified);
return this; return this;
} }
public SearchAll andDescription (QueryFilter<String> filter) public SearchAll andDescription (QueryFilter<String> filter)
{ {
filter.addFilter (context, "rs_quest_hdr.quest_hdr_desc", "Description"); filter.addFilter (context, "tl_quest_hdr.quest_hdr_desc", "Description");
return this; return this;
} }
public SearchAll andQuestionType (QueryFilter<QuestionType> filter) public SearchAll andQuestionType (QueryFilter<QuestionType> filter)
{ {
filter.addFilter (context, "rs_quest_hdr.quest_type_flag", "QuestionType"); filter.addFilter (context, "tl_quest_hdr.quest_type_flag", "QuestionType");
return this; return this;
} }
......
...@@ -180,8 +180,8 @@ public abstract class BaseTestAnalysis extends BaseBusinessClass ...@@ -180,8 +180,8 @@ public abstract class BaseTestAnalysis extends BaseBusinessClass
{ {
super._initialiseAssociations (); super._initialiseAssociations ();
_Level = new SingleAssociation<TestAnalysis, Level> (this, SINGLEREFERENCE_Level, Level.MULTIPLEREFERENCE_TestAnalysises, Level.REFERENCE_Level, "rs_test_analysis"); _Level = new SingleAssociation<TestAnalysis, Level> (this, SINGLEREFERENCE_Level, Level.MULTIPLEREFERENCE_TestAnalysises, Level.REFERENCE_Level, "tl_test_analysis");
_Candidate = new SingleAssociation<TestAnalysis, Candidate> (this, SINGLEREFERENCE_Candidate, Candidate.MULTIPLEREFERENCE_TestAnalysises, Candidate.REFERENCE_Candidate, "rs_test_analysis"); _Candidate = new SingleAssociation<TestAnalysis, Candidate> (this, SINGLEREFERENCE_Candidate, Candidate.MULTIPLEREFERENCE_TestAnalysises, Candidate.REFERENCE_Candidate, "tl_test_analysis");
_FactorScores = new MultipleAssociation<TestAnalysis, FactorScore> (this, MULTIPLEREFERENCE_FactorScores, FactorScore.SINGLEREFERENCE_TestAnalysis, FactorScore.REFERENCE_FactorScore); _FactorScores = new MultipleAssociation<TestAnalysis, FactorScore> (this, MULTIPLEREFERENCE_FactorScores, FactorScore.SINGLEREFERENCE_TestAnalysis, FactorScore.REFERENCE_FactorScore);
} }
...@@ -192,8 +192,8 @@ public abstract class BaseTestAnalysis extends BaseBusinessClass ...@@ -192,8 +192,8 @@ public abstract class BaseTestAnalysis extends BaseBusinessClass
{ {
super.initialiseReference (); super.initialiseReference ();
_Level = new SingleAssociation<TestAnalysis, Level> (this, SINGLEREFERENCE_Level, Level.MULTIPLEREFERENCE_TestAnalysises, Level.REFERENCE_Level, "rs_test_analysis"); _Level = new SingleAssociation<TestAnalysis, Level> (this, SINGLEREFERENCE_Level, Level.MULTIPLEREFERENCE_TestAnalysises, Level.REFERENCE_Level, "tl_test_analysis");
_Candidate = new SingleAssociation<TestAnalysis, Candidate> (this, SINGLEREFERENCE_Candidate, Candidate.MULTIPLEREFERENCE_TestAnalysises, Candidate.REFERENCE_Candidate, "rs_test_analysis"); _Candidate = new SingleAssociation<TestAnalysis, Candidate> (this, SINGLEREFERENCE_Candidate, Candidate.MULTIPLEREFERENCE_TestAnalysises, Candidate.REFERENCE_Candidate, "tl_test_analysis");
_FactorScores = new MultipleAssociation<TestAnalysis, FactorScore> (this, MULTIPLEREFERENCE_FactorScores, FactorScore.SINGLEREFERENCE_TestAnalysis, FactorScore.REFERENCE_FactorScore); _FactorScores = new MultipleAssociation<TestAnalysis, FactorScore> (this, MULTIPLEREFERENCE_FactorScores, FactorScore.SINGLEREFERENCE_TestAnalysis, FactorScore.REFERENCE_FactorScore);
...@@ -840,7 +840,7 @@ public abstract class BaseTestAnalysis extends BaseBusinessClass ...@@ -840,7 +840,7 @@ public abstract class BaseTestAnalysis extends BaseBusinessClass
public String getBaseSetName () public String getBaseSetName ()
{ {
return "rs_test_analysis"; return "tl_test_analysis";
} }
...@@ -861,9 +861,9 @@ public abstract class BaseTestAnalysis extends BaseBusinessClass ...@@ -861,9 +861,9 @@ public abstract class BaseTestAnalysis extends BaseBusinessClass
super.getPersistentSets (allSets); super.getPersistentSets (allSets);
PersistentSet rs_test_analysisPSet = allSets.getPersistentSet (myID, "rs_test_analysis", myPSetStatus); PersistentSet tl_test_analysisPSet = allSets.getPersistentSet (myID, "tl_test_analysis", myPSetStatus);
rs_test_analysisPSet.setAttrib (FIELD_ObjectID, myID); tl_test_analysisPSet.setAttrib (FIELD_ObjectID, myID);
_Level.getPersistentSets (allSets); _Level.getPersistentSets (allSets);
_Candidate.getPersistentSets (allSets); _Candidate.getPersistentSets (allSets);
...@@ -878,7 +878,7 @@ public abstract class BaseTestAnalysis extends BaseBusinessClass ...@@ -878,7 +878,7 @@ public abstract class BaseTestAnalysis extends BaseBusinessClass
super.setFromPersistentSets (objectID, allSets); super.setFromPersistentSets (objectID, allSets);
PersistentSet rs_test_analysisPSet = allSets.getPersistentSet (objectID, "rs_test_analysis"); PersistentSet tl_test_analysisPSet = allSets.getPersistentSet (objectID, "tl_test_analysis");
_Level.setFromPersistentSets (objectID, allSets); _Level.setFromPersistentSets (objectID, allSets);
_Candidate.setFromPersistentSets (objectID, allSets); _Candidate.setFromPersistentSets (objectID, allSets);
...@@ -1092,32 +1092,32 @@ public abstract class BaseTestAnalysis extends BaseBusinessClass ...@@ -1092,32 +1092,32 @@ public abstract class BaseTestAnalysis extends BaseBusinessClass
public SearchAll andObjectID (QueryFilter<Long> filter) public SearchAll andObjectID (QueryFilter<Long> filter)
{ {
filter.addFilter (context, "rs_test_analysis.object_id", FIELD_ObjectID); filter.addFilter (context, "tl_test_analysis.object_id", FIELD_ObjectID);
return this; return this;
} }
public SearchAll andObjectCreated (QueryFilter<Date> filter) public SearchAll andObjectCreated (QueryFilter<Date> filter)
{ {
filter.addFilter (context, "rs_test_analysis.object_created_date", FIELD_ObjectCreated); filter.addFilter (context, "tl_test_analysis.object_created_date", FIELD_ObjectCreated);
return this; return this;
} }
public SearchAll andObjectLastModified (QueryFilter<Date> filter) public SearchAll andObjectLastModified (QueryFilter<Date> filter)
{ {
filter.addFilter (context, "rs_test_analysis.object_last_updated_date", FIELD_ObjectLastModified); filter.addFilter (context, "tl_test_analysis.object_last_updated_date", FIELD_ObjectLastModified);
return this; return this;
} }
public SearchAll andLevel (QueryFilter<Level> filter) public SearchAll andLevel (QueryFilter<Level> filter)
{ {
filter.addFilter (context, "rs_test_analysis.level_id", "Level"); filter.addFilter (context, "tl_test_analysis.level_id", "Level");
return this; return this;
} }
public SearchAll andCandidate (QueryFilter<Candidate> filter) public SearchAll andCandidate (QueryFilter<Candidate> filter)
{ {
filter.addFilter (context, "rs_test_analysis.candidate_id", "Candidate"); filter.addFilter (context, "tl_test_analysis.candidate_id", "Candidate");
return this; return this;
} }
......
...@@ -7,14 +7,14 @@ ...@@ -7,14 +7,14 @@
<MULTIPLEREFERENCE name="TestAnalysises" type="TestAnalysis" backreferenceName="Candidate" /> <MULTIPLEREFERENCE name="TestAnalysises" type="TestAnalysis" backreferenceName="Candidate" />
<MULTIPLEREFERENCE name="Answers" type="Answer" backreferenceName="Candidate" /> <MULTIPLEREFERENCE name="Answers" type="Answer" backreferenceName="Candidate" />
<TABLE name="rs_candidate" tablePrefix="object" polymorphic="FALSE"> <TABLE name="tl_candidate" tablePrefix="object" polymorphic="FALSE">
<ATTRIB name="FirstName" type="String" dbcol="first_name" length="30"/> <ATTRIB name="FirstName" type="String" dbcol="first_name" length="30"/>
<SINGLEREFERENCE name="TestInput" type="TestInput" dbcol="test_input_id" backreferenceName="Candidates"/> <SINGLEREFERENCE name="TestInput" type="TestInput" dbcol="test_input_id" backreferenceName="Candidates"/>
</TABLE> </TABLE>
<SEARCH type="All" paramFilter="rs_candidate.object_id is not null" orderBy="rs_candidate.object_id" /> <SEARCH type="All" paramFilter="tl_candidate.object_id is not null" orderBy="tl_candidate.object_id" />
</BUSINESSCLASS> </BUSINESSCLASS>
......
...@@ -10,14 +10,14 @@ ...@@ -10,14 +10,14 @@
<MULTIPLEREFERENCE name="Ratings" type="CultureElementRating" backreferenceName="CultureElement" /> <MULTIPLEREFERENCE name="Ratings" type="CultureElementRating" backreferenceName="CultureElement" />
<MULTIPLEREFERENCE name="Narratives" type="CultureNarrative" backreferenceName="CultureElement" /> <MULTIPLEREFERENCE name="Narratives" type="CultureNarrative" backreferenceName="CultureElement" />
<TABLE name="rs_culture_element" tablePrefix="object" polymorphic="FALSE"> <TABLE name="tl_culture_element" tablePrefix="object" polymorphic="FALSE">
<ATTRIB name="Description" type="String" dbcol="culture_element_desc" length="200"/> <ATTRIB name="Description" type="String" dbcol="culture_element_desc" length="200"/>
<ATTRIB name="CultureClass" type="CultureClass" dbcol="culture_class_code" attribHelper="EnumeratedAttributeHelper" /> <ATTRIB name="CultureClass" type="CultureClass" dbcol="culture_class_code" attribHelper="EnumeratedAttributeHelper" />
</TABLE> </TABLE>
<SEARCH type="All" paramFilter="rs_culture_element.object_id is not null" orderBy="rs_culture_element.object_id" /> <SEARCH type="All" paramFilter="tl_culture_element.object_id is not null" orderBy="tl_culture_element.object_id" />
</BUSINESSCLASS> </BUSINESSCLASS>
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<MULTIPLEREFERENCE name="Narratives" type="CultureNarrative" backreferenceName="CultureElementQuestion" /> <MULTIPLEREFERENCE name="Narratives" type="CultureNarrative" backreferenceName="CultureElementQuestion" />
<TABLE name="rs_culture_element_quest" tablePrefix="object" polymorphic="FALSE"> <TABLE name="tl_culture_element_quest" tablePrefix="object" polymorphic="FALSE">
<ATTRIB name="Description" type="String" dbcol="quest" length="200"/> <ATTRIB name="Description" type="String" dbcol="quest" length="200"/>
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
</TABLE> </TABLE>
<SEARCH type="All" paramFilter="rs_culture_element_quest.object_id is not null" orderBy="rs_culture_element_quest.object_id" /> <SEARCH type="All" paramFilter="tl_culture_element_quest.object_id is not null" orderBy="tl_culture_element_quest.object_id" />
</BUSINESSCLASS> </BUSINESSCLASS>
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<MULTIPLEREFERENCE name="Narratives" type="CultureNarrative" backreferenceName="CultureElementRating" /> <MULTIPLEREFERENCE name="Narratives" type="CultureNarrative" backreferenceName="CultureElementRating" />
<TABLE name="rs_culture_element_rating" tablePrefix="object" polymorphic="FALSE"> <TABLE name="tl_culture_element_rating" tablePrefix="object" polymorphic="FALSE">
<ATTRIB name="Description" type="String" dbcol="culture_element_rating_desc" length="200"/> <ATTRIB name="Description" type="String" dbcol="culture_element_rating_desc" length="200"/>
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
</TABLE> </TABLE>
<SEARCH type="All" paramFilter="rs_culture_element_rating.object_id is not null" orderBy="rs_culture_element_rating.object_id" /> <SEARCH type="All" paramFilter="tl_culture_element_rating.object_id is not null" orderBy="tl_culture_element_rating.object_id" />
</BUSINESSCLASS> </BUSINESSCLASS>
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<IMPORT value="performa.orm.types.*"/> <IMPORT value="performa.orm.types.*"/>
<TABLE name="rs_culture_narrative" tablePrefix="object" polymorphic="FALSE"> <TABLE name="tl_culture_narrative" tablePrefix="object" polymorphic="FALSE">
<ATTRIB name="Notes" type="String" dbcol="narrative_notes" /> <ATTRIB name="Notes" type="String" dbcol="narrative_notes" />
<ATTRIB name="ColorCode" type="ColorCode" dbcol="color_code" attribHelper="EnumeratedAttributeHelper" /> <ATTRIB name="ColorCode" type="ColorCode" dbcol="color_code" attribHelper="EnumeratedAttributeHelper" />
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
</TABLE> </TABLE>
<SEARCH type="All" paramFilter="rs_culture_narrative.object_id is not null" orderBy="rs_culture_narrative.object_id" /> <SEARCH type="All" paramFilter="tl_culture_narrative.object_id is not null" orderBy="tl_culture_narrative.object_id" />
</BUSINESSCLASS> </BUSINESSCLASS>
......
...@@ -8,13 +8,13 @@ ...@@ -8,13 +8,13 @@
<MULTIPLEREFERENCE name="Questions" type="FactorQuestionLink" backreferenceName="Factor" /> <MULTIPLEREFERENCE name="Questions" type="FactorQuestionLink" backreferenceName="Factor" />
<MULTIPLEREFERENCE name="Results" type="FactorScoreResult" backreferenceName="Factor" /> <MULTIPLEREFERENCE name="Results" type="FactorScoreResult" backreferenceName="Factor" />
<TABLE name="rs_factor" tablePrefix="object" polymorphic="FALSE"> <TABLE name="tl_factor" tablePrefix="object" polymorphic="FALSE">
<ATTRIB name="Description" type="String" dbcol="factor_hdr_desc" length="30"/> <ATTRIB name="Description" type="String" dbcol="factor_hdr_desc" length="30"/>
</TABLE> </TABLE>
<SEARCH type="All" paramFilter="rs_factor.object_id is not null" orderBy="rs_factor.object_id" /> <SEARCH type="All" paramFilter="tl_factor.object_id is not null" orderBy="tl_factor.object_id" />
</BUSINESSCLASS> </BUSINESSCLASS>
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<BUSINESSCLASS name="FactorLevelLink" package="performa.orm"> <BUSINESSCLASS name="FactorLevelLink" package="performa.orm">
<TABLE name="rs_factor_hdr" tablePrefix="object" polymorphic="FALSE"> <TABLE name="tl_factor_hdr" tablePrefix="object" polymorphic="FALSE">
<ATTRIB name="ClassCode" type="String" dbcol="class_code" length="15"/> <ATTRIB name="ClassCode" type="String" dbcol="class_code" length="15"/>
<ATTRIB name="Notes" type="String" dbcol="factor_hdr_notes"/> <ATTRIB name="Notes" type="String" dbcol="factor_hdr_notes"/>
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
</TABLE> </TABLE>
<SEARCH type="All" paramFilter="rs_factor_hdr.object_id is not null" orderBy="factor_hdr.object_id" /> <SEARCH type="All" paramFilter="tl_factor_hdr.object_id is not null" orderBy="factor_hdr.object_id" />
</BUSINESSCLASS> </BUSINESSCLASS>
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<BUSINESSCLASS name="FactorQuestionLink" package="performa.orm"> <BUSINESSCLASS name="FactorQuestionLink" package="performa.orm">
<TABLE name="rs_factor_lin" tablePrefix="object" polymorphic="FALSE"> <TABLE name="tl_factor_lin" tablePrefix="object" polymorphic="FALSE">
<ATTRIB name="ReverseScore" type="Boolean" dbcol="reverse_score_flag"/> <ATTRIB name="ReverseScore" type="Boolean" dbcol="reverse_score_flag"/>
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
</TABLE> </TABLE>
<SEARCH type="All" paramFilter="rs_factor_lin.object_id is not null" orderBy="rs_factor_lin.object_id" /> <SEARCH type="All" paramFilter="tl_factor_lin.object_id is not null" orderBy="tl_factor_lin.object_id" />
</BUSINESSCLASS> </BUSINESSCLASS>
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
<TRANSIENT name="ColorCode" type="ColorCode" attribHelper="EnumeratedAttributeHelper"/> <TRANSIENT name="ColorCode" type="ColorCode" attribHelper="EnumeratedAttributeHelper"/>
<TABLE name="rs_score" tablePrefix="object" polymorphic="FALSE"> <TABLE name="tl_score" tablePrefix="object" polymorphic="FALSE">
<ATTRIB name="Score" type="Integer" dbcol="score_number"/> <ATTRIB name="Score" type="Integer" dbcol="score_number"/>
<ATTRIB name="ColorRank" type="Integer" dbcol="color_rank" /> <ATTRIB name="ColorRank" type="Integer" dbcol="color_rank" />
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
</TABLE> </TABLE>
<SEARCH type="All" paramFilter="rs_score.object_id is not null" orderBy="rs_score.object_id" /> <SEARCH type="All" paramFilter="tl_score.object_id is not null" orderBy="tl_score.object_id" />
</BUSINESSCLASS> </BUSINESSCLASS>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment