org.infoglue.cms.entities.management
Class CategoryVO
java.lang.Object
org.infoglue.cms.entities.kernel.Persistent
org.infoglue.cms.entities.management.CategoryVO
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable, BaseEntityVO
public class CategoryVO
- extends Persistent
This is a Category to be used for categorizing Content
- Author:
- Frank Febbraro (frank@phase2technology.com)
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
CategoryVO
public CategoryVO()
CategoryVO
public CategoryVO(java.lang.String name)
CategoryVO
public CategoryVO(java.lang.Integer id,
java.lang.String name)
getId
public java.lang.Integer getId()
getCategoryId
public java.lang.Integer getCategoryId()
setCategoryId
public void setCategoryId(java.lang.Integer i)
getName
public java.lang.String getName()
setName
public void setName(java.lang.String s)
getDescription
public java.lang.String getDescription()
setDescription
public void setDescription(java.lang.String s)
isActive
public boolean isActive()
setActive
public void setActive(boolean b)
getParentId
public java.lang.Integer getParentId()
setParentId
public void setParentId(java.lang.Integer i)
getChildren
public java.util.List getChildren()
setChildren
public void setChildren(java.util.List l)
isRoot
public boolean isRoot()
validate
public ConstraintExceptionBuffer validate()
- Returns:
- ConstraintExceptionBuffer
equals
public boolean equals(java.lang.Object o)
- Description copied from class:
Persistent
- Compares an object to this one for equality.
- Overrides:
equals in class Persistent
- Parameters:
o - the object to compare
- Returns:
- true if this == o or o != null and getClass().equals(o.getClass()) and compareTo(o) == 0
- See Also:
Persistent.compareTo(java.lang.Object)
toStringBuffer
public java.lang.StringBuffer toStringBuffer()
- Description copied from class:
Persistent
- Returns a string buffer representation of this object. The idea is that subclasses can grab the string buffer
returned by this method and append to it, to save some gratuitous string creation.
- Overrides:
toStringBuffer in class Persistent
- Returns:
- a StringBuffer representation of this object
Copyright © 2005 InfoGlue.org All Rights Reserved.