Subversion Repositories SmartDukaan

Rev

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

Rev 616 Rev 961
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;
6
	private String brand;
7
	private String brand;
7
	private String model;
8
	private String model;
8
	private String color;
9
	private String color;
9
	private String quantity;
10
	private String quantity;
10
	private String timestamp;
11
	private String timestamp;
11
 
12
 
-
 
13
	public void setGroup(String group) {
-
 
14
		this.group = group;
-
 
15
	}
-
 
16
	public String getGroup() {
-
 
17
		return group;
-
 
18
	}
12
	public void setBrand(String brand) {
19
	public void setBrand(String brand) {
13
		this.brand = brand;
20
		this.brand = brand;
14
	}
21
	}
15
	public String getBrand() {
22
	public String getBrand() {
16
		return brand;
23
		return brand;
Line 38... Line 45...
38
	}
45
	}
39
	public String getTimestamp() {
46
	public String getTimestamp() {
40
		return timestamp;
47
		return timestamp;
41
	}
48
	}
42
	public String toString() {
49
	public String toString() {
43
		return this.brand+":" + this.model + ":" + this.color + ":" + this.quantity + ":" + this.timestamp;
50
		return this.group + ":" + this.brand + ":" + this.model + ":" + this.color + ":" + this.quantity + ":" + this.timestamp;
44
	}
51
	}
45
}
52
}