You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@roller.apache.org by el...@apache.org on 2006/11/02 01:51:34 UTC

svn commit: r470150 - in /incubator/roller/trunk/src/org/apache/roller/pojos: WeblogEntryTagAggregateData.java WeblogEntryTagData.java

Author: eliast
Date: Wed Nov  1 16:51:33 2006
New Revision: 470150

URL: http://svn.apache.org/viewvc?view=rev&rev=470150
Log:
- Refactored getWebsite() methods to getWeblog()

Modified:
    incubator/roller/trunk/src/org/apache/roller/pojos/WeblogEntryTagAggregateData.java
    incubator/roller/trunk/src/org/apache/roller/pojos/WeblogEntryTagData.java

Modified: incubator/roller/trunk/src/org/apache/roller/pojos/WeblogEntryTagAggregateData.java
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/src/org/apache/roller/pojos/WeblogEntryTagAggregateData.java?view=diff&rev=470150&r1=470149&r2=470150
==============================================================================
--- incubator/roller/trunk/src/org/apache/roller/pojos/WeblogEntryTagAggregateData.java (original)
+++ incubator/roller/trunk/src/org/apache/roller/pojos/WeblogEntryTagAggregateData.java Wed Nov  1 16:51:33 2006
@@ -84,7 +84,7 @@
      * @ejb:persistent-field
      * @hibernate.many-to-one column="websiteid" cascade="none" not-null="false"
      */
-    public WebsiteData getWebsite() {
+    public WebsiteData getWeblog() {
         return this.website;
     }
     
@@ -159,7 +159,7 @@
            boolean lEquals = true;
            
            lEquals = PojoUtil.equals(lEquals, this.id, lTest.getId());
-           lEquals = PojoUtil.equals(lEquals, this.website, lTest.getWebsite());
+           lEquals = PojoUtil.equals(lEquals, this.website, lTest.getWeblog());
            lEquals = PojoUtil.equals(lEquals, this.name, lTest.getName());
            lEquals = this.total == lTest.getTotal();
            return lEquals;
@@ -185,7 +185,7 @@
     {
         WeblogEntryTagAggregateData data = (WeblogEntryTagAggregateData) otherData;
         this.id = data.getId();
-        this.website = data.getWebsite();
+        this.website = data.getWeblog();
         this.name = data.getName();
         this.total = data.getTotal();
         this.lastUsed = data.getLastUsed();

Modified: incubator/roller/trunk/src/org/apache/roller/pojos/WeblogEntryTagData.java
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/src/org/apache/roller/pojos/WeblogEntryTagData.java?view=diff&rev=470150&r1=470149&r2=470150
==============================================================================
--- incubator/roller/trunk/src/org/apache/roller/pojos/WeblogEntryTagData.java (original)
+++ incubator/roller/trunk/src/org/apache/roller/pojos/WeblogEntryTagData.java Wed Nov  1 16:51:33 2006
@@ -92,7 +92,7 @@
      * @roller.wrapPojoMethod type="pojo"
      * @hibernate.many-to-one column="websiteid" cascade="none" not-null="true"
      */
-    public org.apache.roller.pojos.WebsiteData getWebsite()
+    public org.apache.roller.pojos.WebsiteData getWeblog()
     {
         return this.website;
     }
@@ -183,7 +183,7 @@
            boolean lEquals = true;
            
            lEquals = PojoUtil.equals(lEquals, this.id, lTest.getId());
-           lEquals = PojoUtil.equals(lEquals, this.website, lTest.getWebsite());
+           lEquals = PojoUtil.equals(lEquals, this.website, lTest.getWeblog());
            lEquals = PojoUtil.equals(lEquals, this.weblogEntry, lTest.getWeblogEntry());
            lEquals = PojoUtil.equals(lEquals, this.user, lTest.getUser());
            lEquals = PojoUtil.equals(lEquals, this.name, lTest.getName());
@@ -214,7 +214,7 @@
     {
         WeblogEntryTagData data = (WeblogEntryTagData) otherData;
         this.id = data.getId();
-        this.website = data.getWebsite();
+        this.website = data.getWeblog();
         this.weblogEntry = data.getWeblogEntry();
         this.user = data.getUser();
         this.name = data.getName();