-
Notifications
You must be signed in to change notification settings - Fork 0
/
Kanban.java
59 lines (59 loc) · 1.27 KB
/
Kanban.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
package Model;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Dictionary;
import java.util.HashMap;
import java.util.LinkedList;
/**
*
* @version 1
*
*/
public class Kanban implements Serializable{
private float uniqueID;
private String name;
private ArrayList <Lane> laneArray;
private ArrayList <User> userList;
private User currentUser;
public Kanban(String name) {
this.name = name;
uniqueID = 0;
laneArray = new ArrayList <Lane>();
userList = new ArrayList<User>();
}
public float getUniqueID() {
return uniqueID;
}
public void setUniqueID(float uniqueID) {
this.uniqueID = uniqueID;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public ArrayList<Lane> getLaneArray(){
return laneArray;
}
public void setLaneArray(ArrayList<Lane> arr){
this.laneArray = arr;
}
public ArrayList<User> getUserArray(){
return userList;
}
public void setUserArray(ArrayList<User> list){
this.userList = list;
}
public void setCurrentUser(User user){
currentUser = user;
}
public User getCurrentUser(){
return currentUser;
}
public User findAUser(User x){
User user = null;
userList.indexOf(x);
return user;
}
}