Subversion Repositories SmartDukaan

Rev

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

Rev 32 Rev 49
Line 4... Line 4...
4
package in.shop2020.metamodel.definitions;
4
package in.shop2020.metamodel.definitions;
5
 
5
 
6
import in.shop2020.metamodel.util.MetaModelComponent;
6
import in.shop2020.metamodel.util.MetaModelComponent;
7
 
7
 
8
/**
8
/**
-
 
9
 * Defines valid Slides for a Category
9
 * 
10
 * 
10
 * @author naveen
11
 * @author naveen
11
 *
12
 *
12
 */
13
 */
13
public class CategorySlideDefinition extends MetaModelComponent {
14
public class CategorySlideDefinition extends MetaModelComponent {
14
	/**
15
	/**
15
	 * 
16
	 * 
16
	 */
17
	 */
17
	private static final long serialVersionUID = 1L;
18
	private static final long serialVersionUID = 1L;
-
 
19
	
-
 
20
	/**
-
 
21
	 * Editor's comments on this Category-Slide association
-
 
22
	 */
18
	private String description;
23
	private String description;
-
 
24
	
-
 
25
	/**
-
 
26
	 * Reference to slide definition
-
 
27
	 */
19
	private long slideDefinitionID;
28
	private long slideDefinitionID;
-
 
29
	
-
 
30
	/**
-
 
31
	 * Importance editor places on this association. 
-
 
32
	 */
20
	private EditorialImportance editorialImportance;
33
	private EditorialImportance editorialImportance;
21
 
34
 
22
	/**
35
	/**
23
	 * 
36
	 * 
24
	 * @param categoryID
37
	 * @param categoryID Category ID
25
	 * @param slideDefinitionID
38
	 * @param slideDefinitionID SlideDefinition ID
26
	 */
39
	 */
27
	public CategorySlideDefinition(long slideDefinitionID) {
40
	public CategorySlideDefinition(long slideDefinitionID) {
28
		this.slideDefinitionID = slideDefinitionID;
41
		this.slideDefinitionID = slideDefinitionID;
29
	}
42
	}
30
 
43
 
Line 36... Line 49...
36
		return this.description;
49
		return this.description;
37
	}
50
	}
38
	
51
	
39
	/**
52
	/**
40
	 * 
53
	 * 
41
	 * @param value
54
	 * @param value description to set
42
	 */
55
	 */
43
	public void setDescription(String value) {
56
	public void setDescription(String value) {
44
		this.description = value;
57
		this.description = value;
45
	}
58
	}
46
 
59
 
47
	/**
60
	/**
48
	 * 
61
	 * 
49
	 * @return slideDefinitionID
62
	 * @return slideDefinitionID Slide Definition ID
50
	 */
63
	 */
51
	public long getSlideDefintionID() {
64
	public long getSlideDefintionID() {
52
		return this.slideDefinitionID;
65
		return this.slideDefinitionID;
53
	}
66
	}
54
 
67
 
55
	/**
68
	/**
56
	 * 
69
	 * 
57
	 * @return editorialImportance
70
	 * @return editorialImportance Editorial Importance value
58
	 */
71
	 */
59
	public EditorialImportance getEditorialImportance() {
72
	public EditorialImportance getEditorialImportance() {
60
		return this.editorialImportance;
73
		return this.editorialImportance;
61
	}
74
	}
62
	
75
	
63
	/**
76
	/**
64
	 * 
77
	 * 
65
	 * @param value
78
	 * @param value Editorial Importance to set
66
	 */
79
	 */
67
	public void setEditorialImportance(EditorialImportance value) {
80
	public void setEditorialImportance(EditorialImportance value) {
68
		this.editorialImportance = value;
81
		this.editorialImportance = value;
69
	}
82
	}
70
 
83