-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathEmployee.java
More file actions
53 lines (40 loc) · 838 Bytes
/
Employee.java
File metadata and controls
53 lines (40 loc) · 838 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
/*PLEASE DO NOT EDIT THIS CODE*/
/*This code was generated using the UMPLE 1.31.1.5860.78bb27cc6 modeling language!*/
// line 21 "model.ump"
// line 145 "model.ump"
public class Employee
{
//------------------------
// MEMBER VARIABLES
//------------------------
//Employee Attributes
protected String name;
protected double salary;
protected double hoursWorked;
protected boolean isManager;
//------------------------
// CONSTRUCTOR
//------------------------
public Employee()
{
}
//------------------------
// INTERFACE
//------------------------
public void setName(String aName)
{
name = aName;
}
public void setSalary(double aSalary)
{
salary = aSalary;
}
public String getName()
{
return name;
}
public double getSalary()
{
return salary;
}
}