com.j2biz.blogunity.pojo
Class Category
java.lang.Object
com.j2biz.blogunity.pojo.Category
- All Implemented Interfaces:
- Serializable
- public class Category
- extends Object
- implements Serializable
- Since:
- 0.1
- Author:
- michelson
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GLOBAL
public static final int GLOBAL
- See Also:
- Constant Field Values
LOCAL
public static final int LOCAL
- See Also:
- Constant Field Values
Category
public Category()
Category
public Category(String name,
int type)
Category
public Category(String name,
String description,
int type)
getDescription
public String getDescription()
- Returns:
- Returns the description.
setDescription
public void setDescription(String description)
- Parameters:
description
- The description to set.
getBlogs
public Set getBlogs()
- Returns:
- Returns the entries.
setBlogs
public void setBlogs(Set blogs)
addBlog
public void addBlog(Blog blog)
getEntries
public Set getEntries()
- Returns:
- Returns the entries.
setEntries
public void setEntries(Set entries)
- Parameters:
entries
- The entries to set.
addEntry
public void addEntry(Entry entry)
getId
public Long getId()
- Returns:
- Returns the id.
setId
public void setId(Long id)
- Parameters:
id
- The id to set.
getName
public String getName()
- Returns:
- Returns the name.
setName
public void setName(String name)
- Parameters:
name
- The name to set.
getType
public int getType()
- Returns:
- Returns the type.
setType
public void setType(int type)
- Parameters:
type
- The type to set.
containsBlog
public boolean containsBlog(Blog b)
Copyright (c)j2biz.com