com.sas.hls.security.user
Class LockedInfo

java.lang.Object
  extended by com.sas.hls.security.user.LockedInfo
All Implemented Interfaces:
Serializable

public class LockedInfo
extends Object
implements Serializable

A data transfer object with information about the lock state of a user.

See Also:
Serialized Form

Constructor Summary
LockedInfo()
          Zero-arg constructor for LockedInfo.
LockedInfo(boolean locked, String lockedBy, Date lockedDate)
          Constructor for LockedInfo
 
Method Summary
 boolean getLocked()
          Get the boolean value indicating if this user account is locked.
 String getLockedBy()
          Get the identity of the person who locked this user.
 Date getLockedDate()
          Get the date that this user account was locked.
 boolean isLocked()
          Get the boolean value indicating if this user account is locked.
 void setLocked(boolean locked)
          Set the boolean value indicating if this user account is locked.
 void setLockedBy(String lockedBy)
          Set the identity of the person who locked this user.
 void setLockedDate(Date lockedDate)
          Set the date that this user account was locked.
 String toString()
          Return a string representation of the object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LockedInfo

public LockedInfo()
Zero-arg constructor for LockedInfo.


LockedInfo

public LockedInfo(boolean locked,
                  String lockedBy,
                  Date lockedDate)
Constructor for LockedInfo

Parameters:
locked - Boolean value indicating locked state of the user.
lockedBy - String indicating the individual who locked this user.
lockedDate - Date that this user account was locked.
Method Detail

isLocked

public boolean isLocked()
Get the boolean value indicating if this user account is locked.

Returns:
the boolean value indicating if this user account is locked.

getLocked

public boolean getLocked()
Get the boolean value indicating if this user account is locked.

Returns:
the boolean value indicating if this user account is locked.

setLocked

public void setLocked(boolean locked)
Set the boolean value indicating if this user account is locked.

Parameters:
locked - the boolean value indicating if this user account is locked.

getLockedBy

public String getLockedBy()
Get the identity of the person who locked this user.

Returns:
the identity of the person who locked this user.

setLockedBy

public void setLockedBy(String lockedBy)
Set the identity of the person who locked this user.

Parameters:
lockedBy - the identity of the person who locked this user.

getLockedDate

public Date getLockedDate()
Get the date that this user account was locked.

Returns:
the date that this user account was locked.

setLockedDate

public void setLockedDate(Date lockedDate)
Set the date that this user account was locked.

Parameters:
lockedDate - the date that this user account was locked.

toString

public String toString()
Return a string representation of the object.

Overrides:
toString in class Object
See Also:
Object.toString()


Copyright (c) 2016, SAS Institute Inc., Cary, NC, USA