Class GCubeRole
java.lang.Object
org.gcube.vomanagement.usermanagement.model.GCubeRole
- All Implemented Interfaces:
Serializable
The Class GCubeRole.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the description.longGets the role id.Gets the role name.voidsetDescription(String description) Sets the description.voidsetRoleId(long roleId) Sets the role id.voidsetRoleName(String roleName) Sets the role name.toString()
-
Field Details
-
VRE_MANAGER_LABEL
The Constant VRE_MANAGER_LABEL.- See Also:
-
VRE_DESIGNER_LABEL
The Constant VRE_DESIGNER_LABEL.- See Also:
-
VO_ADMIN_LABEL
The Constant VO_ADMIN_LABEL.- See Also:
-
INFRA_MANAGER_LABEL
The Constant INFRA_MANAGER_LABEL.- See Also:
-
DATA_MANAGER_LABEL
The Constant DATA_MANAGER_LABEL.- See Also:
-
-
Constructor Details
-
GCubeRole
public GCubeRole()Instantiates a new g cube role. -
GCubeRole
Instantiates a new g cube role.- Parameters:
roleId- the role idroleName- the role namedescription- the description
-
-
Method Details
-
getRoleName
Gets the role name.- Returns:
- the role name
-
setRoleName
Sets the role name.- Parameters:
roleName- the new role name
-
getRoleId
public long getRoleId()Gets the role id.- Returns:
- the role id
-
setRoleId
public void setRoleId(long roleId) Sets the role id.- Parameters:
roleId- the new role id
-
getDescription
Gets the description.- Returns:
- the description
-
setDescription
Sets the description.- Parameters:
description- the new description
-
toString
-