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

Method Summary
 java.lang.String getCode()
           
 java.lang.String getDescription()
           
 java.lang.String getName()
           
 int getRoleID()
           
 void setCode(java.lang.String code)
           
 void setDescription(java.lang.String description)
           
 void setName(java.lang.String name)
           
 void setRoleID(int administratorID)
           
 
Methods inherited from interface com.softslate.commerce.businessobjects.core.BusinessObject
initialize
 

Method Detail

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. 2003–2005