-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathContractor.java
More file actions
46 lines (44 loc) · 767 Bytes
/
Contractor.java
File metadata and controls
46 lines (44 loc) · 767 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
import java.util.ArrayList;
import java.util.List;
public class Contractor
{
private String company;
private String name;
private List<Suite> suites;
public Contractor()
{
this.company = "";
this.name = "";
this.suites = new ArrayList<Suite>();
}
public Contractor(String company, String name, List<Suite> suites)
{
this.company = company;
this.name = name;
this.suites = suites;
}
public String getCompany()
{
return company;
}
public void setCompany(String company)
{
this.company = company;
}
public String getName()
{
return name;
}
public void setName(String name)
{
this.name = name;
}
public List<Suite> getSuites()
{
return suites;
}
public void setSuites(List<Suite> suites)
{
this.suites = suites;
}
}