Project

General

Profile

1
package eu.dnetlib.openaire.context;
2

    
3
import java.util.Date;
4
import java.util.List;
5
import java.util.Map;
6

    
7
public class Context {
8

    
9
	private String id;
10

    
11
	private String label;
12

    
13
	private String type;
14

    
15
	//private Date dateofcreation;
16

    
17

    
18
	private Date lastUpdateDate;
19

    
20
	private Map<String, List<Param>> params;
21

    
22
	private Map<String, Category> categories;
23

    
24
	public String getId() {
25
		return id;
26
	}
27

    
28
	public String getLabel() {
29
		return label;
30
	}
31

    
32
	public String getType() {
33
		return type;
34
	}
35

    
36
//	public Date getDateofcreation() {
37
//		return dateofcreation;
38
//	}
39

    
40
	public Map<String, List<Param>> getParams() {
41
		return params;
42
	}
43

    
44
	public Map<String, Category> getCategories() {
45
		return categories;
46
	}
47

    
48

    
49

    
50
	public Context setId(final String id) {
51
		this.id = id;
52
		return this;
53
	}
54

    
55
	public Context setLabel(final String label) {
56
		this.label = label;
57
		return this;
58
	}
59

    
60
	public Context setType(final String type) {
61
		this.type = type;
62
		return this;
63
	}
64

    
65
//	public Context setDateofcreation(final Date dateofcreation) {
66
//		this.dateofcreation = dateofcreation;
67
//		return this;
68
//	}
69

    
70

    
71
	public Date getLastUpdateDate() {
72
		return lastUpdateDate;
73
	}
74

    
75
	public Context setLastUpdateDate(Date lastUpdateDate) {
76
		this.lastUpdateDate = lastUpdateDate;
77
		return this;
78
	}
79

    
80

    
81
	public Context setParams(final Map<String, List<Param>> params) {
82
		this.params = params;
83
		return this;
84
	}
85

    
86
	public Context setCategories(final Map<String, Category> categories) {
87
		this.categories = categories;
88
		return this;
89
	}
90

    
91
}
92

    
(5-5/12)