java.lang.Object
org.gcube.vomanagement.usermanagement.model.GCubeRole
All Implemented Interfaces:
Serializable

public class GCubeRole extends Object implements Serializable
The Class GCubeRole.
See Also:
  • Field Details

  • Constructor Details

    • GCubeRole

      public GCubeRole()
      Instantiates a new g cube role.
    • GCubeRole

      public GCubeRole(long roleId, String roleName, String description)
      Instantiates a new g cube role.
      Parameters:
      roleId - the role id
      roleName - the role name
      description - the description
  • Method Details

    • getRoleName

      public String getRoleName()
      Gets the role name.
      Returns:
      the role name
    • setRoleName

      public void setRoleName(String roleName)
      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

      public String getDescription()
      Gets the description.
      Returns:
      the description
    • setDescription

      public void setDescription(String description)
      Sets the description.
      Parameters:
      description - the new description
    • toString

      public String toString()
      Overrides:
      toString in class Object