reorganised the persistence model, attempting to make visualisations work.

I didn't manage to do it. I think this case is not supported yet.
Please, have a look in the emf.

git-svn-id: https://svn.cs.york.ac.uk/svn/ossmeter/Software/source@671 1b171192-1bc4-4300-84b6-1b6fde2e8ce3

ioannis.korkontzelos@manchester.ac.uk ioannis.korkontzelos@manchester.ac.uk 2013-10-29

added metric-providers/org.ossmeter.metricprovider.generic.numberofrequestsrepliesperday/src/org/ossmeter/metricprovider/generic/numberofrequestsrepliesperday/model/DailyNorrViz.java
added metric-providers/org.ossmeter.metricprovider.generic.numberofrequestsrepliesperday/src/org/ossmeter/metricprovider/generic/numberofrequestsrepliesperday/model/DailyNewsgroupRequestsData.java
added metric-providers/org.ossmeter.metricprovider.generic.numberofrequestsrepliesperday/src/org/ossmeter/metricprovider/generic/numberofrequestsrepliesperday/model/DailyNewsgroupRepliesData.java
added metric-providers/org.ossmeter.metricprovider.generic.numberofrequestsrepliesperdaypernewsgroup/src/org/ossmeter/metricprovider/generic/numberofrequestsrepliesperdaypernewsgroup/model/DailyNorrViz.java
added metric-providers/org.ossmeter.metricprovider.generic.numberofrequestsrepliesperdaypernewsgroup/src/org/ossmeter/metricprovider/generic/numberofrequestsrepliesperdaypernewsgroup/model/DailyNewsgroupRepliesData.java
changed metric-providers/org.ossmeter.metricprovider.generic.numberofrequestsrepliesperday/META-INF/MANIFEST.MF
changed metric-providers/org.ossmeter.metricprovider.generic.numberofrequestsrepliesperday/src/org/ossmeter/metricprovider/generic/numberofrequestsrepliesperday/model/DailyNorr.java
changed metric-providers/org.ossmeter.metricprovider.generic.numberofrequestsrepliesperday/src/org/ossmeter/metricprovider/generic/numberofrequestsrepliesperday/model/dialynorr.ecore
changed metric-providers/org.ossmeter.metricprovider.generic.numberofrequestsrepliesperday/src/org/ossmeter/metricprovider/generic/numberofrequestsrepliesperday/model/dialynorr.emf
changed metric-providers/org.ossmeter.metricprovider.generic.numberofrequestsrepliesperday/src/org/ossmeter/metricprovider/generic/numberofrequestsrepliesperday/NumberOfRequestsRepliesPerDayProvider.java
changed metric-providers/org.ossmeter.metricprovider.generic.numberofrequestsrepliesperday/plugin.xml
changed metric-providers/org.ossmeter.metricprovider.generic.numberofrequestsrepliesperdaypernewsgroup/META-INF/MANIFEST.MF
changed metric-providers/org.ossmeter.metricprovider.generic.numberofrequestsrepliesperdaypernewsgroup/src/org/ossmeter/metricprovider/generic/numberofrequestsrepliesperdaypernewsgroup/model/DailyNewsgroupData.java
changed metric-providers/org.ossmeter.metricprovider.generic.numberofrequestsrepliesperdaypernewsgroup/src/org/ossmeter/metricprovider/generic/numberofrequestsrepliesperdaypernewsgroup/model/DailyNorr.java
changed metric-providers/org.ossmeter.metricprovider.generic.numberofrequestsrepliesperdaypernewsgroup/src/org/ossmeter/metricprovider/generic/numberofrequestsrepliesperdaypernewsgroup/model/dialynorr.ecore
changed metric-providers/org.ossmeter.metricprovider.generic.numberofrequestsrepliesperdaypernewsgroup/src/org/ossmeter/metricprovider/generic/numberofrequestsrepliesperdaypernewsgroup/model/dialynorr.emf
changed metric-providers/org.ossmeter.metricprovider.generic.numberofrequestsrepliesperdaypernewsgroup/src/org/ossmeter/metricprovider/generic/numberofrequestsrepliesperdaypernewsgroup/NumberOfRequestsRepliesPerDayPerNewsgroupProvider.java
changed metric-providers/org.ossmeter.metricprovider.generic.numberofrequestsrepliesperdaypernewsgroup/plugin.xml
copied metric-providers/org.ossmeter.metricprovider.generic.numberofrequestsrepliesperday/src/org/ossmeter/metricprovider/generic/numberofrequestsrepliesperday/model/DailyNewsgroupData.java -> metric-providers/org.ossmeter.metricprovider.generic.numberofrequestsrepliesperdaypernewsgroup/src/org/ossmeter/metricprovider/generic/numberofrequestsrepliesperdaypernewsgroup/model/DailyNewsgroupRequestsData.java
metric-providers/org.ossmeter.metricprovider.generic.numberofrequestsrepliesperday/src/org/ossmeter/metricprovider/generic/numberofrequestsrepliesperday/model/DailyNorrViz.java Diff Switch to side-by-side view
Loading...
metric-providers/org.ossmeter.metricprovider.generic.numberofrequestsrepliesperday/src/org/ossmeter/metricprovider/generic/numberofrequestsrepliesperday/model/DailyNewsgroupRequestsData.java Diff Switch to side-by-side view
Loading...
metric-providers/org.ossmeter.metricprovider.generic.numberofrequestsrepliesperday/src/org/ossmeter/metricprovider/generic/numberofrequestsrepliesperday/model/DailyNewsgroupRepliesData.java Diff Switch to side-by-side view
Loading...
metric-providers/org.ossmeter.metricprovider.generic.numberofrequestsrepliesperdaypernewsgroup/src/org/ossmeter/metricprovider/generic/numberofrequestsrepliesperdaypernewsgroup/model/DailyNorrViz.java Diff Switch to side-by-side view
Loading...
metric-providers/org.ossmeter.metricprovider.generic.numberofrequestsrepliesperdaypernewsgroup/src/org/ossmeter/metricprovider/generic/numberofrequestsrepliesperdaypernewsgroup/model/DailyNewsgroupRepliesData.java Diff Switch to side-by-side view
Loading...
metric-providers/org.ossmeter.metricprovider.generic.numberofrequestsrepliesperday/META-INF/MANIFEST.MF Diff Switch to side-by-side view
Loading...
metric-providers/org.ossmeter.metricprovider.generic.numberofrequestsrepliesperday/src/org/ossmeter/metricprovider/generic/numberofrequestsrepliesperday/model/DailyNorr.java Diff Switch to side-by-side view
Loading...
metric-providers/org.ossmeter.metricprovider.generic.numberofrequestsrepliesperday/src/org/ossmeter/metricprovider/generic/numberofrequestsrepliesperday/model/dialynorr.ecore Diff Switch to side-by-side view
Loading...
metric-providers/org.ossmeter.metricprovider.generic.numberofrequestsrepliesperday/src/org/ossmeter/metricprovider/generic/numberofrequestsrepliesperday/model/dialynorr.emf Diff Switch to side-by-side view
Loading...
metric-providers/org.ossmeter.metricprovider.generic.numberofrequestsrepliesperday/src/org/ossmeter/metricprovider/generic/numberofrequestsrepliesperday/NumberOfRequestsRepliesPerDayProvider.java Diff Switch to side-by-side view
Loading...
metric-providers/org.ossmeter.metricprovider.generic.numberofrequestsrepliesperday/plugin.xml Diff Switch to side-by-side view
Loading...
metric-providers/org.ossmeter.metricprovider.generic.numberofrequestsrepliesperdaypernewsgroup/META-INF/MANIFEST.MF Diff Switch to side-by-side view
Loading...
metric-providers/org.ossmeter.metricprovider.generic.numberofrequestsrepliesperdaypernewsgroup/src/org/ossmeter/metricprovider/generic/numberofrequestsrepliesperdaypernewsgroup/model/DailyNewsgroupData.java Diff Switch to side-by-side view
Loading...
metric-providers/org.ossmeter.metricprovider.generic.numberofrequestsrepliesperdaypernewsgroup/src/org/ossmeter/metricprovider/generic/numberofrequestsrepliesperdaypernewsgroup/model/DailyNorr.java Diff Switch to side-by-side view
Loading...
metric-providers/org.ossmeter.metricprovider.generic.numberofrequestsrepliesperdaypernewsgroup/src/org/ossmeter/metricprovider/generic/numberofrequestsrepliesperdaypernewsgroup/model/dialynorr.ecore Diff Switch to side-by-side view
Loading...
metric-providers/org.ossmeter.metricprovider.generic.numberofrequestsrepliesperdaypernewsgroup/src/org/ossmeter/metricprovider/generic/numberofrequestsrepliesperdaypernewsgroup/model/dialynorr.emf Diff Switch to side-by-side view
Loading...
metric-providers/org.ossmeter.metricprovider.generic.numberofrequestsrepliesperdaypernewsgroup/src/org/ossmeter/metricprovider/generic/numberofrequestsrepliesperdaypernewsgroup/NumberOfRequestsRepliesPerDayPerNewsgroupProvider.java Diff Switch to side-by-side view
Loading...
metric-providers/org.ossmeter.metricprovider.generic.numberofrequestsrepliesperdaypernewsgroup/plugin.xml Diff Switch to side-by-side view
Loading...
metric-providers/org.ossmeter.metricprovider.generic.numberofrequestsrepliesperday/src/org/ossmeter/metricprovider/generic/numberofrequestsrepliesperday/model/DailyNewsgroupData.java to metric-providers/org.ossmeter.metricprovider.generic.numberofrequestsrepliesperdaypernewsgroup/src/org/ossmeter/metricprovider/generic/numberofrequestsrepliesperdaypernewsgroup/model/DailyNewsgroupRequestsData.java
--- a/metric-providers/org.ossmeter.metricprovider.generic.numberofrequestsrepliesperday/src/org/ossmeter/metricprovider/generic/numberofrequestsrepliesperday/model/DailyNewsgroupData.java
+++ b/metric-providers/org.ossmeter.metricprovider.generic.numberofrequestsrepliesperdaypernewsgroup/src/org/ossmeter/metricprovider/generic/numberofrequestsrepliesperdaypernewsgroup/model/DailyNewsgroupRequestsData.java
@@ -1,38 +1,30 @@
-package org.ossmeter.metricprovider.generic.numberofrequestsrepliesperday.model;
+package org.ossmeter.metricprovider.generic.numberofrequestsrepliesperdaypernewsgroup.model;
 
