public class Role extends Object implements Serializable
Role provides a user with permissions to perform specific
operations in the system.| Constructor and Description |
|---|
Role() |
Role(Long id,
String name,
String description,
RoleStatus status) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getDescription()
Gets the description value for this Role.
|
static org.apache.axis.encoding.Deserializer |
getDeserializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Deserializer
|
Long |
getId()
Gets the id value for this Role.
|
String |
getName()
Gets the name value for this Role.
|
static org.apache.axis.encoding.Serializer |
getSerializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Serializer
|
RoleStatus |
getStatus()
Gets the status value for this Role.
|
static org.apache.axis.description.TypeDesc |
getTypeDesc()
Return type metadata object
|
int |
hashCode() |
void |
setDescription(String description)
Sets the description value for this Role.
|
void |
setId(Long id)
Sets the id value for this Role.
|
void |
setName(String name)
Sets the name value for this Role.
|
void |
setStatus(RoleStatus status)
Sets the status value for this Role.
|
String |
toString() |
public Role()
public Role(Long id, String name, String description, RoleStatus status)
public Long getId()
public void setId(Long id)
id - * The unique ID of the role. This value is readonly and is assigned
by
Google. Roles that are created by Google will have
negative IDs.public String getName()
public void setName(String name)
name - * The name of the role. This value is readonly and is assigned
by Google.public String getDescription()
public void setDescription(String description)
description - * The description of the role. This value is readonly and is
assigned by
Google.public RoleStatus getStatus()
Role. This field is read-only and
can have the values
RoleStatus.ACTIVE (default) or RoleStatus.INACTIVE,
which determines the
visibility of the role in the UI.public void setStatus(RoleStatus status)
status - * The status of the Role. This field is read-only and
can have the values
RoleStatus.ACTIVE (default) or RoleStatus.INACTIVE,
which determines the
visibility of the role in the UI.public static org.apache.axis.description.TypeDesc getTypeDesc()
public static org.apache.axis.encoding.Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
Copyright © 2021. All rights reserved.