org.sakaiproject.component.app.help.model
Class CategoryBean

java.lang.Object
  extended byorg.sakaiproject.component.app.help.model.CategoryBean
All Implemented Interfaces:
Category, Comparable

public class CategoryBean
extends Object
implements Category, Comparable

category bean

Version:
$Id: CategoryBean.java 659 2005-07-17 19:02:44Z jlannan@iupui.edu $

Constructor Summary
CategoryBean()
           
 
Method Summary
 int compareTo(Object o)
           
 boolean equals(Object obj)
           
 Set getCategories()
          get categories
 Long getId()
          get id
 String getName()
          get name
 Category getParent()
          get parent category
 Set getResources()
          get resources
 int hashCode()
           
 void setCategories(Set categories)
          set categories
 void setId(Long id)
          set id
 void setName(String name)
          set name
 void setParent(Category parent)
          set parent category
 void setResources(Set resources)
          set resources
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CategoryBean

public CategoryBean()
Method Detail

getId

public Long getId()
get id

Returns:
Returns the id.

setId

public void setId(Long id)
set id

Parameters:
id - The id to set.

getCategories

public Set getCategories()
Description copied from interface: Category
get categories

Specified by:
getCategories in interface Category
Returns:
set of categories
See Also:
Category.getCategories()

getName

public String getName()
Description copied from interface: Category
get name

Specified by:
getName in interface Category
Returns:
name
See Also:
Category.getName()

getResources

public Set getResources()
Description copied from interface: Category
get resources

Specified by:
getResources in interface Category
Returns:
resources
See Also:
Category.getResources()

setCategories

public void setCategories(Set categories)
Description copied from interface: Category
set categories

Specified by:
setCategories in interface Category
Parameters:
categories -
See Also:
Category.setCategories(java.util.Set)

setName

public void setName(String name)
Description copied from interface: Category
set name

Specified by:
setName in interface Category
Parameters:
name -
See Also:
org.sakaiproject.api.help.Category#setName(java.lang.String)

setResources

public void setResources(Set resources)
Description copied from interface: Category
set resources

Specified by:
setResources in interface Category
Parameters:
resources -
See Also:
Category.setResources(java.util.Set)

getParent

public Category getParent()
Description copied from interface: Category
get parent category

Specified by:
getParent in interface Category
Returns:
category
See Also:
Category.getParent()

setParent

public void setParent(Category parent)
Description copied from interface: Category
set parent category

Specified by:
setParent in interface Category
Parameters:
parent -

equals

public boolean equals(Object obj)
See Also:
Object.equals(java.lang.Object)

hashCode

public int hashCode()
See Also:
Object.hashCode()

compareTo

public int compareTo(Object o)
Specified by:
compareTo in interface Comparable