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
/**
49 naveen 9
 * Defines Slide-Feature association in ship2020 content meta-model
10 shop2020 10
 * 
11
 * @author naveen
12
 *
13
 */
14
public class SlideFeatureDefinition extends MetaModelComponent {
15
	/**
16
	 * 
17
	 */
18
	private static final long serialVersionUID = 1L;
49 naveen 19
 
20
	/**
21
	 * Editor's comments
22
	 */
10 shop2020 23
	private String description;
49 naveen 24
 
25
	/**
26
	 * Reference to associated features Definition object
27
	 */
16 naveen 28
	private long featureDefintionID;
49 naveen 29
 
30
	/**
31
	 * Importance given by editor to this feature
32
	 */
10 shop2020 33
	private EditorialImportance editorialImportance;
34
 
35
	/**
36
	 * 
37
	 * @param featureDefintionID
38
	 */
16 naveen 39
	public SlideFeatureDefinition(long featureDefintionID) {
10 shop2020 40
		this.featureDefintionID = featureDefintionID;
41
	}
42
 
43
	/**
44
	 * 
45
	 * @return description
46
	 */
47
	public String getDescription() {
48
		return this.description;
49
	}
50
 
51
	/**
52
	 * 
53
	 * @param value
54
	 */
55
	public void setDescription(String value) {
56
		this.description = value;
57
	}
58
 
59
	/**
60
	 * 
61
	 * @return featureDefintionID
62
	 */
16 naveen 63
	public long getFeatureDefintionID() {
10 shop2020 64
		return this.featureDefintionID;
65
	}
66
 
67
	/**
68
	 * 
69
	 * @return editorialImportance
70
	 */
71
	public EditorialImportance getEditorialImportance() {
72
		return this.editorialImportance;
73
	}
74
 
75
	/**
76
	 * 
77
	 * @param value
78
	 */
79
	public void setEditorialImportance(EditorialImportance value) {
80
		this.editorialImportance = value;
81
	}
16 naveen 82
 
83
	/* (non-Javadoc)
84
	 * @see java.lang.Object#toString()
85
	 */
86
	@Override
87
	public String toString() {
88
		return "SlideFeatureDefinition [description=" + description
89
				+ ", editorialImportance=" + editorialImportance
90
				+ ", featureDefintionID=" + featureDefintionID + "]";
91
	}
92
 
10 shop2020 93
}