com.softslate.commerce.businessobjects.administrator
Class RoleBean

java.lang.Object
  extended bycom.softslate.commerce.businessobjects.core.BaseBusinessObject
      extended bycom.softslate.commerce.businessobjects.administrator.RoleBean
All Implemented Interfaces:
BusinessObject, Role

public class RoleBean
extends BaseBusinessObject
implements Role

Object representing a role within the system.

RoleBean is the default implementation of the Role interface for the application.

Author:
David Tobey

Field Summary
private  java.lang.String code
           
private  java.lang.String description
           
(package private) static org.apache.commons.logging.Log log
           
private  java.lang.String name
           
private  int roleID
           
 
Constructor Summary
RoleBean()
           
 
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 roleID)
           
 
Methods inherited from class com.softslate.commerce.businessobjects.core.BaseBusinessObject
formatDateTime, initialize, parseDateTime, prepareRequestData, sendHTTPPost
 
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 Detail

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
Constructor Detail

RoleBean

public RoleBean()
Method Detail

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


Copyright © SoftSlate, Inc. 2003–2005