[virtualcommons-svn] SF.net SVN: virtualcommons:[100] mentalmodels/trunk/src/main
Status: Beta
Brought to you by:
alllee
From: <see...@us...> - 2009-04-15 00:27:02
|
Revision: 100 http://virtualcommons.svn.sourceforge.net/virtualcommons/?rev=100&view=rev Author: seematalele Date: 2009-04-15 00:26:54 +0000 (Wed, 15 Apr 2009) Log Message: ----------- Written insert statements for questiongroup table into the init-mme.sql; Modified Paths: -------------- mentalmodels/trunk/src/main/db/init-mme.sql mentalmodels/trunk/src/main/java/edu/asu/commons/mme/entity/QuestionGroup.java Modified: mentalmodels/trunk/src/main/db/init-mme.sql =================================================================== --- mentalmodels/trunk/src/main/db/init-mme.sql 2009-04-14 22:18:17 UTC (rev 99) +++ mentalmodels/trunk/src/main/db/init-mme.sql 2009-04-15 00:26:54 UTC (rev 100) @@ -21,24 +21,34 @@ insert into round_config_location_config(roundconfig_id,locationconfig_id) values(2,3); insert into round_config_location_config(roundconfig_id,locationconfig_id) values(2,4); -insert into question_group(sequence_no) values(1); -insert into question_group(sequence_no) values(2); -insert into question_group(sequence_no) values(3); -insert into question_group(sequence_no) values(4); -insert into question_group(sequence_no) values(5); -insert into question_group(sequence_no) values(6); -insert into question_group(sequence_no) values(7); -insert into question_group(sequence_no) values(8); -insert into question_group(sequence_no) values(9); -insert into question_group(sequence_no) values(10); -insert into question_group(sequence_no) values(11); -insert into question_group(sequence_no) values(12); -insert into question_group(sequence_no) values(13); -insert into question_group(sequence_no) values(14); -insert into question_group(sequence_no) values(15); -insert into question_group(sequence_no) values(16); -insert into question_group(sequence_no) values(17); -insert into question_group(sequence_no) values(18); +insert into question_group(sequence_no,header_question) values(1,"Leaving strategy design +During a quick check of your strategy the following possible errors were found"); +insert into question_group(sequence_no) values(2,"Explain the strategy in your own words"); +insert into question_group(sequence_no) values(3,"What goals did you follow when designing your strategy?"); +insert into question_group(sequence_no) values(4,"What goals do you think the others follow?"); +insert into question_group(sequence_no) values(5,"How do you perceive your group?"); +insert into question_group(sequence_no) values(6,"How much do you count on others and how much can they count on you?"); +insert into question_group(sequence_no) values(7,"What else influenced your strategy design?"); +insert into question_group(sequence_no) values(8,"How confident are you in reaching the outcomes you are expecting?"); +insert into question_group(sequence_no) values(9,"What are you expecting the others will do?"); +insert into question_group(sequence_no) values(10,"What are you expecting how the fish population will develop?"); +insert into question_group(sequence_no) values(11,"Leaving strategy design"); +insert into question_group(sequence_no) values(12,"What are your emotional reactions to the outcomes?"); +insert into question_group(sequence_no) values(13,"What is your evaluation of the outcomes?"); +insert into question_group(sequence_no) values(14,"What might be the causes for the outcomes?"); +insert into question_group(sequence_no) values(15,"Comparing your day-by-day decisions with the strategy"); +insert into question_group(sequence_no) values(16,"Lessons learned"); +insert into question_group(sequence_no) values(17,"Explain the strategy in your own words"); +insert into question_group(sequence_no) values(18,"Leaving strategy design"); +insert into question_group(sequence_no) values(19,"Did the communication have any effect on you?"); +insert into question_group(sequence_no) values(20,"What do you think were the effects of the communication on the others?"); +insert into question_group(sequence_no) values(21,"Did the communication lead to some sort of coordination of the fishing?"); +insert into question_group(sequence_no) values(22,"What is your opinion about the rule that emerged from communication?"); +insert into question_group(sequence_no) values(23,"What will be the effects of the rule?"); +insert into question_group(sequence_no) values(24,"Lessons learned"); +insert into question_group(sequence_no) values(25,"Some final questions about the experiment"); +insert into question_group(sequence_no) values(26,"Some final questions about you"); +insert into question_group(sequence_no) values(27,"The end"); insert into question(misc_location,multi_location,question,sequence_no,single_location,question_group_id) @@ -46,8 +56,7 @@ During a quick check of your strategy the following possible errors were found",1,0,1) insert into question(misc_location,multi_location,question,sequence_no,single_location,question_group_id) -values(0,1,"Explain the strategy in your own words -Please explain your strategy with a few sentences. Particularly consider the following aspects: +values(0,1,"Explain the strategy in your own words.Please explain your strategy with a few sentences. Particularly consider the following aspects: \x95 Why did you design the strategy the way you did? What did you consider and why do you think your strategy is an adequate solution? \x95 What actions do you expect from the other fishermen in your group? Why do you think, they might act this way? \x95 How do you think your strategy will work? Will the fish population grow or shrink in the different bays? What earnings do you expect? Modified: mentalmodels/trunk/src/main/java/edu/asu/commons/mme/entity/QuestionGroup.java =================================================================== --- mentalmodels/trunk/src/main/java/edu/asu/commons/mme/entity/QuestionGroup.java 2009-04-14 22:18:17 UTC (rev 99) +++ mentalmodels/trunk/src/main/java/edu/asu/commons/mme/entity/QuestionGroup.java 2009-04-15 00:26:54 UTC (rev 100) @@ -20,9 +20,9 @@ private Long id; - @ManyToMany(mappedBy = "questiongroup") + @ManyToMany(mappedBy = "questionGroup") @JoinColumn(nullable=false) - private Set<RoundConfig>roundconfig; + private Set<RoundConfig>roundConfig; @Column(name = "sequence_no",nullable=false) private Integer sequenceNo; @@ -43,17 +43,17 @@ public Integer getSequenceNo() { return sequenceNo; } - public void setRoundConfig(Set<RoundConfig> roundconfig) { - this.roundconfig = roundconfig; - } - public Set<RoundConfig> getRoundConfig() { - return roundconfig; - } public void setHeader_question(String header_question) { this.header_question = header_question; } public String getHeader_question() { return header_question; } + public void setRoundconfig(Set<RoundConfig> roundconfig) { + this.roundConfig = roundconfig; + } + public Set<RoundConfig> getRoundconfig() { + return roundConfig; + } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |