Project

General

Profile

« Previous | Next » 

Revision 54555

changed dataofcreation with lastupdatedate variable and setter and getter methods

View differences:

Context.java
12 12

  
13 13
	private String type;
14 14

  
15
	private Date dateofcreation;
15
	//private Date dateofcreation;
16 16

  
17

  
18
	private Date lastUpdateDate;
19

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

  
19 22
	private Map<String, Category> categories;
......
30 33
		return type;
31 34
	}
32 35

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

  
37 40
	public Map<String, List<Param>> getParams() {
38 41
		return params;
......
42 45
		return categories;
43 46
	}
44 47

  
48

  
49

  
45 50
	public Context setId(final String id) {
46 51
		this.id = id;
47 52
		return this;
......
57 62
		return this;
58 63
	}
59 64

  
60
	public Context setDateofcreation(final Date dateofcreation) {
61
		this.dateofcreation = dateofcreation;
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;
62 77
		return this;
63 78
	}
64 79

  
80

  
65 81
	public Context setParams(final Map<String, List<Param>> params) {
66 82
		this.params = params;
67 83
		return this;

Also available in: Unified diff