Class UserLog


  • public class UserLog
    extends java.lang.Object
    This class represents business object UserLog
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int LOGIN_DENIED  
      static int LOGIN_OK  
    • Constructor Summary

      Constructors 
      Constructor Description
      UserLog()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getAccessCode()
      Returns the access code of this user log.
      java.sql.Timestamp getDateLogin()
      Returns the login date of this user log.
      java.lang.String getIpAddress()
      Returns the ip address of this user log.
      int getLoginStatus()
      Returns the login status of this user log.
      void setAccessCode​(java.lang.String strAccessCode)
      Sets the access code of the user log to the specified string.
      void setDateLogin​(java.sql.Timestamp dateLogin)
      Sets the login date of the user log to the specified timestamp.
      void setIpAddress​(java.lang.String strIpAddress)
      Sets the ip address of the user log to the specified string.
      void setLoginStatus​(int nLoginStatus)
      Sets the login status of the user log to the specified integer.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • UserLog

        public UserLog()
    • Method Detail

      • getAccessCode

        public java.lang.String getAccessCode()
        Returns the access code of this user log.
        Returns:
        the user access code
      • setAccessCode

        public void setAccessCode​(java.lang.String strAccessCode)
        Sets the access code of the user log to the specified string.
        Parameters:
        strAccessCode - the new access code
      • getIpAddress

        public java.lang.String getIpAddress()
        Returns the ip address of this user log.
        Returns:
        the user ip address
      • setIpAddress

        public void setIpAddress​(java.lang.String strIpAddress)
        Sets the ip address of the user log to the specified string.
        Parameters:
        strIpAddress - the new ip address
      • getDateLogin

        public java.sql.Timestamp getDateLogin()
        Returns the login date of this user log.
        Returns:
        the user date of login
      • setDateLogin

        public void setDateLogin​(java.sql.Timestamp dateLogin)
        Sets the login date of the user log to the specified timestamp.
        Parameters:
        dateLogin - the new date of login
      • getLoginStatus

        public int getLoginStatus()
        Returns the login status of this user log.
        Returns:
        the user status of login
      • setLoginStatus

        public void setLoginStatus​(int nLoginStatus)
        Sets the login status of the user log to the specified integer.
        Parameters:
        nLoginStatus - the new status of login