@Entity(name="User") public class UserImpl extends AbstractKapuaNamedEntity implements User
User implementation.description, nameattributes, modifiedBy, modifiedOn, optlock, propertiescreatedBy, createdOn, id, scopeId| Constructor and Description |
|---|
UserImpl()
Constructor.
|
UserImpl(org.eclipse.kapua.model.id.KapuaId scopeId)
Constructor.
|
UserImpl(org.eclipse.kapua.model.id.KapuaId scopeId,
java.lang.String name)
Constructor.
|
UserImpl(User user)
Clone constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDisplayName() |
java.lang.String |
getEmail() |
java.util.Date |
getExpirationDate() |
java.lang.String |
getExternalId() |
java.lang.String |
getPhoneNumber() |
UserStatus |
getStatus() |
UserType |
getUserType() |
void |
setDisplayName(java.lang.String displayName) |
void |
setEmail(java.lang.String email) |
void |
setExpirationDate(java.util.Date expirationDate) |
void |
setExternalId(java.lang.String externalId) |
void |
setPhoneNumber(java.lang.String phoneNumber) |
void |
setStatus(UserStatus status) |
void |
setUserType(UserType userType) |
getDescription, getName, setDescription, setNamegetEntityAttributes, getEntityProperties, getModifiedBy, getModifiedOn, getOptlock, prePersistsAction, preUpdateAction, setEntityAttributes, setEntityProperties, setModifiedBy, setModifiedOn, setOptlockgetCreatedBy, getCreatedOn, getId, getScopeId, setCreatedBy, setCreatedOn, setId, setScopeIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDescription, getName, setDescription, setNamepublic UserImpl()
Required by JPA.
public UserImpl(org.eclipse.kapua.model.id.KapuaId scopeId)
scopeId - The scope KapuaId to set into the Userpublic UserImpl(org.eclipse.kapua.model.id.KapuaId scopeId,
java.lang.String name)
public UserImpl(User user) throws org.eclipse.kapua.KapuaException
user - org.eclipse.kapua.KapuaExceptionpublic UserStatus getStatus()
public void setStatus(UserStatus status)
public java.lang.String getDisplayName()
getDisplayName in interface Userpublic void setDisplayName(java.lang.String displayName)
setDisplayName in interface Userpublic java.lang.String getPhoneNumber()
getPhoneNumber in interface Userpublic void setPhoneNumber(java.lang.String phoneNumber)
setPhoneNumber in interface Userpublic UserType getUserType()
getUserType in interface Userpublic void setUserType(UserType userType)
setUserType in interface Userpublic java.lang.String getExternalId()
getExternalId in interface Userpublic void setExternalId(java.lang.String externalId)
setExternalId in interface Userpublic java.util.Date getExpirationDate()
getExpirationDate in interface Userpublic void setExpirationDate(java.util.Date expirationDate)
setExpirationDate in interface UserCopyright © 2020 Eclipse.org. All rights reserved.