BaltradDex
BALTRAD Data Exchange System
Loading...
Searching...
No Matches
eu.baltrad.dex.user.model.Role Class Reference

Public Member Functions

 Role (int id, String name)
 
int getId ()
 
void setId (int id)
 
String getName ()
 
void setName (String name)
 

Static Public Attributes

static final String ADMIN = "admin"
 
static final String OPERATOR = "operator"
 
static final String PEER = "peer"
 
static final String USER = "user"
 
static final String NODE = "node"
 

Detailed Description

User role used for setting system access level.

Author
Maciej Szewczykowski | macie.nosp@m.j@ba.nosp@m.ltrad.nosp@m..eu
Version
1.2.2
Since
0.1.0

Constructor & Destructor Documentation

◆ Role()

eu.baltrad.dex.user.model.Role.Role ( int id,
String name )
inline

Constructor.

Parameters
idRole ID
nameRole name

Member Function Documentation

◆ getId()

int eu.baltrad.dex.user.model.Role.getId ( )
inline

Gets role ID.

Returns
Role ID

◆ getName()

String eu.baltrad.dex.user.model.Role.getName ( )
inline

Gets role name.

Returns
Role name

◆ setId()

void eu.baltrad.dex.user.model.Role.setId ( int id)
inline

Method sets role ID.

Parameters
idRole ID

◆ setName()

void eu.baltrad.dex.user.model.Role.setName ( String name)
inline

Sets role name.

Parameters
nameRole name

The documentation for this class was generated from the following file: