roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agillil...@apache.org
Subject svn commit: r543760 [1/2] - /roller/trunk/apps/weblogger/src/java/org/apache/roller/weblogger/pojos/wrapper/
Date Sat, 02 Jun 2007 17:07:30 GMT
Author: agilliland
Date: Sat Jun  2 10:07:28 2007
New Revision: 543760

URL: http://svn.apache.org/viewvc?view=rev&rev=543760
Log:
a bunch of cleanup work on pojo wrappers.


Modified:
    roller/trunk/apps/weblogger/src/java/org/apache/roller/weblogger/pojos/wrapper/BookmarkDataWrapper.java
    roller/trunk/apps/weblogger/src/java/org/apache/roller/weblogger/pojos/wrapper/CommentDataWrapper.java
    roller/trunk/apps/weblogger/src/java/org/apache/roller/weblogger/pojos/wrapper/EntryAttributeDataWrapper.java
    roller/trunk/apps/weblogger/src/java/org/apache/roller/weblogger/pojos/wrapper/FolderDataWrapper.java
    roller/trunk/apps/weblogger/src/java/org/apache/roller/weblogger/pojos/wrapper/RefererDataWrapper.java
    roller/trunk/apps/weblogger/src/java/org/apache/roller/weblogger/pojos/wrapper/TemplateWrapper.java
    roller/trunk/apps/weblogger/src/java/org/apache/roller/weblogger/pojos/wrapper/UserDataWrapper.java
    roller/trunk/apps/weblogger/src/java/org/apache/roller/weblogger/pojos/wrapper/WeblogCategoryDataWrapper.java
    roller/trunk/apps/weblogger/src/java/org/apache/roller/weblogger/pojos/wrapper/WeblogEntryDataWrapper.java
    roller/trunk/apps/weblogger/src/java/org/apache/roller/weblogger/pojos/wrapper/WeblogEntryTagDataWrapper.java
    roller/trunk/apps/weblogger/src/java/org/apache/roller/weblogger/pojos/wrapper/WebsiteDataWrapper.java

