-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathIssue.java
43 lines (39 loc) · 949 Bytes
/
Issue.java
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
import java.util.ArrayList;
import java.util.List;
import java.util.HashMap;
public class Issue {
public static List<Issue> instances = new ArrayList<>();
private String name;
private String description;
private HashMap<Short, String> levels;
public Issue(String name, String description, HashMap<Short, String> levels)
{
this.name = name;
this.description = description;
this.levels = levels;
}
public void setName(String name)
{
this.name = name;
}
public String getName()
{
return this.name;
}
public void setDesc(String description)
{
this.description = description;
}
public String getDesc()
{
return this.description;
}
public void setLevels(HashMap<Short, String> levels)
{
this.levels = levels;
}
public HashMap<Short, String> getLevels()
{
return this.levels;
}
}