コード例 #1
0
        public Internship(Double trimester_salary, EnumContractType temp_position,
                          int contract_months) :
            base(temp_position, contract_months)

        {
            this.trimester_salary = trimester_salary;
        }
コード例 #2
0
 public Internship(String fname, String lname, String social_security, EnumDepartment department,
                   EnumCategory category, Date hire_date, Date birthday, Address address, Phone home_ph,
                   Phone cel_ph, String email, EnumContractType temp_position, int contract_months,
                   Double trimester_salary) :
     base(fname, lname, social_security, department, category, hire_date, birthday,
          address, home_ph, cel_ph, email, temp_position, contract_months)
 {
     this.trimester_salary = trimester_salary;
 }
コード例 #3
0
        // This constructor is made for FileHandler purposes
        public PartTime(String id, String fname, String lname, String social_security, String department,
                        String category, Date hire_date, Date birthday, Address address,
                        Phone home_ph, Phone cel_ph, String email, String contract, String temp_position, String contract_months) :
            base(id, fname, lname, social_security, department, category, hire_date, birthday, address, home_ph,
                 cel_ph, email, contract)

        {
            this.temp_position   = (EnumContractType)Enum.Parse(typeof(EnumContractType), temp_position);
            this.contract_months = Convert.ToInt16(contract_months);
        }
コード例 #4
0
        public PartTime(String fname, String lname, String social_security, EnumDepartment department,
                        EnumCategory category, Date hire_date, Date birthday, Address address, Phone home_ph, Phone cel_ph,
                        String email, EnumContractType temp_position, int contract_months) :
            base(fname, lname, social_security, department, category, hire_date, birthday, address, home_ph,
                 cel_ph, email)

        {
            this.temp_position   = temp_position;
            this.contract_months = contract_months;
        }
コード例 #5
0
        public ConsultantTrainer(String fname, String lname, String social_security, EnumDepartment department,
                                 EnumCategory category, Date hire_date, Date birthday, Address address, Phone home_ph,
                                 Phone cel_ph, String email, EnumContractType temp_position, int contract_months,
                                 double hourly_salary, double week_hours) :
            base(fname, lname, social_security, department, category, hire_date, birthday, address, home_ph,
                 cel_ph, email, temp_position, contract_months)

        {
            this.hourly_salary = hourly_salary;
            this.week_hours    = week_hours;
        }
コード例 #6
0
 public ConsultantTrainer(EnumContractType temp_position, int contract_months, double hourly_salary, double week_hours) :
     base(temp_position, contract_months)
 {
     this.hourly_salary = hourly_salary;
     this.week_hours    = week_hours;
 }
コード例 #7
0
 public PartTime(EnumContractType temp_position, int contract_months)
 {
     this.temp_position   = temp_position;
     this.contract_months = contract_months;
 }
コード例 #8
0
 public void setTemp_position(EnumContractType temp_position)
 {
     this.temp_position = temp_position;
 }