Package com.sas.lsaf.security.user
Class LockedInfo
java.lang.Object
com.sas.lsaf.security.user.LockedInfo
- All Implemented Interfaces:
Serializable
Account lock information detailing whether the user account is currently locked, by whom, and when.
- Since:
- 1.2
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets the identity of the person who locked this user account.Gets the date the user account was locked.inthashCode()booleanisLocked()Gets the Boolean value that indicates whether the user account is locked.voidsetLocked(boolean locked) Sets the Boolean value that indicates if the user account is locked.toString()
-
Constructor Details
-
LockedInfo
Constructor.- Parameters:
locked- the Boolean value that indicates whether the user account is locked.lockedBy- the identity of the person who locked the user account.lockedDate- the date that the user account was locked.
-
-
Method Details
-
isLocked
public boolean isLocked()Gets the Boolean value that indicates whether the user account is locked.- Returns:
- The Boolean value that indicates whether the user account is locked.
-
setLocked
public void setLocked(boolean locked) Sets the Boolean value that indicates if the user account is locked.- Parameters:
locked- The Boolean value that indicates if the user account is locked.
-
getLockedBy
Gets the identity of the person who locked this user account.- Returns:
- The identity of the person who locked this user account.
-
getLockedDate
Gets the date the user account was locked.- Returns:
- The date the user account was locked.
-
hashCode
public int hashCode() -
equals
-
toString
-