Package org.opennms.netmgt.config.users
Class User
- java.lang.Object
-
- org.opennms.netmgt.config.users.User
-
- All Implemented Interfaces:
java.io.Serializable
public class User extends java.lang.Object implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addContact(Contact contact)
void
addDutySchedule(java.lang.String dutySchedule)
void
addRole(java.lang.String role)
void
clearContacts()
void
clearDutySchedules()
void
clearRoles()
boolean
equals(java.lang.Object obj)
java.util.List<Contact>
getContacts()
java.util.List<java.lang.String>
getDutySchedules()
java.util.Optional<java.lang.String>
getFullName()
Password
getPassword()
java.util.List<java.lang.String>
getRoles()
java.util.Optional<java.time.ZoneId>
getTimeZoneId()
java.util.Optional<java.lang.String>
getTuiPin()
java.util.Optional<java.lang.String>
getUserComments()
java.lang.String
getUserId()
int
hashCode()
void
setContacts(java.util.List<Contact> contacts)
void
setDutySchedules(java.util.List<java.lang.String> dutySchedules)
void
setFullName(java.lang.String fullName)
void
setPassword(java.lang.String password, java.lang.Boolean salt)
void
setPassword(Password password)
void
setRoles(java.util.List<java.lang.String> roles)
void
setTimeZoneId(java.lang.String timeZoneId)
void
setTimeZoneId(java.time.ZoneId timeZoneId)
void
setTuiPin(java.lang.String tuiPin)
void
setUserComments(java.lang.String userComments)
void
setUserId(java.lang.String userId)
java.lang.String
toString()
-
-
-
Method Detail
-
getUserId
public java.lang.String getUserId()
-
setUserId
public void setUserId(java.lang.String userId)
-
getFullName
public java.util.Optional<java.lang.String> getFullName()
-
setFullName
public void setFullName(java.lang.String fullName)
-
getUserComments
public java.util.Optional<java.lang.String> getUserComments()
-
setUserComments
public void setUserComments(java.lang.String userComments)
-
getPassword
public Password getPassword()
-
setPassword
public void setPassword(Password password)
-
setPassword
public void setPassword(java.lang.String password, java.lang.Boolean salt)
-
getContacts
public java.util.List<Contact> getContacts()
-
addContact
public void addContact(Contact contact)
-
setContacts
public void setContacts(java.util.List<Contact> contacts)
-
clearContacts
public void clearContacts()
-
getDutySchedules
public java.util.List<java.lang.String> getDutySchedules()
-
setDutySchedules
public void setDutySchedules(java.util.List<java.lang.String> dutySchedules)
-
addDutySchedule
public void addDutySchedule(java.lang.String dutySchedule)
-
clearDutySchedules
public void clearDutySchedules()
-
getRoles
public java.util.List<java.lang.String> getRoles()
-
setRoles
public void setRoles(java.util.List<java.lang.String> roles)
-
addRole
public void addRole(java.lang.String role)
-
clearRoles
public void clearRoles()
-
getTuiPin
public java.util.Optional<java.lang.String> getTuiPin()
-
setTuiPin
public void setTuiPin(java.lang.String tuiPin)
-
getTimeZoneId
public java.util.Optional<java.time.ZoneId> getTimeZoneId()
-
setTimeZoneId
public void setTimeZoneId(java.lang.String timeZoneId)
-
setTimeZoneId
public void setTimeZoneId(java.time.ZoneId timeZoneId)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-