RecordItem.java~38~
上传用户:liming9091
上传日期:2014-10-27
资源大小:3376k
文件大小:3k
源码类别:

Java编程

开发平台:

Java

  1. package manpowersystem;
  2. /**
  3.  * <p>Title: </p>
  4.  * <p>Description: </p>
  5.  * <p>Copyright: Copyright (c) 2003</p>
  6.  * <p>Company: </p>
  7.  * @author not attributable
  8.  * @version 1.0
  9.  */
  10. import java.io.*;
  11. import java.util.*;
  12. import java.awt.*;
  13. import java.awt.event.*;
  14. import javax.swing.*;
  15. import javax.swing.event.*;
  16. import javax.swing.border.*;
  17. import javax.swing.table.*;
  18. public class RecordItem {
  19.     private String strEmployeeID;
  20.     private String strEmployeeName;
  21.     private String strOneWorkTime;
  22.     private String strOffWorkTime;
  23.     private String strLeaveWorkTime;
  24.     private String strDescribe;
  25.     public RecordItem() {
  26.         strEmployeeID = new String( "" );
  27.         strEmployeeName = new String( "" );
  28.         strOneWorkTime = new String( "" );
  29.         strOffWorkTime = new String( "" );
  30.         strLeaveWorkTime = new String( "" );
  31.         strDescribe = new String( "" );
  32.     }
  33.     public void SetOnworkItem( String strEmployeeID, String strEmployeeName,
  34.                                String strOneWorkTime, String strDescribe ) {
  35.         this.strEmployeeID = strEmployeeID;
  36.         this.strEmployeeName = strEmployeeName;
  37.         this.strOneWorkTime = strOneWorkTime;
  38.         this.strDescribe = strDescribe;
  39.     }
  40.     public void SetOffworkItem( String strEmployeeID, String strEmployeeName,
  41.                                 String strOffWorkTime, String strDescribe ) {
  42.         this.strEmployeeID = strEmployeeID;
  43.         this.strEmployeeName = strEmployeeName;
  44.         this.strOffWorkTime = strOffWorkTime;
  45.         this.strDescribe = strDescribe;
  46.     }
  47.     public void SetLeaveworkItem( String strEmployeeID, String strEmployeeName,
  48.                                   String strLeaveWorkTime, String strDescribe ) {
  49.         this.strEmployeeID = strEmployeeID;
  50.         this.strEmployeeName = strEmployeeName;
  51.         this.strLeaveWorkTime = strLeaveWorkTime;
  52.         this.strDescribe = strDescribe;
  53.     }
  54.     public String GetEmployeeID() {
  55.         return strEmployeeID;
  56.     }
  57.     public String GetEmployeeName() {
  58.         return strEmployeeName;
  59.     }
  60.     public String GetOnrWorkTime() {
  61.         return strOneWorkTime;
  62.     }
  63.     public String GetOffWorkTime() {
  64.         return strOffWorkTime;
  65.     }
  66.     public String GetLeaveWorkTime() {
  67.         return strLeaveWorkTime;
  68.     }
  69.     public String GetDescribe() {
  70.         return strDescribe;
  71.     }
  72.     public void SetEmployeeID( String strEmployeeID ) {
  73.         this.strEmployeeID = strEmployeeID;
  74.     }
  75.     public void SetEmployeeName( String strEmployeeID ) {
  76.         this.strEmployeeID = strEmployeeName;
  77.     }
  78.     public void SetOnrWorkTime( String strEmployeeID ) {
  79.         this.strEmployeeID = strOneWorkTime;
  80.     }
  81.     public void SetOffWorkTime( String strEmployeeID ) {
  82.         this.strEmployeeID = strOffWorkTime;
  83.     }
  84.     public void SetLeaveWorkTime( String strEmployeeID ) {
  85.         this.strEmployeeID = strLeaveWorkTime;
  86.     }
  87.     public void SetDescribe( String strEmployeeID ) {
  88.         this.strEmployeeID = strDescribe;
  89.     }
  90. }