Class RoleBean
java.lang.Object
com.softslate.commerce.businessobjects.core.BaseBusinessObject
com.softslate.commerce.businessobjects.administrator.RoleBean
- All Implemented Interfaces:
Role
,BusinessObject
,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:
-
Field Summary
Modifier and TypeFieldDescriptionprivate Collection
private String
private String
(package private) static org.apache.commons.logging.Log
private String
private int
private static final long
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetCode()
getName()
int
void
setAdministratorRoles
(Collection administratorRoles) void
void
setDescription
(String description) void
void
setRoleID
(int roleID) Methods inherited from class com.softslate.commerce.businessobjects.core.BaseBusinessObject
initialize
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.softslate.commerce.businessobjects.core.BusinessObject
initialize
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
log
static org.apache.commons.logging.Log log -
roleID
private int roleID -
code
-
name
-
description
-
administratorRoles
-
-
Constructor Details
-
RoleBean
public RoleBean()
-
-
Method Details
-
getRoleID
public int getRoleID() -
setRoleID
public void setRoleID(int roleID) -
getCode
-
setCode
-
getName
-
setName
-
getDescription
- Specified by:
getDescription
in interfaceRole
-
setDescription
- Specified by:
setDescription
in interfaceRole
-
getAdministratorRoles
- Specified by:
getAdministratorRoles
in interfaceRole
-
setAdministratorRoles
- Specified by:
setAdministratorRoles
in interfaceRole
-