BaltradDex
BALTRAD Data Exchange System
Loading...
Searching...
No Matches
eu.baltrad.dex.user.model.User Class Reference
Inheritance diagram for eu.baltrad.dex.user.model.User:

Public Member Functions

 User ()
 
 User (String name, String password)
 
 User (String name, String role, String password, String orgName, String orgUnit, String locality, String state, String countryCode, String nodeAddress)
 
 User (String name, String role, String password, String orgName, String orgUnit, String locality, String state, String countryCode, String nodeAddress, String redirectedAddress)
 
 User (int id, String name, String role, String password, String orgName, String orgUnit, String locality, String state, String countryCode, String nodeAddress)
 
 User (int id, String name, String role, String password, String orgName, String orgUnit, String locality, String state, String countryCode, String nodeAddress, String redirectedAddress)
 
int compareTo (User user)
 
boolean equals (Object obj)
 
int hashCode ()
 
int getId ()
 
void setId (int id)
 
String getName ()
 
void setName (String name)
 
String getRole ()
 
final void setRole (String role)
 
String getPassword ()
 
void setPassword (String password)
 
String getOrgName ()
 
void setOrgName (String orgName)
 
String getOrgUnit ()
 
void setOrgUnit (String orgUnit)
 
String getLocality ()
 
void setLocality (String locality)
 
String getState ()
 
void setState (String state)
 
String getCountryCode ()
 
void setCountryCode (String countryCode)
 
String getNodeAddress ()
 
final void setNodeAddress (String nodeAddress)
 
String getRedirectedAddress ()
 
void setRedirectedAddress (String redirectedAddress)
 

Detailed Description

Class implements user object.

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

Constructor & Destructor Documentation

◆ User() [1/6]

eu.baltrad.dex.user.model.User.User ( )
inline

Default constructor.

◆ User() [2/6]

eu.baltrad.dex.user.model.User.User ( String name,
String password )
inline

Constructor supporting login controller.

Parameters
nameUser name
passwordUser password

◆ User() [3/6]

eu.baltrad.dex.user.model.User.User ( String name,
String role,
String password,
String orgName,
String orgUnit,
String locality,
String state,
String countryCode,
String nodeAddress )
inline

Constructor.

Parameters
nameUser name
passwordPassword
orgNameOrganization name
orgUnitUnit name
localityLocality (city)
stateState (country)
countryCode2-letter country code
nodeAddressHTTP address

◆ User() [4/6]

eu.baltrad.dex.user.model.User.User ( String name,
String role,
String password,
String orgName,
String orgUnit,
String locality,
String state,
String countryCode,
String nodeAddress,
String redirectedAddress )
inline

Constructor.

Parameters
nameUser name
passwordPassword
orgNameOrganization name
orgUnitUnit name
localityLocality (city)
stateState (country)
countryCode2-letter country code
nodeAddressHTTP address
redirectedAddressredirected address

◆ User() [5/6]

eu.baltrad.dex.user.model.User.User ( int id,
String name,
String role,
String password,
String orgName,
String orgUnit,
String locality,
String state,
String countryCode,
String nodeAddress )
inline

Constructor.

Parameters
idRecord id
nameUser name
passwordPassword
orgNameOrganization name
orgUnitUnit name
localityLocality (city)
stateState (country)
countryCode2-letter country code
nodeAddressHTTP address

◆ User() [6/6]

eu.baltrad.dex.user.model.User.User ( int id,
String name,
String role,
String password,
String orgName,
String orgUnit,
String locality,
String state,
String countryCode,
String nodeAddress,
String redirectedAddress )
inline

Constructor.

Parameters
idRecord id
nameUser name
passwordPassword
orgNameOrganization name
orgUnitUnit name
localityLocality (city)
stateState (country)
countryCode2-letter country code
nodeAddressHTTP address

Member Function Documentation

◆ compareTo()

int eu.baltrad.dex.user.model.User.compareTo ( User user)
inline

Compare objects based on user name.

Parameters
userUser object to compare with
Returns
0 if objects are equal

◆ equals()

boolean eu.baltrad.dex.user.model.User.equals ( Object obj)
inline

Compares this object with another.

Parameters
objObject to compare with
Returns
True is tested parameters are equal

◆ getCountryCode()

String eu.baltrad.dex.user.model.User.getCountryCode ( )
inline
Returns
the countryCode

◆ getId()

int eu.baltrad.dex.user.model.User.getId ( )
inline
Returns
User id

◆ getLocality()

String eu.baltrad.dex.user.model.User.getLocality ( )
inline
Returns
the locality

◆ getName()

String eu.baltrad.dex.user.model.User.getName ( )
inline
Returns
User name

◆ getNodeAddress()

String eu.baltrad.dex.user.model.User.getNodeAddress ( )
inline
Returns
the nodeAddress

◆ getOrgName()

String eu.baltrad.dex.user.model.User.getOrgName ( )
inline
Returns
the orgName

◆ getOrgUnit()

String eu.baltrad.dex.user.model.User.getOrgUnit ( )
inline
Returns
the orgUnit

◆ getPassword()

String eu.baltrad.dex.user.model.User.getPassword ( )
inline
Returns
Password

◆ getRedirectedAddress()

String eu.baltrad.dex.user.model.User.getRedirectedAddress ( )
inline
Returns
the redirected address that is should be used for this user

◆ getRole()

String eu.baltrad.dex.user.model.User.getRole ( )
inline
Returns
the roleName

◆ getState()

String eu.baltrad.dex.user.model.User.getState ( )
inline
Returns
the state

◆ hashCode()

int eu.baltrad.dex.user.model.User.hashCode ( )
inline

Generate hash code.

Returns
Hash code

◆ setCountryCode()

void eu.baltrad.dex.user.model.User.setCountryCode ( String countryCode)
inline
Parameters
countryCodethe countryCode to set

◆ setId()

void eu.baltrad.dex.user.model.User.setId ( int id)
inline
Parameters
idUser id

◆ setLocality()

void eu.baltrad.dex.user.model.User.setLocality ( String locality)
inline
Parameters
localitythe locality to set

◆ setName()

void eu.baltrad.dex.user.model.User.setName ( String name)
inline
Parameters
nameUser name

◆ setNodeAddress()

final void eu.baltrad.dex.user.model.User.setNodeAddress ( String nodeAddress)
inline
Parameters
nodeAddressthe nodeAddress to set

◆ setOrgName()

void eu.baltrad.dex.user.model.User.setOrgName ( String orgName)
inline
Parameters
orgNamethe orgName to set

◆ setOrgUnit()

void eu.baltrad.dex.user.model.User.setOrgUnit ( String orgUnit)
inline
Parameters
orgUnitthe orgUnit to set

◆ setPassword()

void eu.baltrad.dex.user.model.User.setPassword ( String password)
inline
Parameters
passwordPassword to set

◆ setRedirectedAddress()

void eu.baltrad.dex.user.model.User.setRedirectedAddress ( String redirectedAddress)
inline
Parameters
redirectedAddressthe redirected address that is should be used for this user

◆ setRole()

final void eu.baltrad.dex.user.model.User.setRole ( String role)
inline
Parameters
roleNamethe roleName to set

◆ setState()

void eu.baltrad.dex.user.model.User.setState ( String state)
inline
Parameters
statethe state to set

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