Package software.xdev.sched.model
Class User
java.lang.Object
software.xdev.sched.model.User
User
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
getAbout()
Get aboutGet avatarGet companygetEmail()
Get emailgetId()
Get idGet joinedGet lastactiveGet locationgetName()
Get namegetPhone()
Get phoneGet positiongetRole()
Comma separated list of rolesGet usernameint
hashCode()
lastactive
(String lastactive) void
void
void
setCompany
(String company) void
void
void
void
setLastactive
(String lastactive) void
setLocation
(String location) void
void
void
setPosition
(String position) void
void
setUsername
(String username) toString()
Convert the instance into URL query string.toUrlQueryString
(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_USERNAME
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_PHONE
- See Also:
-
JSON_PROPERTY_EMAIL
- See Also:
-
JSON_PROPERTY_ABOUT
- See Also:
-
JSON_PROPERTY_ROLE
- See Also:
-
JSON_PROPERTY_JOINED
- See Also:
-
JSON_PROPERTY_LASTACTIVE
- See Also:
-
JSON_PROPERTY_AVATAR
- See Also:
-
JSON_PROPERTY_COMPANY
- See Also:
-
JSON_PROPERTY_POSITION
- See Also:
-
JSON_PROPERTY_LOCATION
- See Also:
-
-
Constructor Details
-
User
public User()
-
-
Method Details
-
id
-
getId
Get id- Returns:
- id
-
setId
-
username
-
getUsername
Get username- Returns:
- username
-
setUsername
-
name
-
getName
Get name- Returns:
- name
-
setName
-
phone
-
getPhone
Get phone- Returns:
- phone
-
setPhone
-
email
-
getEmail
Get email- Returns:
-
setEmail
-
about
-
getAbout
Get about- Returns:
- about
-
setAbout
-
role
-
getRole
Comma separated list of roles- Returns:
- role
-
setRole
-
joined
-
getJoined
Get joined- Returns:
- joined
-
setJoined
-
lastactive
-
getLastactive
Get lastactive- Returns:
- lastactive
-
setLastactive
-
avatar
-
getAvatar
Get avatar- Returns:
- avatar
-
setAvatar
-
company
-
getCompany
Get company- Returns:
- company
-
setCompany
-
position
-
getPosition
Get position- Returns:
- position
-
setPosition
-
location
-
getLocation
Get location- Returns:
- location
-
setLocation
-
equals
-
hashCode
public int hashCode() -
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
Convert the instance into URL query string.- Parameters:
prefix
- prefix of the query string- Returns:
- URL query string
-