BEAST
eu.baltrad.beast.admin.objects.User Class Reference

User object used by the user command. More...

Public Member Functions

 User ()
 Default constructor.
 
 User (String name)
 Constructor.
 
 User (String name, String role)
 Constructor.
 
String getName ()
 
void setName (String name)
 
String getPassword ()
 
void setPassword (String password)
 
String getNewpassword ()
 
void setNewpassword (String newpassword)
 
String getRole ()
 
void setRole (String role)
 

Static Public Attributes

static final String ROLE_ADMIN = "admin"
 
static final String ROLE_OPERATOR = "operator"
 
static final String ROLE_USER = "user"
 
static final String ROLE_PEER = "peer"
 
static final String ROLE_NODE = "node"
 

Detailed Description

User object used by the user command.

Author
anders

Constructor & Destructor Documentation

◆ User() [1/3]

eu.baltrad.beast.admin.objects.User.User ( )
inline

Default constructor.

◆ User() [2/3]

eu.baltrad.beast.admin.objects.User.User ( String name)
inline

Constructor.

Parameters
namethe name of the user

◆ User() [3/3]

eu.baltrad.beast.admin.objects.User.User ( String name,
String role )
inline

Constructor.

Parameters
namethe name of the user
rolethe name of the role

Member Function Documentation

◆ getName()

String eu.baltrad.beast.admin.objects.User.getName ( )
inline
Returns
the user

◆ getNewpassword()

String eu.baltrad.beast.admin.objects.User.getNewpassword ( )
inline
Returns
the newpassword

◆ getPassword()

String eu.baltrad.beast.admin.objects.User.getPassword ( )
inline
Returns
the password

◆ getRole()

String eu.baltrad.beast.admin.objects.User.getRole ( )
inline
Returns
the role

◆ setName()

void eu.baltrad.beast.admin.objects.User.setName ( String name)
inline
Parameters
userthe user to set

◆ setNewpassword()

void eu.baltrad.beast.admin.objects.User.setNewpassword ( String newpassword)
inline
Parameters
newpasswordthe newpassword to set

◆ setPassword()

void eu.baltrad.beast.admin.objects.User.setPassword ( String password)
inline
Parameters
passwordthe password to set

◆ setRole()

void eu.baltrad.beast.admin.objects.User.setRole ( String role)
inline
Parameters
rolethe role to set

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