Package fi.bitwards.service
Class BitwardsUser
java.lang.Object
fi.bitwards.service.BitwardsUser
Bitwards end user entity.
-
Method Summary
Modifier and TypeMethodDescriptiongetCity()Get cityGet countrygetEmail()Get emailGet first name.Get last nameGet phone numberGet street addressGet support emailGet support numberGet user roleGet user role nameGet zip codevoidSet cityvoidsetCountry(String country) Set countryvoidSet emailvoidsetFirstName(String firstName) Set first namevoidsetLastName(String lastName) Set last namevoidsetPhoneNumber(String phoneNumber) Set phone numbervoidsetStreetAddress(String address) Set street addressvoidsetZipCode(String zipCode) Set zip codetoString()
-
Method Details
-
getFirstName
Get first name.- Returns:
- the first name
-
setFirstName
Set first name- Parameters:
firstName- the new first name
-
getLastName
Get last name- Returns:
- the last name
-
setLastName
Set last name- Parameters:
lastName- the new last name
-
getStreetAddress
Get street address- Returns:
- the street address
-
getSupportEmail
Get support email- Returns:
- the support email
-
getSupportNumber
Get support number- Returns:
- the support number
-
setStreetAddress
Set street address- Parameters:
address- the new street address
-
getZipCode
Get zip code- Returns:
- the zip code
-
setZipCode
Set zip code- Parameters:
zipCode- the new zip code
-
getCity
Get city- Returns:
- the city
-
setCity
Set city- Parameters:
city- the city
-
getCountry
Get country- Returns:
- the country
-
setCountry
Set country- Parameters:
country- the new country
-
getEmail
Get email- Returns:
- the email
-
setEmail
Set email- Parameters:
email- the new email
-
getPhoneNumber
Get phone number- Returns:
- the phone number
-
setPhoneNumber
Set phone number- Parameters:
phoneNumber- the new phone number
-
toString
-
getUserRole
Get user role- Returns:
- the user role
-
getUserRoleName
Get user role name- Returns:
- the user role name
-