Subversion Repositories SmartDukaan

Rev

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

Rev 1023 Rev 1367
Line 1... Line 1...
1
package in.shop2020.support.models;
1
package in.shop2020.support.models;
2
import com.thoughtworks.xstream.annotations.XStreamAlias;
2
import com.thoughtworks.xstream.annotations.XStreamAlias;
3
 
3
 
4
@XStreamAlias("update")
4
@XStreamAlias("update")
5
public class Update {
5
public class Update {
6
	private String group;
-
 
7
	private String brand;
-
 
8
	private String model;
6
	private String key;
9
	private String color;
-
 
10
	private String quantity;
7
	private String quantity;
11
	private String timestamp;
8
	private String timestamp;
12
 
9
 
13
	public void setGroup(String group) {
10
	public void setKey(String key) {
14
		this.group = group;
11
		this.key = key;
15
	}
12
	}
16
	public String getGroup() {
-
 
17
		return group;
-
 
18
	}
-
 
19
	public void setBrand(String brand) {
-
 
20
		this.brand = brand;
-
 
21
	}
-
 
22
	public String getBrand() {
-
 
23
		return brand;
-
 
24
	}
-
 
25
	public void setModel(String model) {
-
 
26
		this.model = model;
-
 
27
	}
-
 
28
	public String getModel() {
13
	public String getKey() {
29
		return model;
14
		return key;
30
	}
-
 
31
	public void setColor(String color) {
-
 
32
		this.color = color;
-
 
33
	}
-
 
34
	public String getColor() {
-
 
35
		return color;
-
 
36
	}
15
	}
37
	public void setQuantity(String quantity) {
16
	public void setQuantity(String quantity) {
38
		this.quantity = quantity;
17
		this.quantity = quantity;
39
	}
18
	}
40
	public String getQuantity() {
19
	public String getQuantity() {
Line 45... Line 24...
45
	}
24
	}
46
	public String getTimestamp() {
25
	public String getTimestamp() {
47
		return timestamp;
26
		return timestamp;
48
	}
27
	}
49
	public String toString() {
28
	public String toString() {
50
		return this.group + ":" + this.brand + ":" + this.model + ":" + this.color + ":" + this.quantity + ":" + this.timestamp;
29
		return this.key + ":" + this.quantity + ":" + this.timestamp;
51
	}
30
	}
52
}
31
}