[jboss-cvs] JBossBlog SVN: r84 - trunk-esial/blog-core/src/java/org/jboss/blog/service/store/hibernate.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Mar 19 12:15:24 EDT 2007


Author: frite
Date: 2007-03-19 12:15:24 -0400 (Mon, 19 Mar 2007)
New Revision: 84

Added:
   trunk-esial/blog-core/src/java/org/jboss/blog/service/store/hibernate/HBlogCategory.java
Log:


Added: trunk-esial/blog-core/src/java/org/jboss/blog/service/store/hibernate/HBlogCategory.java
===================================================================
--- trunk-esial/blog-core/src/java/org/jboss/blog/service/store/hibernate/HBlogCategory.java	                        (rev 0)
+++ trunk-esial/blog-core/src/java/org/jboss/blog/service/store/hibernate/HBlogCategory.java	2007-03-19 16:15:24 UTC (rev 84)
@@ -0,0 +1,59 @@
+package org.jboss.blog.service.store.hibernate;
+
+import java.util.List;
+import org.jboss.blog.service.store.model.ModifiableBlogCategory;
+
+
+public class HBlogCategory implements ModifiableBlogCategory{
+	private Integer id;
+	private String name;
+    private String description;
+    private List posts;
+    
+    private HibernateBlogStoreService storeService;
+    
+    public HBlogCategory(){	
+    }
+    
+    public HibernateBlogStoreService getStoreService() {
+        return storeService;
+    }
+    
+    public void setStoreService(HibernateBlogStoreService storeService) {
+        this.storeService = storeService;
+    }
+    
+    
+    public String getDescription() {
+		return description;
+	}
+
+	public void setDescription(String description) {
+		this.description = description;
+	}
+
+	public String getName() {
+		return name;
+	}
+
+	public void setName(String name) {
+		this.name = name;
+	}
+	
+	public void setId(Integer id){
+		this.id = id;
+	}
+	
+	public Integer getId(){
+		return id;
+	}
+    
+	public List getPosts(){
+		return posts;
+	}
+	
+	public void setPosts(List posts){
+		this.posts = posts;
+	}
+    
+}




More information about the jboss-cvs-commits mailing list