Subversion Repositories SmartDukaan

Rev

Rev 4585 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4585 Rev 4987
Line 13... Line 13...
13
	private String currentTimestamp;
13
	private String currentTimestamp;
14
	private String totalUpdates;
14
	private String totalUpdates;
15
	private String error;
15
	private String error;
16
	private List<Update> updates = new ArrayList<Update>();
16
	private List<Update> updates = new ArrayList<Update>();
17
	private List<BillingUpdate> billingUpdates = new ArrayList<BillingUpdate>();
17
	private List<BillingUpdate> billingUpdates = new ArrayList<BillingUpdate>();
-
 
18
	private List<PLBDetails> plbDetails = new ArrayList<PLBDetails>();
18
	
19
	
19
	public void add(Update update){
20
	public void add(Update update){
20
		updates.add(update);
21
		updates.add(update);
21
	}
22
	}
22
 
23
 
Line 38... Line 39...
38
	
39
	
39
	public void setlastTimestamp(String lastTimestamp) {
40
	public void setlastTimestamp(String lastTimestamp) {
40
		this.lastTimestamp = lastTimestamp;
41
		this.lastTimestamp = lastTimestamp;
41
	}
42
	}
42
	
43
	
43
	public String toString(){
44
    public String toString() {
-
 
45
        return this.warehouseId + ":" + this.lastTimestamp + ":"
-
 
46
                + this.currentTimestamp + ":" + this.totalUpdates + ":"
-
 
47
                + this.updates.toString() + ":"
44
		return this.warehouseId+":"+this.lastTimestamp+":"+this.currentTimestamp+":"+this.totalUpdates+":"+ this.updates.toString()+":"+ this.billingUpdates.toString();
48
                + this.billingUpdates.toString() + ":" + plbDetails.toString();
45
	}
49
    }
46
 
50
 
47
	public void setCurrentTimestamp(String currentTimestamp) {
51
	public void setCurrentTimestamp(String currentTimestamp) {
48
		this.currentTimestamp = currentTimestamp;
52
		this.currentTimestamp = currentTimestamp;
49
	}
53
	}
50
 
54
 
Line 77... Line 81...
77
	}
81
	}
78
 
82
 
79
	public List<BillingUpdate> getBillingUpdates() {
83
	public List<BillingUpdate> getBillingUpdates() {
80
		return billingUpdates;
84
		return billingUpdates;
81
	}
85
	}
-
 
86
 
-
 
87
    public List<PLBDetails> getPlbDetails() {
-
 
88
        return plbDetails;
-
 
89
    }
-
 
90
 
-
 
91
    public void add(PLBDetails update){
-
 
92
        this.plbDetails.add(update);
-
 
93
    }
-
 
94
 
-
 
95
    public void setPlbDetails(List<PLBDetails> plbDetails) {
-
 
96
        this.plbDetails = plbDetails;
-
 
97
    }
82
}
98
}