Subversion Repositories SmartDukaan

Rev

Rev 21545 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
21545 ashik.ali 1
package com.spice.profitmandi.dao.model;
2
 
3
import java.util.List;
4
 
5
public class Specification {
6
 
7
	private String name;
8
	private List<String> values;
9
 
10
 
11
	public Specification(String name, List<String> values) {
12
		super();
13
		this.name = name;
14
		this.values = values;
15
	}
16
 
17
 
18
	@Override
19
	public String toString() {
20
		return "Specification [name=" + name + ", values=" + values + "]";
21
	}
22
	/**
23
	 * @param name the name to set
24
	 */
25
	public void setName(String name) {
26
		this.name = name;
27
	}
28
	/**
29
	 * @return the name
30
	 */
31
	public String getName() {
32
		return name;
33
	}
34
	/**
35
	 * @param value the value to set
36
	 */
37
	public void setValues(List<String> values) {
38
		this.values = values;
39
	}
40
	/**
41
	 * @return the value
42
	 */
43
	public List<String> getValues() {
44
		return values;
45
	} 
26498 amit.gupta 46
	public String getString() {
47
		return String.join(", ", values);
48
	} 
21545 ashik.ali 49
}