Modified: roller/trunk/apps/weblogger/src/java/org/apache/roller/weblogger/pojos/wrapper/BookmarkDataWrapper.java
URL: http://svn.apache.org/viewvc/roller/trunk/apps/weblogger/src/java/org/apache/roller/weblogger/pojos/wrapper/BookmarkDataWrapper.java?view=diff&rev=543760&r1=543759&r2=543760
==============================================================================
--- roller/trunk/apps/weblogger/src/java/org/apache/roller/weblogger/pojos/wrapper/BookmarkDataWrapper.java (original)
+++ roller/trunk/apps/weblogger/src/java/org/apache/roller/weblogger/pojos/wrapper/BookmarkDataWrapper.java Sat Jun  2 10:07:28 2007
@@ -22,124 +22,70 @@
 
 
 /**
- * Generated wrapper for class: org.apache.roller.weblogger.pojos.BookmarkData
+ * Pojo safety wrapper for WeblogBookmark object.
  */
 public class BookmarkDataWrapper {
-
+    
     // keep a reference to the wrapped pojo
-    private WeblogBookmark pojo = null;
-
+    private final WeblogBookmark pojo;
+    
     // this is private so that we can force the use of the .wrap(pojo) method
     private BookmarkDataWrapper(WeblogBookmark toWrap) {
         this.pojo = toWrap;
     }
-
+    
+    
     // wrap the given pojo if it is not null
     public static BookmarkDataWrapper wrap(WeblogBookmark toWrap) {
         if(toWrap != null)
             return new BookmarkDataWrapper(toWrap);
-
+        
         return null;
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public java.lang.String getId()
-    {   
+    
+    
+    public String getId() {
         return this.pojo.getId();
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public java.lang.String getName()
-    {   
+    
+    
+    public String getName() {
         return this.pojo.getName();
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public java.lang.String getDescription()
-    {   
+    
+    
+    public String getDescription() {
         return this.pojo.getDescription();
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public java.lang.String getUrl()
-    {   
+    
+    
+    public String getUrl() {
         return this.pojo.getUrl();
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public java.lang.Integer getWeight()
-    {   
+    
+    
+    public Integer getWeight() {
         return this.pojo.getWeight();
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public java.lang.Integer getPriority()
-    {   
+    
+    
+    public Integer getPriority() {
         return this.pojo.getPriority();
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public java.lang.String getImage()
-    {   
+    
+    
+    public String getImage() {
         return this.pojo.getImage();
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public java.lang.String getFeedUrl()
-    {   
+    
+    
+    public String getFeedUrl() {
         return this.pojo.getFeedUrl();
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="pojo"
-     *
-     * This method returns another pojo so we need to wrap the returned pojo.
-     */
-    public org.apache.roller.weblogger.pojos.wrapper.FolderDataWrapper getFolder()
-    {
-        return org.apache.roller.weblogger.pojos.wrapper.FolderDataWrapper.wrap(this.pojo.getFolder());
-    }
-
-    /**
-     * this is a special method to access the original pojo
-     * we don't really want to do this, but it's necessary
-     * because some parts of the rendering process still need the
-     * orginal pojo object
-     */
-    public org.apache.roller.weblogger.pojos.WeblogBookmark getPojo() {
-        return this.pojo;
+    
+    
+    public FolderDataWrapper getFolder() {
+        return FolderDataWrapper.wrap(this.pojo.getFolder());
     }
-
+    
 }

Modified: roller/trunk/apps/weblogger/src/java/org/apache/roller/weblogger/pojos/wrapper/CommentDataWrapper.java
URL: http://svn.apache.org/viewvc/roller/trunk/apps/weblogger/src/java/org/apache/roller/weblogger/pojos/wrapper/CommentDataWrapper.java?view=diff&rev=543760&r1=543759&r2=543760
==============================================================================
--- roller/trunk/apps/weblogger/src/java/org/apache/roller/weblogger/pojos/wrapper/CommentDataWrapper.java (original)
+++ roller/trunk/apps/weblogger/src/java/org/apache/roller/weblogger/pojos/wrapper/CommentDataWrapper.java Sat Jun  2 10:07:28 2007
@@ -23,194 +23,105 @@
 
 
 /**
- * Generated wrapper for class: org.apache.roller.weblogger.pojos.CommentData
+ * Pojo safety wrapper for WeblogEntryComment object.
  */
 public class CommentDataWrapper {
-
+    
     // keep a reference to the wrapped pojo
-    private WeblogEntryComment pojo = null;
-
+    private final WeblogEntryComment pojo;
+    
     // this is private so that we can force the use of the .wrap(pojo) method
     private CommentDataWrapper(WeblogEntryComment toWrap) {
         this.pojo = toWrap;
     }
-
+    
+    
     // wrap the given pojo if it is not null
     public static CommentDataWrapper wrap(WeblogEntryComment toWrap) {
         if(toWrap != null)
             return new CommentDataWrapper(toWrap);
-
+        
         return null;
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public java.lang.String getId()
-    {   
+    
+    
+    public String getId() {
         return this.pojo.getId();
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="pojo"
-     *
-     * This method returns another pojo so we need to wrap the returned pojo.
-     */
-    public org.apache.roller.weblogger.pojos.wrapper.WeblogEntryDataWrapper getWeblogEntry()
-    {
-        return org.apache.roller.weblogger.pojos.wrapper.WeblogEntryDataWrapper.wrap(this.pojo.getWeblogEntry());
-    }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public java.lang.String getName()
-    {   
+    
+    
+    public WeblogEntryDataWrapper getWeblogEntry() {
+        return WeblogEntryDataWrapper.wrap(this.pojo.getWeblogEntry());
+    }
+    
+    
+    public String getName() {
         return StringEscapeUtils.escapeHtml(this.pojo.getName());
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public java.lang.String getEmail()
-    {   
+    
+    
+    public String getEmail() {
         return StringEscapeUtils.escapeHtml(this.pojo.getEmail());
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public java.lang.String getUrl()
-    {   
+    
+    
+    public String getUrl() {
         return StringEscapeUtils.escapeHtml(this.pojo.getUrl());
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public java.lang.String getContent()
-    {   
+    
+    
+    public String getContent() {
         return StringEscapeUtils.escapeHtml(this.pojo.getContent());
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public java.sql.Timestamp getPostTime()
-    {   
+    
+    
+    public java.sql.Timestamp getPostTime() {
         return this.pojo.getPostTime();
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public java.lang.String getStatus()
-    {   
+    
+    
+    public String getStatus() {
         return this.pojo.getStatus();
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public java.lang.Boolean getNotify()
-    {   
+    
+    
+    public Boolean getNotify() {
         return this.pojo.getNotify();
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public java.lang.String getRemoteHost()
-    {   
+    
+    
+    public String getRemoteHost() {
         return this.pojo.getRemoteHost();
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public java.lang.String getReferrer()
-    {   
+    
+    
+    public String getReferrer() {
         return StringEscapeUtils.escapeHtml(this.pojo.getReferrer());
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public java.lang.String getUserAgent()
-    {   
+    
+    
+    public String getUserAgent() {
         return this.pojo.getUserAgent();
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public java.lang.Boolean getSpam()
-    {   
+    
+    
+    public Boolean getSpam() {
         return this.pojo.getSpam();
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public java.lang.Boolean getPending()
-    {   
+    
+    
+    public Boolean getPending() {
         return this.pojo.getPending();
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public java.lang.Boolean getApproved()
-    {   
+    
+    
+    public Boolean getApproved() {
         return this.pojo.getApproved();
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public java.lang.String getTimestamp()
-    {   
+    
+    
+    public String getTimestamp() {
         return this.pojo.getTimestamp();
     }
-
-    /**
-     * this is a special method to access the original pojo
-     * we don't really want to do this, but it's necessary
-     * because some parts of the rendering process still need the
-     * orginal pojo object
-     */
-    public org.apache.roller.weblogger.pojos.WeblogEntryComment getPojo() {
-        return this.pojo;
-    }
-
+    
 }

Modified: roller/trunk/apps/weblogger/src/java/org/apache/roller/weblogger/pojos/wrapper/EntryAttributeDataWrapper.java
URL: http://svn.apache.org/viewvc/roller/trunk/apps/weblogger/src/java/org/apache/roller/weblogger/pojos/wrapper/EntryAttributeDataWrapper.java?view=diff&rev=543760&r1=543759&r2=543760
==============================================================================
--- roller/trunk/apps/weblogger/src/java/org/apache/roller/weblogger/pojos/wrapper/EntryAttributeDataWrapper.java (original)
+++ roller/trunk/apps/weblogger/src/java/org/apache/roller/weblogger/pojos/wrapper/EntryAttributeDataWrapper.java Sat Jun  2 10:07:28 2007
@@ -22,74 +22,45 @@
 
 
 /**
- * Generated wrapper for class: org.apache.roller.weblogger.pojos.EntryAttributeData
+ * Pojo safety wrapper for WeblogEntryAttribute object.
  */
 public class EntryAttributeDataWrapper {
-
+    
     // keep a reference to the wrapped pojo
-    private WeblogEntryAttribute pojo = null;
-
+    private final WeblogEntryAttribute pojo;
+    
     // this is private so that we can force the use of the .wrap(pojo) method
     private EntryAttributeDataWrapper(WeblogEntryAttribute toWrap) {
         this.pojo = toWrap;
     }
-
+    
+    
     // wrap the given pojo if it is not null
     public static EntryAttributeDataWrapper wrap(WeblogEntryAttribute toWrap) {
         if(toWrap != null)
             return new EntryAttributeDataWrapper(toWrap);
-
+        
         return null;
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public java.lang.String getId()
-    {   
+    
+    
+    public String getId() {
         return this.pojo.getId();
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="pojo"
-     *
-     * This method returns another pojo so we need to wrap the returned pojo.
-     */
-    public org.apache.roller.weblogger.pojos.wrapper.WeblogEntryDataWrapper getEntry()
-    {
-        return org.apache.roller.weblogger.pojos.wrapper.WeblogEntryDataWrapper.wrap(this.pojo.getEntry());
-    }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public java.lang.String getName()
-    {   
+    
+    
+    public WeblogEntryDataWrapper getEntry() {
+        return WeblogEntryDataWrapper.wrap(this.pojo.getEntry());
+    }
+    
+    
+    public String getName() {
         return this.pojo.getName();
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public java.lang.String getValue()
-    {   
+    
+    
+    public String getValue() {
         return this.pojo.getValue();
     }
-
-    /**
-     * this is a special method to access the original pojo
-     * we don't really want to do this, but it's necessary
-     * because some parts of the rendering process still need the
-     * orginal pojo object
-     */
-    public org.apache.roller.weblogger.pojos.WeblogEntryAttribute getPojo() {
-        return this.pojo;
-    }
-
+    
 }

Modified: roller/trunk/apps/weblogger/src/java/org/apache/roller/weblogger/pojos/wrapper/FolderDataWrapper.java
URL: http://svn.apache.org/viewvc/roller/trunk/apps/weblogger/src/java/org/apache/roller/weblogger/pojos/wrapper/FolderDataWrapper.java?view=diff&rev=543760&r1=543759&r2=543760
==============================================================================
--- roller/trunk/apps/weblogger/src/java/org/apache/roller/weblogger/pojos/wrapper/FolderDataWrapper.java (original)
+++ roller/trunk/apps/weblogger/src/java/org/apache/roller/weblogger/pojos/wrapper/FolderDataWrapper.java Sat Jun  2 10:07:28 2007
@@ -18,181 +18,127 @@
 
 package org.apache.roller.weblogger.pojos.wrapper;
 
+import java.util.ArrayList;
+import java.util.Iterator;
+import java.util.List;
+import java.util.Set;
+import org.apache.roller.RollerException;
+import org.apache.roller.weblogger.pojos.WeblogBookmark;
 import org.apache.roller.weblogger.pojos.WeblogBookmarkFolder;
 
 
 /**
- * Generated wrapper for class: org.apache.roller.weblogger.pojos.FolderData
+ * Pojo safety wrapper for WeblogBookmarkFolder object.
  */
 public class FolderDataWrapper {
-
+    
     // keep a reference to the wrapped pojo
-    private WeblogBookmarkFolder pojo = null;
-
+    private final WeblogBookmarkFolder pojo;
+    
     // this is private so that we can force the use of the .wrap(pojo) method
     private FolderDataWrapper(WeblogBookmarkFolder toWrap) {
         this.pojo = toWrap;
     }
-
+    
+    
     // wrap the given pojo if it is not null
     public static FolderDataWrapper wrap(WeblogBookmarkFolder toWrap) {
         if(toWrap != null)
             return new FolderDataWrapper(toWrap);
-
+        
         return null;
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public java.lang.String getId()
-    {   
+    
+    
+    public String getId() {
         return this.pojo.getId();
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public java.lang.String getName()
-    {   
+    
+    
+    public String getName() {
         return this.pojo.getName();
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public java.lang.String getDescription()
-    {   
+    
+    
+    public String getDescription() {
         return this.pojo.getDescription();
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public java.lang.String getPath()
-    {   
+    
+    
+    public String getPath() {
         return this.pojo.getPath();
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="pojo"
-     *
-     * This method returns another pojo so we need to wrap the returned pojo.
-     */
-    public org.apache.roller.weblogger.pojos.wrapper.WebsiteDataWrapper getWebsite()
-    {
-        return org.apache.roller.weblogger.pojos.wrapper.WebsiteDataWrapper.wrap(this.pojo.getWebsite());
-    }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="pojo"
-     *
-     * This method returns another pojo so we need to wrap the returned pojo.
-     */
-    public org.apache.roller.weblogger.pojos.wrapper.FolderDataWrapper getParent()
-    {
-        return org.apache.roller.weblogger.pojos.wrapper.FolderDataWrapper.wrap(this.pojo.getParent());
-    }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="pojo-collection"
-     *
-     * This method returns a collection of pojos so we need to wrap
-     * each pojo that is part of the collection.
-     */
-    public java.util.List getFolders()
-    {
-        java.util.Set initialCollection = this.pojo.getFolders();
-
+    
+    
+    public WebsiteDataWrapper getWebsite() {
+        return WebsiteDataWrapper.wrap(this.pojo.getWebsite());
+    }
+    
+    
+    public FolderDataWrapper getParent() {
+        return FolderDataWrapper.wrap(this.pojo.getParent());
+    }
+    
+    
+    public List getFolders() {
+        Set initialCollection = this.pojo.getFolders();
+        
         // iterate through and wrap
         // we force the use of an ArrayList because it should be good enough to cover
         // for any Collection type we encounter.
-        java.util.ArrayList wrappedCollection = new java.util.ArrayList(initialCollection.size());
-        java.util.Iterator it = initialCollection.iterator();
+        List wrappedCollection = new ArrayList(initialCollection.size());
+        Iterator it = initialCollection.iterator();
         int i = 0;
         while(it.hasNext()) {
-            wrappedCollection.add(i,org.apache.roller.weblogger.pojos.wrapper.FolderDataWrapper.wrap((org.apache.roller.weblogger.pojos.WeblogBookmarkFolder) it.next()));
+            wrappedCollection.add(i,FolderDataWrapper.wrap((WeblogBookmarkFolder) it.next()));
             i++;
         }
-
+        
         return wrappedCollection;
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="pojo-collection"
-     *
-     * This method returns a collection of pojos so we need to wrap
-     * each pojo that is part of the collection.
-     */
-    public java.util.List getBookmarks()
-    {
-        java.util.Set initialCollection = this.pojo.getBookmarks();
-
+    
+    
+    public List getBookmarks() {
+        Set initialCollection = this.pojo.getBookmarks();
+        
         // iterate through and wrap
         // we force the use of an ArrayList because it should be good enough to cover
         // for any Collection type we encounter.
-        java.util.ArrayList wrappedCollection = new java.util.ArrayList(initialCollection.size());
-        java.util.Iterator it = initialCollection.iterator();
+        ArrayList wrappedCollection = new ArrayList(initialCollection.size());
+        Iterator it = initialCollection.iterator();
         int i = 0;
         while(it.hasNext()) {
-            wrappedCollection.add(i,org.apache.roller.weblogger.pojos.wrapper.BookmarkDataWrapper.wrap((org.apache.roller.weblogger.pojos.WeblogBookmark) it.next()));
+            wrappedCollection.add(i,BookmarkDataWrapper.wrap((WeblogBookmark) it.next()));
             i++;
         }
-
+        
         return wrappedCollection;
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="pojo-collection"
-     *
-     * This method returns a collection of pojos so we need to wrap
-     * each pojo that is part of the collection.
-     */
-    public java.util.List retrieveBookmarks(boolean subfolders)
-        throws org.apache.roller.RollerException
-    {
-        java.util.List initialCollection = this.pojo.retrieveBookmarks(subfolders);
-
+    
+    
+    public List retrieveBookmarks(boolean subfolders)
+            throws RollerException {
+        
+        List initialCollection = this.pojo.retrieveBookmarks(subfolders);
+        
         // iterate through and wrap
         // we force the use of an ArrayList because it should be good enough to cover
         // for any Collection type we encounter.
-        java.util.ArrayList wrappedCollection = new java.util.ArrayList(initialCollection.size());
-        java.util.Iterator it = initialCollection.iterator();
+        ArrayList wrappedCollection = new ArrayList(initialCollection.size());
+        Iterator it = initialCollection.iterator();
         int i = 0;
         while(it.hasNext()) {
-            wrappedCollection.add(i,org.apache.roller.weblogger.pojos.wrapper.BookmarkDataWrapper.wrap((org.apache.roller.weblogger.pojos.WeblogBookmark) it.next()));
+            wrappedCollection.add(i,BookmarkDataWrapper.wrap((WeblogBookmark) it.next()));
             i++;
         }
-
+        
         return wrappedCollection;
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public boolean descendentOf(org.apache.roller.weblogger.pojos.WeblogBookmarkFolder ancestor)
-    {   
+    
+    
+    // TODO: this method won't actually work and we probably don't need it here anyways?
+    public boolean descendentOf(WeblogBookmarkFolder ancestor) {
         return this.pojo.descendentOf(ancestor);
     }
-
-    /**
-     * this is a special method to access the original pojo
-     * we don't really want to do this, but it's necessary
-     * because some parts of the rendering process still need the
-     * orginal pojo object
-     */
-    public org.apache.roller.weblogger.pojos.WeblogBookmarkFolder getPojo() {
-        return this.pojo;
-    }
-
+    
 }

Modified: roller/trunk/apps/weblogger/src/java/org/apache/roller/weblogger/pojos/wrapper/RefererDataWrapper.java
URL: http://svn.apache.org/viewvc/roller/trunk/apps/weblogger/src/java/org/apache/roller/weblogger/pojos/wrapper/RefererDataWrapper.java?view=diff&rev=543760&r1=543759&r2=543760
==============================================================================
--- roller/trunk/apps/weblogger/src/java/org/apache/roller/weblogger/pojos/wrapper/RefererDataWrapper.java (original)
+++ roller/trunk/apps/weblogger/src/java/org/apache/roller/weblogger/pojos/wrapper/RefererDataWrapper.java Sat Jun  2 10:07:28 2007
@@ -22,194 +22,105 @@
 
 
 /**
- * Generated wrapper for class: org.apache.roller.weblogger.pojos.RefererData
+ * Pojo safety wrapper for WeblogReferrer object.
  */
 public class RefererDataWrapper {
-
+    
     // keep a reference to the wrapped pojo
-    private WeblogReferrer pojo = null;
-
+    private final WeblogReferrer pojo;
+    
     // this is private so that we can force the use of the .wrap(pojo) method
     private RefererDataWrapper(WeblogReferrer toWrap) {
         this.pojo = toWrap;
     }
-
+    
+    
     // wrap the given pojo if it is not null
     public static RefererDataWrapper wrap(WeblogReferrer toWrap) {
         if(toWrap != null)
             return new RefererDataWrapper(toWrap);
-
+        
         return null;
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public java.lang.String getId()
-    {   
+    
+    
+    public String getId() {
         return this.pojo.getId();
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="pojo"
-     *
-     * This method returns another pojo so we need to wrap the returned pojo.
-     */
-    public org.apache.roller.weblogger.pojos.wrapper.WebsiteDataWrapper getWebsite()
-    {
-        return org.apache.roller.weblogger.pojos.wrapper.WebsiteDataWrapper.wrap(this.pojo.getWebsite());
-    }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="pojo"
-     *
-     * This method returns another pojo so we need to wrap the returned pojo.
-     */
-    public org.apache.roller.weblogger.pojos.wrapper.WeblogEntryDataWrapper getWeblogEntry()
-    {
-        return org.apache.roller.weblogger.pojos.wrapper.WeblogEntryDataWrapper.wrap(this.pojo.getWeblogEntry());
-    }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public java.lang.String getDateString()
-    {   
+    
+    
+    public WebsiteDataWrapper getWebsite() {
+        return WebsiteDataWrapper.wrap(this.pojo.getWebsite());
+    }
+    
+    
+    public WeblogEntryDataWrapper getWeblogEntry() {
+        return WeblogEntryDataWrapper.wrap(this.pojo.getWeblogEntry());
+    }
+    
+    
+    public String getDateString() {
         return this.pojo.getDateString();
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public java.lang.String getRefererUrl()
-    {   
+    
+    
+    public String getRefererUrl() {
         return this.pojo.getRefererUrl();
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public java.lang.String getRefererPermalink()
-    {   
+    
+    
+    public String getRefererPermalink() {
         return this.pojo.getRefererPermalink();
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public java.lang.String getRequestUrl()
-    {   
+    
+    
+    public String getRequestUrl() {
         return this.pojo.getRequestUrl();
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public java.lang.String getTitle()
-    {   
+    
+    
+    public String getTitle() {
         return this.pojo.getTitle();
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public java.lang.String getExcerpt()
-    {   
+    
+    
+    public String getExcerpt() {
         return this.pojo.getExcerpt();
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public java.lang.Boolean getVisible()
-    {   
+    
+    
+    public Boolean getVisible() {
         return this.pojo.getVisible();
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public java.lang.Boolean getDuplicate()
-    {   
+    
+    
+    public Boolean getDuplicate() {
         return this.pojo.getDuplicate();
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public java.lang.Integer getDayHits()
-    {   
+    
+    
+    public Integer getDayHits() {
         return this.pojo.getDayHits();
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public java.lang.Integer getTotalHits()
-    {   
+    
+    
+    public Integer getTotalHits() {
         return this.pojo.getTotalHits();
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public java.lang.String getDisplayUrl(int maxWidth,boolean includeHits)
-    {   
+    
+    
+    public String getDisplayUrl(int maxWidth,boolean includeHits) {
         return this.pojo.getDisplayUrl(maxWidth,includeHits);
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public java.lang.String getUrl()
-    {   
+    
+    
+    public String getUrl() {
         return this.pojo.getUrl();
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public java.lang.String getDisplayUrl()
-    {   
+    
+    
+    public String getDisplayUrl() {
         return this.pojo.getDisplayUrl();
     }
-
-    /**
-     * this is a special method to access the original pojo
-     * we don't really want to do this, but it's necessary
-     * because some parts of the rendering process still need the
-     * orginal pojo object
-     */
-    public org.apache.roller.weblogger.pojos.WeblogReferrer getPojo() {
-        return this.pojo;
-    }
-
+    
 }

Modified: roller/trunk/apps/weblogger/src/java/org/apache/roller/weblogger/pojos/wrapper/TemplateWrapper.java
URL: http://svn.apache.org/viewvc/roller/trunk/apps/weblogger/src/java/org/apache/roller/weblogger/pojos/wrapper/TemplateWrapper.java?view=diff&rev=543760&r1=543759&r2=543760
==============================================================================
--- roller/trunk/apps/weblogger/src/java/org/apache/roller/weblogger/pojos/wrapper/TemplateWrapper.java (original)
+++ roller/trunk/apps/weblogger/src/java/org/apache/roller/weblogger/pojos/wrapper/TemplateWrapper.java Sat Jun  2 10:07:28 2007
@@ -18,118 +18,70 @@
 
 package org.apache.roller.weblogger.pojos.wrapper;
 
+import java.util.Date;
 import org.apache.roller.weblogger.pojos.ThemeTemplate;
 
 
 /**
- * Generated wrapper for class: org.apache.roller.weblogger.pojos.ThemeTemplate
+ * Pojo safety wrapper for ThemeTemplate objects.
  */
 public class TemplateWrapper {
-
+    
     // keep a reference to the wrapped pojo
-    private ThemeTemplate pojo = null;
-
+    private final ThemeTemplate pojo;
+    
     // this is private so that we can force the use of the .wrap(pojo) method
     private TemplateWrapper(ThemeTemplate toWrap) {
         this.pojo = toWrap;
     }
-
+    
+    
     // wrap the given pojo if it is not null
     public static TemplateWrapper wrap(ThemeTemplate toWrap) {
         if(toWrap != null)
             return new TemplateWrapper(toWrap);
-
+        
         return null;
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public java.lang.String getId()
-    {   
+    
+    
+    public String getId() {
         return this.pojo.getId();
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public java.lang.String getName()
-    {   
+    
+    
+    public String getName() {
         return this.pojo.getName();
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public java.lang.String getDescription()
-    {   
+    
+    
+    public String getDescription() {
         return this.pojo.getDescription();
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public java.lang.String getContents()
-    {   
+    
+    
+    public String getContents() {
         return this.pojo.getContents();
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public java.lang.String getLink()
-    {   
+    
+    
+    public String getLink() {
         return this.pojo.getLink();
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public java.util.Date getLastModified()
-    {   
+    
+    
+    public Date getLastModified() {
         return this.pojo.getLastModified();
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public boolean isHidden()
-    {   
+    
+    
+    public boolean isHidden() {
         return this.pojo.isHidden();
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public boolean isNavbar()
-    {   
+    
+    
+    public boolean isNavbar() {
         return this.pojo.isNavbar();
     }
-
-    /**
-     * this is a special method to access the original pojo
-     * we don't really want to do this, but it's necessary
-     * because some parts of the rendering process still need the
-     * orginal pojo object
-     */
-    public org.apache.roller.weblogger.pojos.ThemeTemplate getPojo() {
-        return this.pojo;
-    }
-
+    
 }

Modified: roller/trunk/apps/weblogger/src/java/org/apache/roller/weblogger/pojos/wrapper/UserDataWrapper.java
URL: http://svn.apache.org/viewvc/roller/trunk/apps/weblogger/src/java/org/apache/roller/weblogger/pojos/wrapper/UserDataWrapper.java?view=diff&rev=543760&r1=543759&r2=543760
==============================================================================
--- roller/trunk/apps/weblogger/src/java/org/apache/roller/weblogger/pojos/wrapper/UserDataWrapper.java (original)
+++ roller/trunk/apps/weblogger/src/java/org/apache/roller/weblogger/pojos/wrapper/UserDataWrapper.java Sat Jun  2 10:07:28 2007
@@ -18,107 +18,69 @@
 
 package org.apache.roller.weblogger.pojos.wrapper;
 
+import java.util.Date;
 import org.apache.roller.weblogger.pojos.User;
 
 
 /**
- * Generated wrapper for class: org.apache.roller.weblogger.pojos.User
+ * Pojo safety wrapper for User objects.
  */
 public class UserDataWrapper {
-
+    
     // keep a reference to the wrapped pojo
-    private User pojo = null;
-
+    private final User pojo;
+    
     // this is private so that we can force the use of the .wrap(pojo) method
     private UserDataWrapper(User toWrap) {
         this.pojo = toWrap;
     }
-
+    
+    
     // wrap the given pojo if it is not null
     public static UserDataWrapper wrap(User toWrap) {
         if(toWrap != null)
             return new UserDataWrapper(toWrap);
-
+        
         return null;
     }
-
+    
+    
     /**
      * This is here for backwards compatability.  We no longer allow the
      * username to be displayed publicly, so screen name is returned instead.
      */
-    public java.lang.String getUserName()
-    {   
+    public String getUserName() {
         return this.pojo.getScreenName();
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public java.lang.String getScreenName()
-    {
+    
+    
+    public String getScreenName() {
         return this.pojo.getScreenName();
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public java.lang.String getFullName()
-    {   
+    
+    
+    public String getFullName() {
         return this.pojo.getFullName();
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public java.lang.String getEmailAddress()
-    {   
+    
+    
+    public String getEmailAddress() {
         return this.pojo.getEmailAddress();
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public java.util.Date getDateCreated()
-    {   
+    
+    
+    public Date getDateCreated() {
         return this.pojo.getDateCreated();
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public java.lang.String getLocale()
-    {   
+    
+    
+    public String getLocale() {
         return this.pojo.getLocale();
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public java.lang.String getTimeZone()
-    {   
+    
+    
+    public String getTimeZone() {
         return this.pojo.getTimeZone();
     }
-
-    /**
-     * this is a special method to access the original pojo
-     * we don't really want to do this, but it's necessary
-     * because some parts of the rendering process still need the
-     * orginal pojo object
-     */
-    public org.apache.roller.weblogger.pojos.User getPojo() {
-        return this.pojo;
-    }
-
+    
 }

Modified: roller/trunk/apps/weblogger/src/java/org/apache/roller/weblogger/pojos/wrapper/WeblogCategoryDataWrapper.java
URL: http://svn.apache.org/viewvc/roller/trunk/apps/weblogger/src/java/org/apache/roller/weblogger/pojos/wrapper/WeblogCategoryDataWrapper.java?view=diff&rev=543760&r1=543759&r2=543760
==============================================================================
--- roller/trunk/apps/weblogger/src/java/org/apache/roller/weblogger/pojos/wrapper/WeblogCategoryDataWrapper.java (original)
+++ roller/trunk/apps/weblogger/src/java/org/apache/roller/weblogger/pojos/wrapper/WeblogCategoryDataWrapper.java Sat Jun  2 10:07:28 2007
@@ -18,177 +18,119 @@
 
 package org.apache.roller.weblogger.pojos.wrapper;
 
+import java.util.ArrayList;
+import java.util.Iterator;
+import java.util.List;
+import java.util.Set;
+import org.apache.roller.RollerException;
 import org.apache.roller.weblogger.pojos.WeblogCategory;
+import org.apache.roller.weblogger.pojos.WeblogEntry;
 
 
 /**
- * Generated wrapper for class: org.apache.roller.weblogger.pojos.WeblogCategory
+ * Pojo safety wrapper for WeblogCategory objects.
  */
 public class WeblogCategoryDataWrapper {
-
+    
     // keep a reference to the wrapped pojo
-    private WeblogCategory pojo = null;
-
+    private final WeblogCategory pojo;
+    
     // this is private so that we can force the use of the .wrap(pojo) method
     private WeblogCategoryDataWrapper(WeblogCategory toWrap) {
         this.pojo = toWrap;
     }
-
+    
+    
     // wrap the given pojo if it is not null
     public static WeblogCategoryDataWrapper wrap(WeblogCategory toWrap) {
         if(toWrap != null)
             return new WeblogCategoryDataWrapper(toWrap);
-
+        
         return null;
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public java.lang.String getId()
-    {   
+    
+    
+    public String getId() {
         return this.pojo.getId();
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public java.lang.String getName()
-    {   
+    
+    
+    public String getName() {
         return this.pojo.getName();
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public java.lang.String getDescription()
-    {   
+    
+    
+    public String getDescription() {
         return this.pojo.getDescription();
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public java.lang.String getImage()
-    {   
+    
+    
+    public String getImage() {
         return this.pojo.getImage();
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public java.lang.String getPath()
-    {   
+    
+    
+    public String getPath() {
         return this.pojo.getPath();
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="pojo"
-     *
-     * This method returns another pojo so we need to wrap the returned pojo.
-     */
-    public org.apache.roller.weblogger.pojos.wrapper.WebsiteDataWrapper getWebsite()
-    {
-        return org.apache.roller.weblogger.pojos.wrapper.WebsiteDataWrapper.wrap(this.pojo.getWebsite());
-    }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="pojo"
-     *
-     * This method returns another pojo so we need to wrap the returned pojo.
-     */
-    public org.apache.roller.weblogger.pojos.wrapper.WeblogCategoryDataWrapper getParent()
-    {
-        return org.apache.roller.weblogger.pojos.wrapper.WeblogCategoryDataWrapper.wrap(this.pojo.getParent());
-    }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="pojo-collection"
-     *
-     * This method returns a collection of pojos so we need to wrap
-     * each pojo that is part of the collection.
-     */
-    public java.util.List getWeblogCategories()
-    {
-        java.util.Set initialCollection = this.pojo.getWeblogCategories();
-
+    
+    
+    public WebsiteDataWrapper getWebsite() {
+        return WebsiteDataWrapper.wrap(this.pojo.getWebsite());
+    }
+    
+    
+    public WeblogCategoryDataWrapper getParent() {
+        return WeblogCategoryDataWrapper.wrap(this.pojo.getParent());
+    }
+    
+    
+    public List getWeblogCategories() {
+        Set initialCollection = this.pojo.getWeblogCategories();
+        
         // iterate through and wrap
         // we force the use of an ArrayList because it should be good enough to cover
         // for any Collection type we encounter.
-        java.util.ArrayList wrappedCollection = new java.util.ArrayList(initialCollection.size());
-        java.util.Iterator it = initialCollection.iterator();
+        ArrayList wrappedCollection = new ArrayList(initialCollection.size());
+        Iterator it = initialCollection.iterator();
         int i = 0;
         while(it.hasNext()) {
-            wrappedCollection.add(i, org.apache.roller.weblogger.pojos.wrapper.WeblogCategoryDataWrapper.wrap((org.apache.roller.weblogger.pojos.WeblogCategory) it.next()));
+            wrappedCollection.add(i, WeblogCategoryDataWrapper.wrap((WeblogCategory) it.next()));
             i++;
         }
-
+        
         return wrappedCollection;
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="pojo-collection"
-     *
-     * This method returns a collection of pojos so we need to wrap
-     * each pojo that is part of the collection.
-     */
-    public java.util.List retrieveWeblogEntries(boolean subcats)
-        throws org.apache.roller.RollerException
-    {
-        java.util.List initialCollection = this.pojo.retrieveWeblogEntries(subcats);
-
+    
+    
+    public List retrieveWeblogEntries(boolean subcats)
+            throws RollerException {
+        
+        List initialCollection = this.pojo.retrieveWeblogEntries(subcats);
+        
         // iterate through and wrap
         // we force the use of an ArrayList because it should be good enough to cover
         // for any Collection type we encounter.
-        java.util.ArrayList wrappedCollection = new java.util.ArrayList(initialCollection.size());
-        java.util.Iterator it = initialCollection.iterator();
+        ArrayList wrappedCollection = new ArrayList(initialCollection.size());
+        Iterator it = initialCollection.iterator();
         int i = 0;
         while(it.hasNext()) {
-            wrappedCollection.add(i,org.apache.roller.weblogger.pojos.wrapper.WeblogEntryDataWrapper.wrap((org.apache.roller.weblogger.pojos.WeblogEntry) it.next()));
+            wrappedCollection.add(i,WeblogEntryDataWrapper.wrap((WeblogEntry) it.next()));
             i++;
         }
-
+        
         return wrappedCollection;
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public boolean descendentOf(org.apache.roller.weblogger.pojos.WeblogCategory ancestor)
-    {   
+    
+    
+    // TODO: this method doesn't work and propably doesn't need to be here anyways?
+    public boolean descendentOf(WeblogCategory ancestor) {
         return this.pojo.descendentOf(ancestor);
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public boolean isInUse()
-    {   
+    
+    
+    public boolean isInUse() {
         return this.pojo.isInUse();
     }
-
-    /**
-     * this is a special method to access the original pojo
-     * we don't really want to do this, but it's necessary
-     * because some parts of the rendering process still need the
-     * orginal pojo object
-     */
-    public org.apache.roller.weblogger.pojos.WeblogCategory getPojo() {
-        return this.pojo;
-    }
-
+    
 }

Modified: roller/trunk/apps/weblogger/src/java/org/apache/roller/weblogger/pojos/wrapper/WeblogEntryDataWrapper.java
URL: http://svn.apache.org/viewvc/roller/trunk/apps/weblogger/src/java/org/apache/roller/weblogger/pojos/wrapper/WeblogEntryDataWrapper.java?view=diff&rev=543760&r1=543759&r2=543760
==============================================================================
--- roller/trunk/apps/weblogger/src/java/org/apache/roller/weblogger/pojos/wrapper/WeblogEntryDataWrapper.java (original)
+++ roller/trunk/apps/weblogger/src/java/org/apache/roller/weblogger/pojos/wrapper/WeblogEntryDataWrapper.java Sat Jun  2 10:07:28 2007
@@ -18,552 +18,348 @@
 
 package org.apache.roller.weblogger.pojos.wrapper;
 
+import java.sql.Timestamp;
+import java.util.ArrayList;
+import java.util.Iterator;
+import java.util.List;
+import java.util.Set;
+import org.apache.roller.weblogger.pojos.WeblogCategory;
 import org.apache.roller.weblogger.pojos.WeblogEntry;
+import org.apache.roller.weblogger.pojos.WeblogEntryAttribute;
+import org.apache.roller.weblogger.pojos.WeblogEntryComment;
+import org.apache.roller.weblogger.pojos.WeblogEntryTag;
+import org.apache.roller.weblogger.pojos.WeblogReferrer;
 
 
 /**
- * Generated wrapper for class: org.apache.roller.weblogger.pojos.WeblogEntryData
+ * Pojo safety wrapper for WeblogEntry objects.
  */
 public class WeblogEntryDataWrapper {
-
+    
     // keep a reference to the wrapped pojo
-    private WeblogEntry pojo = null;
-
+    private final WeblogEntry pojo;
+    
     // this is private so that we can force the use of the .wrap(pojo) method
     private WeblogEntryDataWrapper(WeblogEntry toWrap) {
         this.pojo = toWrap;
     }
-
+    
+    
     // wrap the given pojo if it is not null
     public static WeblogEntryDataWrapper wrap(WeblogEntry toWrap) {
         if(toWrap != null)
             return new WeblogEntryDataWrapper(toWrap);
-
+        
         return null;
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public java.lang.String getId()
-    {   
+    
+    
+    public String getId() {
         return this.pojo.getId();
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="pojo"
-     *
-     * This method returns another pojo so we need to wrap the returned pojo.
-     */
-    public org.apache.roller.weblogger.pojos.wrapper.WeblogCategoryDataWrapper getCategory()
-    {
-        return org.apache.roller.weblogger.pojos.wrapper.WeblogCategoryDataWrapper.wrap(this.pojo.getCategory());
-    }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="pojo-collection"
-     *
-     * This method returns a collection of pojos so we need to wrap
-     * each pojo that is part of the collection.
-     */
-    public java.util.List getCategories()
-    {
-        java.util.List initialCollection = this.pojo.getCategories();
-
+    
+    
+    public WeblogCategoryDataWrapper getCategory() {
+        return WeblogCategoryDataWrapper.wrap(this.pojo.getCategory());
+    }
+    
+    
+    public List getCategories() {
+        List initialCollection = this.pojo.getCategories();
+        
         // iterate through and wrap
         // we force the use of an ArrayList because it should be good enough to cover
         // for any Collection type we encounter.
-        java.util.ArrayList wrappedCollection = new java.util.ArrayList(initialCollection.size());
-        java.util.Iterator it = initialCollection.iterator();
+        ArrayList wrappedCollection = new ArrayList(initialCollection.size());
+        Iterator it = initialCollection.iterator();
         int i = 0;
         while(it.hasNext()) {
-            wrappedCollection.add(i, org.apache.roller.weblogger.pojos.wrapper.WeblogCategoryDataWrapper.wrap((org.apache.roller.weblogger.pojos.WeblogCategory) it.next()));
+            wrappedCollection.add(i, WeblogCategoryDataWrapper.wrap((WeblogCategory) it.next()));
             i++;
         }
-
+        
         return wrappedCollection;
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="pojo"
-     *
-     * This method returns another pojo so we need to wrap the returned pojo.
-     */
-    public org.apache.roller.weblogger.pojos.wrapper.WebsiteDataWrapper getWebsite()
-    {
-        return org.apache.roller.weblogger.pojos.wrapper.WebsiteDataWrapper.wrap(this.pojo.getWebsite());
-    }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public org.apache.roller.weblogger.pojos.User getCreator()
-    {   
-        return this.pojo.getCreator();
-    }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public java.lang.String getTitle()
-    {   
+    
+    
+    public WebsiteDataWrapper getWebsite() {
+        return WebsiteDataWrapper.wrap(this.pojo.getWebsite());
+    }
+    
+    
+    public UserDataWrapper getCreator() {
+        return UserDataWrapper.wrap(this.pojo.getCreator());
+    }
+    
+    
+    public String getTitle() {
         return this.pojo.getTitle();
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public java.lang.String getSummary()
-    {   
+    
+    
+    public String getSummary() {
         return this.pojo.getSummary();
     }
-
+    
     /**
      * pojo method tagged with @roller.wrapPojoMethod type="simple"
      *
      * Simply returns the same value that the pojo would have returned.
      */
-    public java.lang.String getText()
-    {   
+    public String getText() {
         return this.pojo.getText();
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public java.lang.String getContentType()
-    {   
+    
+    
+    public String getContentType() {
         return this.pojo.getContentType();
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public java.lang.String getContentSrc()
-    {   
+    
+    
+    public String getContentSrc() {
         return this.pojo.getContentSrc();
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public java.lang.String getAnchor()
-    {   
+    
+    
+    public String getAnchor() {
         return this.pojo.getAnchor();
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="pojo-collection"
-     *
-     * This method returns a collection of pojos so we need to wrap
-     * each pojo that is part of the collection.
-     */
-    public java.util.List getEntryAttributes()
-    {
-        java.util.Set initialCollection = this.pojo.getEntryAttributes();
-
+    
+    
+    public List getEntryAttributes() {
+        Set initialCollection = this.pojo.getEntryAttributes();
+        
         // iterate through and wrap
         // we force the use of an ArrayList because it should be good enough to cover
         // for any Collection type we encounter.
-        java.util.ArrayList wrappedCollection = new java.util.ArrayList(initialCollection.size());
-        java.util.Iterator it = initialCollection.iterator();
+        ArrayList wrappedCollection = new ArrayList(initialCollection.size());
+        Iterator it = initialCollection.iterator();
         int i = 0;
         while(it.hasNext()) {
-            wrappedCollection.add(i,org.apache.roller.weblogger.pojos.wrapper.EntryAttributeDataWrapper.wrap((org.apache.roller.weblogger.pojos.WeblogEntryAttribute) it.next()));
+            wrappedCollection.add(i,EntryAttributeDataWrapper.wrap((WeblogEntryAttribute) it.next()));
             i++;
         }
-
+        
         return wrappedCollection;
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public java.lang.String findEntryAttribute(java.lang.String name)
-    {   
+    
+    
+    public String findEntryAttribute(String name) {
         return this.pojo.findEntryAttribute(name);
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public java.sql.Timestamp getPubTime()
-    {   
+    
+    
+    public Timestamp getPubTime() {
         return this.pojo.getPubTime();
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public java.sql.Timestamp getUpdateTime()
-    {   
+    
+    
+    public Timestamp getUpdateTime() {
         return this.pojo.getUpdateTime();
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public java.lang.String getStatus()
-    {   
+    
+    
+    public String getStatus() {
         return this.pojo.getStatus();
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public java.lang.String getLink()
-    {   
+    
+    
+    public String getLink() {
         return this.pojo.getLink();
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public java.lang.String getPlugins()
-    {   
+    
+    
+    public String getPlugins() {
         return this.pojo.getPlugins();
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public java.lang.Boolean getAllowComments()
-    {   
+    
+    
+    public Boolean getAllowComments() {
         return this.pojo.getAllowComments();
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public java.lang.Integer getCommentDays()
-    {   
+    
+    
+    public Integer getCommentDays() {
         return this.pojo.getCommentDays();
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public java.lang.Boolean getRightToLeft()
-    {   
+    
+    
+    public Boolean getRightToLeft() {
         return this.pojo.getRightToLeft();
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public java.lang.Boolean getPinnedToMain()
-    {   
+    
+    
+    public Boolean getPinnedToMain() {
         return this.pojo.getPinnedToMain();
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public java.lang.String getLocale()
-    {   
+    
+    
+    public String getLocale() {
         return this.pojo.getLocale();
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="pojo-collection"
-     *
-     * This method returns a collection of pojos so we need to wrap
-     * each pojo that is part of the collection.
-     */
-    public java.util.List getTags()
-    {
-        java.util.Set initialCollection = this.pojo.getTags();
-
+    
+    
+    public List getTags() {
+        Set initialCollection = this.pojo.getTags();
+        
         // iterate through and wrap
         // we force the use of an ArrayList because it should be good enough to cover
         // for any Collection type we encounter.
-        java.util.ArrayList wrappedCollection = new java.util.ArrayList(initialCollection.size());
-        java.util.Iterator it = initialCollection.iterator();
+        ArrayList wrappedCollection = new ArrayList(initialCollection.size());
+        Iterator it = initialCollection.iterator();
         int i = 0;
         while(it.hasNext()) {
-            wrappedCollection.add(i, org.apache.roller.weblogger.pojos.wrapper.WeblogEntryTagDataWrapper.wrap((org.apache.roller.weblogger.pojos.WeblogEntryTag) it.next()));
+            wrappedCollection.add(i, WeblogEntryTagDataWrapper.wrap((WeblogEntryTag) it.next()));
             i++;
         }
-
+        
         return wrappedCollection;
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public java.lang.String getTagsAsString()
-    {   
+    
+    
+    public String getTagsAsString() {
         return this.pojo.getTagsAsString();
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public boolean getCommentsStillAllowed()
-    {   
+    
+    
+    public boolean getCommentsStillAllowed() {
         return this.pojo.getCommentsStillAllowed();
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public java.lang.String formatPubTime(java.lang.String pattern)
-    {   
+    
+    
+    public String formatPubTime(String pattern) {
         return this.pojo.formatPubTime(pattern);
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public java.lang.String formatUpdateTime(java.lang.String pattern)
-    {   
+    
+    
+    public String formatUpdateTime(String pattern) {
         return this.pojo.formatUpdateTime(pattern);
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="pojo-collection"
-     *
-     * This method returns a collection of pojos so we need to wrap
-     * each pojo that is part of the collection.
-     */
-    public java.util.List getComments()
-    {
-        java.util.List initialCollection = this.pojo.getComments();
-
+    
+    
+    public List getComments() {
+        List initialCollection = this.pojo.getComments();
+        
         // iterate through and wrap
         // we force the use of an ArrayList because it should be good enough to cover
         // for any Collection type we encounter.
-        java.util.ArrayList wrappedCollection = new java.util.ArrayList(initialCollection.size());
-        java.util.Iterator it = initialCollection.iterator();
+        ArrayList wrappedCollection = new ArrayList(initialCollection.size());
+        Iterator it = initialCollection.iterator();
         int i = 0;
         while(it.hasNext()) {
-            wrappedCollection.add(i,org.apache.roller.weblogger.pojos.wrapper.CommentDataWrapper.wrap((org.apache.roller.weblogger.pojos.WeblogEntryComment) it.next()));
+            wrappedCollection.add(i,CommentDataWrapper.wrap((WeblogEntryComment) it.next()));
             i++;
         }
-
+        
         return wrappedCollection;
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="pojo-collection"
-     *
-     * This method returns a collection of pojos so we need to wrap
-     * each pojo that is part of the collection.
-     */
-    public java.util.List getComments(boolean ignoreSpam,boolean approvedOnly)
-    {
-        java.util.List initialCollection = this.pojo.getComments(ignoreSpam,approvedOnly);
-
+    
+    
+    public List getComments(boolean ignoreSpam,boolean approvedOnly) {
+        List initialCollection = this.pojo.getComments(ignoreSpam,approvedOnly);
+        
         // iterate through and wrap
         // we force the use of an ArrayList because it should be good enough to cover
         // for any Collection type we encounter.
-        java.util.ArrayList wrappedCollection = new java.util.ArrayList(initialCollection.size());
-        java.util.Iterator it = initialCollection.iterator();
+        ArrayList wrappedCollection = new ArrayList(initialCollection.size());
+        Iterator it = initialCollection.iterator();
         int i = 0;
         while(it.hasNext()) {
-            wrappedCollection.add(i,org.apache.roller.weblogger.pojos.wrapper.CommentDataWrapper.wrap((org.apache.roller.weblogger.pojos.WeblogEntryComment) it.next()));
+            wrappedCollection.add(i,CommentDataWrapper.wrap((WeblogEntryComment) it.next()));
             i++;
         }
-
+        
         return wrappedCollection;
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public int getCommentCount()
-    {   
+    
+    
+    public int getCommentCount() {
         return this.pojo.getCommentCount();
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="pojo-collection"
-     *
-     * This method returns a collection of pojos so we need to wrap
-     * each pojo that is part of the collection.
-     */
-    public java.util.List getReferers()
-    {
-        java.util.List initialCollection = this.pojo.getReferers();
-
+    
+    
+    public List getReferers() {
+        List initialCollection = this.pojo.getReferers();
+        
         // iterate through and wrap
         // we force the use of an ArrayList because it should be good enough to cover
         // for any Collection type we encounter.
-        java.util.ArrayList wrappedCollection = new java.util.ArrayList(initialCollection.size());
-        java.util.Iterator it = initialCollection.iterator();
+        ArrayList wrappedCollection = new ArrayList(initialCollection.size());
+        Iterator it = initialCollection.iterator();
         int i = 0;
         while(it.hasNext()) {
-            wrappedCollection.add(i,org.apache.roller.weblogger.pojos.wrapper.RefererDataWrapper.wrap((org.apache.roller.weblogger.pojos.WeblogReferrer) it.next()));
+            wrappedCollection.add(i,RefererDataWrapper.wrap((WeblogReferrer) it.next()));
             i++;
         }
-
+        
         return wrappedCollection;
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public java.lang.String getPermalink()
-    {   
+    
+    
+    public String getPermalink() {
         return this.pojo.getPermalink();
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public java.lang.String getPermaLink()
-    {   
+    
+    
+    public String getPermaLink() {
         return this.pojo.getPermaLink();
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public java.lang.String getCommentsLink()
-    {   
+    
+    
+    public String getCommentsLink() {
         return this.pojo.getCommentsLink();
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public java.lang.String getDisplayTitle()
-    {   
+    
+    
+    public String getDisplayTitle() {
         return this.pojo.getDisplayTitle();
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public java.lang.String getRss09xDescription()
-    {   
+    
+    
+    public String getRss09xDescription() {
         return this.pojo.getRss09xDescription();
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public java.lang.String getRss09xDescription(int maxLength)
-    {   
+    
+    
+    public String getRss09xDescription(int maxLength) {
         return this.pojo.getRss09xDescription(maxLength);
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public java.util.List getPluginsList()
-    {   
+    
+    
+    // TODO: check this method for safety
+    public List getPluginsList() {
         return this.pojo.getPluginsList();
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public java.lang.String getTransformedText()
-    {   
+    
+    
+    public String getTransformedText() {
         return this.pojo.getTransformedText();
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public java.lang.String getTransformedSummary()
-    {   
+    
+    
+    public String getTransformedSummary() {
         return this.pojo.getTransformedSummary();
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public java.lang.String displayContent(java.lang.String readMoreLink)
-    {   
+    
+    
+    public String displayContent(String readMoreLink) {
         return this.pojo.displayContent(readMoreLink);
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public java.lang.String getDisplayContent()
-    {   
+    
+    
+    public String getDisplayContent() {
         return this.pojo.getDisplayContent();
     }
-
+    
+    
     /**
-     * this is a special method to access the original pojo
+     * this is a special method to access the original pojo.
      * we don't really want to do this, but it's necessary
      * because some parts of the rendering process still need the
-     * orginal pojo object
+     * orginal pojo object.
      */
-    public org.apache.roller.weblogger.pojos.WeblogEntry getPojo() {
+    public WeblogEntry getPojo() {
         return this.pojo;
     }
-
+    
 }

Modified: roller/trunk/apps/weblogger/src/java/org/apache/roller/weblogger/pojos/wrapper/WeblogEntryTagDataWrapper.java
URL: http://svn.apache.org/viewvc/roller/trunk/apps/weblogger/src/java/org/apache/roller/weblogger/pojos/wrapper/WeblogEntryTagDataWrapper.java?view=diff&rev=543760&r1=543759&r2=543760
==============================================================================
--- roller/trunk/apps/weblogger/src/java/org/apache/roller/weblogger/pojos/wrapper/WeblogEntryTagDataWrapper.java (original)
+++ roller/trunk/apps/weblogger/src/java/org/apache/roller/weblogger/pojos/wrapper/WeblogEntryTagDataWrapper.java Sat Jun  2 10:07:28 2007
@@ -18,98 +18,60 @@
 
 package org.apache.roller.weblogger.pojos.wrapper;
 
+import java.sql.Timestamp;
 import org.apache.roller.weblogger.pojos.WeblogEntryTag;
 
 
 /**
- * Generated wrapper for class: org.apache.roller.weblogger.pojos.WeblogEntryTag
+ * Pojo safety wrapper for WeblogEntryTag objects.
  */
 public class WeblogEntryTagDataWrapper {
-
+    
     // keep a reference to the wrapped pojo
-    private WeblogEntryTag pojo = null;
-
+    private final WeblogEntryTag pojo;
+    
     // this is private so that we can force the use of the .wrap(pojo) method
     private WeblogEntryTagDataWrapper(WeblogEntryTag toWrap) {
         this.pojo = toWrap;
     }
-
+    
+    
     // wrap the given pojo if it is not null
     public static WeblogEntryTagDataWrapper wrap(WeblogEntryTag toWrap) {
         if(toWrap != null)
             return new WeblogEntryTagDataWrapper(toWrap);
-
+        
         return null;
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public java.lang.String getId()
-    {   
+    
+    
+    public String getId() {
         return this.pojo.getId();
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="pojo"
-     *
-     * This method returns another pojo so we need to wrap the returned pojo.
-     */
-    public org.apache.roller.weblogger.pojos.wrapper.WebsiteDataWrapper getWeblog()
-    {
-        return org.apache.roller.weblogger.pojos.wrapper.WebsiteDataWrapper.wrap(this.pojo.getWeblog());
-    }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="pojo"
-     *
-     * This method returns another pojo so we need to wrap the returned pojo.
-     */
-    public org.apache.roller.weblogger.pojos.wrapper.WeblogEntryDataWrapper getWeblogEntry()
-    {
-        return org.apache.roller.weblogger.pojos.wrapper.WeblogEntryDataWrapper.wrap(this.pojo.getWeblogEntry());
-    }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="pojo"
-     *
-     * This method returns another pojo so we need to wrap the returned pojo.
-     */
-    public org.apache.roller.weblogger.pojos.wrapper.UserDataWrapper getUser()
-    {
-        return org.apache.roller.weblogger.pojos.wrapper.UserDataWrapper.wrap(this.pojo.getUser());
-    }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public java.lang.String getName()
-    {   
+    
+    
+    public WebsiteDataWrapper getWeblog() {
+        return WebsiteDataWrapper.wrap(this.pojo.getWeblog());
+    }
+    
+    
+    public WeblogEntryDataWrapper getWeblogEntry() {
+        return WeblogEntryDataWrapper.wrap(this.pojo.getWeblogEntry());
+    }
+    
+    
+    public UserDataWrapper getUser() {
+        return UserDataWrapper.wrap(this.pojo.getUser());
+    }
+    
+    
+    public String getName() {
         return this.pojo.getName();
     }
-
-    /**
-     * pojo method tagged with @roller.wrapPojoMethod type="simple"
-     *
-     * Simply returns the same value that the pojo would have returned.
-     */
-    public java.sql.Timestamp getTime()
-    {   
+    
+    
+    public Timestamp getTime() {
         return this.pojo.getTime();
     }
-
-    /**
-     * this is a special method to access the original pojo
-     * we don't really want to do this, but it's necessary
-     * because some parts of the rendering process still need the
-     * orginal pojo object
-     */
-    public org.apache.roller.weblogger.pojos.WeblogEntryTag getPojo() {
-        return this.pojo;
-    }
-
+    
 }



Mime
View raw message