SHARE
TWEET

Untitled

a guest Aug 14th, 2016 75 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @Override
  2.     public UserData mapRow(ResultSet resultSet, int line) throws SQLException {
  3.         UserData userData = new UserData();  
  4.         try
  5.         {
  6.             userData.setUserID(resultSet.getString("User_ID"));
  7.             userData.setUserName(resultSet.getString("User_Name"));  
  8.             userData.setUserPassword(resultSet.getString("User_Password"));  
  9.             userData.setUserRole(resultSet.getString("User_Role"));
  10.             userData.setUserStatus(resultSet.getString("User_Status"));
  11.             userData.setUserLogStatus(resultSet.getString("UserLog_Status"));
  12.             userData.setUserAccountName(resultSet.getString("User_AccountName"));
  13.             userData.setUserAccountID(resultSet.getString("User_AccountID"));
  14.             userData.setUserEmailID(resultSet.getString("User_EmailID"));
  15.             userData.setUserPasswordStatus(resultSet.getString("User_Password_ExpiryStatus"));
  16.             userData.setUserIDStatus(resultSet.getString("User_ID_Status"));
  17.             userData.setAcatTenantID(resultSet.getLong("acatTenant_ID"));
  18.             userData.setUserRoleCode(resultSet.getLong("User_Role_Code"));
  19.             userData.setUserSkillSetCode(resultSet.getLong("User_SkillSet_Code"));
  20.             userData.setUserAccountCode(resultSet.getLong("User_Account_Code"));
  21.  
  22.             return userData;
  23.         }
  24.         catch (EmptyResultDataAccessException e)
  25.         {
  26.             return null;
  27.         }
  28.     }
  29.  
  30. }
  31.    
  32. private String userID;
  33.     private String userPassword;
  34.     private String userRole;
  35.     private String userStatus;
  36.     private String userLogStatus;
  37.     private String userName;
  38.     private String userAccountName;
  39.     private String userAccountID;
  40.     private String userIDStatus;
  41.     private String userPasswordStatus;
  42.     private String userEmailID;  
  43.  
  44.     private String userAdminID;
  45.     private String deactivationComment;
  46.  
  47.     private String reqPageID;
  48.     private String userSessionID;    
  49.     private String reqFunctionalityID;  
  50.  
  51.     private long userAccountCode;
  52.     private long userRoleCode;
  53.     private long userSkillSetCode;
  54.     private long acatTenantID;
  55.  
  56.  
  57.     public long getUserAccountCode() {
  58.         return userAccountCode;
  59.     }
  60.     public void setUserAccountCode(long userAccountCode) {
  61.         this.userAccountCode = userAccountCode;
  62.     }
  63.  
  64.     public long getUserRoleCode() {
  65.         return userRoleCode;
  66.     }
  67.     public void setUserRoleCode(long userRoleCode) {
  68.         this.userRoleCode = userRoleCode;
  69.     }
  70.  
  71.     public long getUserSkillSetCode() {
  72.         return userSkillSetCode;
  73.     }
  74.     public void setUserSkillSetCode(long userSkillSetCode) {
  75.         this.userSkillSetCode = userSkillSetCode;
  76.     }
  77.  
  78.     public long getAcatTenantID() {
  79.         return acatTenantID;
  80.     }
  81.     public void setAcatTenantID(long acatTenantID) {
  82.         this.acatTenantID = acatTenantID;
  83.     }
  84.  
  85.     public String getReqFunctionalityID() {
  86.         return reqFunctionalityID;
  87.     }
  88.     public void setReqFunctionalityID(String reqFunctionalityID) {
  89.         this.reqFunctionalityID = reqFunctionalityID;
  90.     }
  91.  
  92.     public String getReqPageID() {
  93.         return reqPageID;
  94.     }
  95.     public void setReqPageID(String reqPageID) {
  96.         this.reqPageID = reqPageID;
  97.     }
  98.  
  99.     public String getUserSessionID() {
  100.         return userSessionID;
  101.     }
  102.     public void setUserSessionID(String userSessionID) {
  103.         this.userSessionID = userSessionID;
  104.     }
  105.  
  106.     public String getUserAdminID() {
  107.         return userAdminID;
  108.     }
  109.     public void setUserAdminID(String userAdminID) {
  110.         this.userAdminID = userAdminID;
  111.     }
  112.  
  113.     public String getDeactivationComment() {
  114.         return deactivationComment;
  115.     }
  116.     public void setDeactivationComment(String deactivationComment) {
  117.         this.deactivationComment = deactivationComment;
  118.     }
  119.     public String getUserIDStatus() {
  120.         return userIDStatus;
  121.     }
  122.     public void setUserIDStatus(String userIDStatus) {
  123.         this.userIDStatus = userIDStatus;
  124.     }
  125.     public String getUserPasswordStatus() {
  126.         return userPasswordStatus;
  127.     }
  128.     public void setUserPasswordStatus(String userPasswordStatus) {
  129.         this.userPasswordStatus = userPasswordStatus;
  130.     }
  131.  
  132.     public String getUserEmailID() {
  133.         return userEmailID;
  134.     }
  135.     public void setUserEmailID(String userEmailID) {
  136.         this.userEmailID = userEmailID;
  137.     }
  138.     public String getUserAccountID() {
  139.         return userAccountID;
  140.     }
  141.     public void setUserAccountID(String userAccountID) {
  142.         this.userAccountID = userAccountID;
  143.     }
  144.     public String getUserAccountName() {
  145.         return userAccountName;
  146.     }
  147.     public void setUserAccountName(String userAccountName) {
  148.         this.userAccountName = userAccountName;
  149.     }
  150.     public String getUserID() {
  151.         return userID;
  152.     }
  153.     public void setUserID(String userID) {
  154.         this.userID = userID;
  155.     }
  156.     public String getUserPassword() {
  157.         return userPassword;
  158.     }
  159.     public void setUserPassword(String userPassword) {
  160.         this.userPassword = userPassword;
  161.     }
  162.     public String getUserRole() {
  163.         return userRole;
  164.     }
  165.     public void setUserRole(String userRole) {
  166.         this.userRole = userRole;
  167.     }
  168.     public String getUserStatus() {
  169.         return userStatus;
  170.     }
  171.     public void setUserStatus(String userStatus) {
  172.         this.userStatus = userStatus;
  173.     }
  174.     public String getUserLogStatus() {
  175.         return userLogStatus;
  176.     }
  177.     public void setUserLogStatus(String userLogStatus) {
  178.         this.userLogStatus = userLogStatus;
  179.     }
  180.     public String getUserName() {
  181.         return userName;
  182.     }
  183.     public void setUserName(String userName) {
  184.         this.userName = userName;
  185.     }
  186.  
  187. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top