com.softslate.commerce.businessobjects.administrator
Interface Role
- All Superinterfaces:
- BusinessObject
- All Known Implementing Classes:
- RoleBean
- public interface Role
- extends BusinessObject
Interface representing a role within the system.
The database stores roles in the npcRole
table, and this
interface can be used to represent a single row of that table. Each of the
columns in npcRole
map to getters and setters in this
interface.
When the application needs to create an instance that implements
npcRole
,
BusinessObjectFactory
finds the name of the Java class to instantiate from the "roleImplementer"
setting in the npcSetting
database table.
The default "roleImplementer" is
RoleBean
.
- Author:
- David Tobey
getRoleID
public int getRoleID()
setRoleID
public void setRoleID(int administratorID)
getCode
public java.lang.String getCode()
setCode
public void setCode(java.lang.String code)
getName
public java.lang.String getName()
setName
public void setName(java.lang.String name)
getDescription
public java.lang.String getDescription()
setDescription
public void setDescription(java.lang.String description)
Copyright © SoftSlate, Inc. 20032005