Project

General

Profile

1
package eu.dnetlib.openaire.exporter.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
	private Map<String, List<Param>> params;
18

    
19
	private Map<String, Category> categories;
20

    
21
	public String getId() {
22
		return id;
23
	}
24

    
25
	public String getLabel() {
26
		return label;
27
	}
28

    
29
	public String getType() {
30
		return type;
31
	}
32

    
33
	public Date getDateofcreation() {
34
		return dateofcreation;
35
	}
36

    
37
	public Map<String, List<Param>> getParams() {
38
		return params;
39
	}
40

    
41
	public Map<String, Category> getCategories() {
42
		return categories;
43
	}
44

    
45
	public Context setId(final String id) {
46
		this.id = id;
47
		return this;
48
	}
49

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

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

    
60
	public Context setDateofcreation(final Date dateofcreation) {
61
		this.dateofcreation = dateofcreation;
62
		return this;
63
	}
64

    
65
	public Context setParams(final Map<String, List<Param>> params) {
66
		this.params = params;
67
		return this;
68
	}
69

    
70
	public Context setCategories(final Map<String, Category> categories) {
71
		this.categories = categories;
72
		return this;
73
	}
74

    
75
}
76

    
(3-3/5)