-import com.googlecode.pongo.runtime.Pongo;
 import com.googlecode.pongo.runtime.querying.NumericalQueryProducer;
+import com.googlecode.pongo.runtime.querying.StringQueryProducer;
 
 
-public class DailyNewsgroupData extends Pongo {
+public class DailyNewsgroupRequestsData extends DailyNewsgroupData {
 	
 	
 	
-	public DailyNewsgroupData() { 
+	public DailyNewsgroupRequestsData() { 
 		super();
-		NUMBEROFREQUESTS.setOwningType("org.ossmeter.metricprovider.generic.numberofrequestsrepliesperday.model.DailyNewsgroupData");
-		NUMBEROFREPLIES.setOwningType("org.ossmeter.metricprovider.generic.numberofrequestsrepliesperday.model.DailyNewsgroupData");
+		super.setSuperTypes("org.ossmeter.metricprovider.generic.numberofrequestsrepliesperdaypernewsgroup.model.DailyNewsgroupData");
+		URL_NAME.setOwningType("org.ossmeter.metricprovider.generic.numberofrequestsrepliesperdaypernewsgroup.model.DailyNewsgroupRequestsData");
+		NUMBEROFREQUESTS.setOwningType("org.ossmeter.metricprovider.generic.numberofrequestsrepliesperdaypernewsgroup.model.DailyNewsgroupRequestsData");
 	}
 	
+	public static StringQueryProducer URL_NAME = new StringQueryProducer("url_name"); 
 	public static NumericalQueryProducer NUMBEROFREQUESTS = new NumericalQueryProducer("numberOfRequests");
-	public static NumericalQueryProducer NUMBEROFREPLIES = new NumericalQueryProducer("numberOfReplies");
 	
 	
 	public int getNumberOfRequests() {
 		return parseInteger(dbObject.get("numberOfRequests")+"", 0);
 	}
 	
-	public DailyNewsgroupData setNumberOfRequests(int numberOfRequests) {
+	public DailyNewsgroupRequestsData setNumberOfRequests(int numberOfRequests) {
 		dbObject.put("numberOfRequests", numberOfRequests);
-		notifyChanged();
-		return this;
-	}
-	public int getNumberOfReplies() {
-		return parseInteger(dbObject.get("numberOfReplies")+"", 0);
-	}
-	
-	public DailyNewsgroupData setNumberOfReplies(int numberOfReplies) {
-		dbObject.put("numberOfReplies", numberOfReplies);
 		notifyChanged();
 		return this;
 	}