Subversion Repositories SmartDukaan

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
10 shop2020 1
/**
2
 * 
3
 */
4
package in.shop2020.metamodel.definitions;
5
 
6
import in.shop2020.metamodel.util.MetaModelComponent;
7
 
8
/**
9
 * 
10
 * @author naveen
11
 *
12
 */
13
public class CategorySlideDefinition extends MetaModelComponent {
14
	/**
15
	 * 
16
	 */
17
	private static final long serialVersionUID = 1L;
18
	private String description;
19
	private long categoryID;
20
	private long slideDefinitionID;
21
	private EditorialImportance editorialImportance;
22
 
23
	/**
24
	 * 
25
	 * @param categoryID
26
	 * @param slideDefinitionID
27
	 */
28
	public CategorySlideDefinition(long categoryID, long slideDefinitionID) {
29
		this.categoryID = categoryID;
30
		this.slideDefinitionID = slideDefinitionID;
31
	}
32
 
33
	/**
34
	 * 
35
	 * @return description
36
	 */
37
	public String getDescription() {
38
		return this.description;
39
	}
40
 
41
	/**
42
	 * 
43
	 * @param value
44
	 */
45
	public void setDescription(String value) {
46
		this.description = value;
47
	}
48
 
49
	/**
50
	 * 
51
	 * @return categoryID
52
	 */
53
	public long getCategoryID() {
54
		return this.categoryID;
55
	}
56
 
57
	/**
58
	 * 
59
	 * @return slideDefinitionID
60
	 */
61
	public long getSlideDefintionID() {
62
		return this.slideDefinitionID;
63
	}
64
 
65
	/**
66
	 * 
67
	 * @return editorialImportance
68
	 */
69
	public EditorialImportance getEditorialImportance() {
70
		return this.editorialImportance;
71
	}
72
 
73
	/**
74
	 * 
75
	 * @param value
76
	 */
77
	public void setEditorialImportance(EditorialImportance value) {
78
		this.editorialImportance = value;
79
	}
80
 
81
	/* (non-Javadoc)
82
	 * @see java.lang.Object#toString()
83
	 */
84
	@Override
85
	public String toString() {
86
		return "CategorySlideDefinition [categoryID=" + categoryID
87
				+ ", description=" + description + ", editorialImportance="
88
				+ editorialImportance + ", slideDefinitionID="
89
				+ slideDefinitionID + "]";
90
	}
91
 
92
}