public class Role extends ModelObject
Modifier and Type | Field and Description |
---|---|
static java.lang.String | PROP_DESCRIPTION
Constant for the description property name.
|
static java.lang.String | PROP_DISPLAY
Constant for the display property name.
|
static java.lang.String | PROP_ROLE_ID
Constant for the role ID property name.
|
static java.lang.String | TYPE_CSR
Constant used to identify role type CSR (value "-3").
|
static java.lang.String | TYPE_CSR_SUPER
Constant used to identify role type CSR Supervisor (value "-14").
|
static java.lang.String | TYPE_SELLER
Constant used to identify role type Seller (value "-4").
|
static java.lang.String | TYPE_SITE_ADMIN
Constant used to identify role type Site Administrator (value "-1").
|
Constructor and Description |
---|
Role()
Constructor for Role.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String | getDescription()
This method is a convenience method for retrieving the current setting of the "description" property.
|
java.lang.String | getDisplay()
This method is a convenience method for retrieving the current setting of the "display" property.
|
java.lang.String | getRoleId()
This method is a convenience method for retrieving the current setting of the "roleId" property.
|
void | setDescription(java.lang.String description)
This method is a convenience method for setting the "description" property.
|
void | setDisplay(java.lang.String display)
This method is a convenience method for setting the "display" property.
|
void | setRoleId(java.lang.String roleId)
This method is a convenience method for setting the "roleId" property.
|
java.lang.String | toString()
Returns a string representation of this shipping mode.
|
public static final java.lang.String TYPE_SITE_ADMIN
public static final java.lang.String TYPE_CSR
public static final java.lang.String TYPE_SELLER
public static final java.lang.String TYPE_CSR_SUPER
public static final java.lang.String PROP_ROLE_ID
The value is "roleId".
The data stored under the "roleId" property is a String that contains the role's ID.
public static final java.lang.String PROP_DESCRIPTION
The value is "description".
The data stored under the "description" property is a String that contains the role's description.
public static final java.lang.String PROP_DISPLAY
The value is "display".
The data stored under the "display" property is a String that contains the role's display.
public java.lang.String getDescription()
public java.lang.String getRoleId()
public java.lang.String getDisplay()
public void setDescription(java.lang.String description)
public void setDisplay(java.lang.String display)
public void setRoleId(java.lang.String roleId)
public java.lang.String toString()