|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.blojsom.blog.database.DatabaseCategory
DatabaseCategory
Field Summary | |
protected java.lang.String |
_description
|
protected java.util.Map |
_metaData
|
protected java.lang.String |
_name
|
Constructor Summary | |
DatabaseCategory()
Create a new instance of the database category |
Method Summary | |
java.lang.Integer |
getBlogId()
Get the blog ID |
java.lang.String |
getDescription()
Retrieves the description of this category |
java.lang.String |
getEncodedName()
Return the category name encoded for a link |
java.lang.Integer |
getId()
Get the category ID |
java.util.Map |
getMetaData()
Retrieves the meta-data associated with this category |
java.lang.String |
getName()
Return the category name |
Category |
getParentCategory()
Returns the parent category of this category. |
java.lang.Integer |
getParentCategoryId()
Get the blog parent category ID |
void |
setBlogId(java.lang.Integer blogId)
Set the blog ID |
void |
setDescription(java.lang.String description)
Sets the description of this category |
void |
setId(java.lang.Integer id)
Set the category ID |
void |
setMetaData(java.util.Map metaData)
Set the meta-data associated with this category |
void |
setName(java.lang.String name)
Set a new name for this category |
void |
setParentCategory(Category parentCategory)
Sets the parent category of this category |
void |
setParentCategoryId(java.lang.Integer parentCategoryId)
Se the parent category ID |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.lang.String _name
protected java.util.Map _metaData
protected java.lang.String _description
Constructor Detail |
public DatabaseCategory()
Method Detail |
public java.lang.Integer getId()
getId
in interface Category
public void setId(java.lang.Integer id)
setId
in interface Category
id
- Category IDpublic java.lang.Integer getParentCategoryId()
getParentCategoryId
in interface Category
public void setParentCategoryId(java.lang.Integer parentCategoryId)
setParentCategoryId
in interface Category
parentCategoryId
- Parent category IDpublic java.lang.Integer getBlogId()
getBlogId
in interface Category
public void setBlogId(java.lang.Integer blogId)
setBlogId
in interface Category
blogId
- Blog IDpublic void setName(java.lang.String name)
setName
in interface Category
name
- Category namepublic java.lang.String getName()
getName
in interface Category
public java.lang.String getEncodedName()
getEncodedName
in interface Category
public void setDescription(java.lang.String description)
setDescription
in interface Category
description
- The new description of the categorypublic java.lang.String getDescription()
getDescription
in interface Category
public void setMetaData(java.util.Map metaData)
setMetaData
in interface Category
metaData
- The map to be associated with the category as meta-datapublic java.util.Map getMetaData()
getMetaData
in interface Category
public Category getParentCategory()
getParentCategory
in interface Category
Category
containing the parent categorypublic void setParentCategory(Category parentCategory)
setParentCategory
in interface Category
parentCategory
- Category
that represents the parent category
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |