com.softslate.commerce.businessobjects.administrator
Class RoleBean
java.lang.Object
com.softslate.commerce.businessobjects.core.BaseBusinessObject
com.softslate.commerce.businessobjects.administrator.RoleBean
- All Implemented Interfaces:
- Role, BusinessObject, java.io.Serializable
public class RoleBean
- extends BaseBusinessObject
- implements Role, java.io.Serializable
Object representing a role within the system. RoleBean
is the
default implementation of the Role
interface for the
application.
The database stores roles in the sscRole
table, and this class
can be used to represent a single row of that table. The Hibernate
configuration file RoleBean.hbm.xml
maps that table's columns
to the properties in this object.
- Author:
- David Tobey
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
log
static org.apache.commons.logging.Log log
roleID
private int roleID
code
private java.lang.String code
name
private java.lang.String name
description
private java.lang.String description
administratorRoles
private java.util.Collection administratorRoles
RoleBean
public RoleBean()
getRoleID
public int getRoleID()
- Specified by:
getRoleID
in interface Role
setRoleID
public void setRoleID(int roleID)
- Specified by:
setRoleID
in interface Role
getCode
public java.lang.String getCode()
- Specified by:
getCode
in interface Role
setCode
public void setCode(java.lang.String code)
- Specified by:
setCode
in interface Role
getName
public java.lang.String getName()
- Specified by:
getName
in interface Role
setName
public void setName(java.lang.String name)
- Specified by:
setName
in interface Role
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription
in interface Role
setDescription
public void setDescription(java.lang.String description)
- Specified by:
setDescription
in interface Role
getAdministratorRoles
public java.util.Collection getAdministratorRoles()
- Specified by:
getAdministratorRoles
in interface Role
setAdministratorRoles
public void setAdministratorRoles(java.util.Collection administratorRoles)
- Specified by:
setAdministratorRoles
in interface Role
Copyright © SoftSlate, LLC 20032005