Package io.extact.rms.application.domain
Class UserAccount
java.lang.Object
io.extact.rms.application.domain.UserAccount
- All Implemented Interfaces:
IdAccessable,Transformable
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisAdmin()static UserAccountofTransient(String loginId, String password, String userName, String phoneNumber, String contact, UserAccount.UserType userType) voidsetAdmin(boolean isAdmin) toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface io.extact.rms.application.domain.IdAccessable
getId, isSameId, setIdMethods inherited from interface io.extact.rms.application.domain.Transformable
transform
-
Constructor Details
-
UserAccount
public UserAccount()
-
-
Method Details
-
ofTransient
public static UserAccount ofTransient(String loginId, String password, String userName, String phoneNumber, String contact, UserAccount.UserType userType) -
isAdmin
public boolean isAdmin() -
setAdmin
public void setAdmin(boolean isAdmin) -
toString
-