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
 
12 naveen 6
import in.shop2020.metamodel.util.MetaModelComponent;
10 shop2020 7
 
8
/**
9
 * 
10
 * @author naveen
11
 *
12
 */
12 naveen 13
public class BulletDefinition extends MetaModelComponent {
10 shop2020 14
	/**
15
	 * 
16
	 */
17
	private static final long serialVersionUID = 1L;
18
	private String description;
19
	private long datatypeDefinitionID;
20
	private boolean isMultivalue;
21
	private boolean isLearned;
12 naveen 22
	private long unitID;
10 shop2020 23
 
24
	/**
25
	 * 
26
	 * @param newID
27
	 */
12 naveen 28
	public BulletDefinition(long datatypeDefinitionID, long unitID) {
29
		this.datatypeDefinitionID = datatypeDefinitionID;
30
		this.unitID = unitID;
10 shop2020 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
	 * @param datatypeDefinitionID the datatypeDefinitionID to set
51
	 */
52
	public void setDatatypeDefinitionID(Long datatypeDefinitionID) {
53
		this.datatypeDefinitionID = datatypeDefinitionID;
54
	}
55
 
56
	/**
57
	 * @return the datatypeDefinitionID
58
	 */
59
	public Long getDatatypeDefinitionID() {
60
		return datatypeDefinitionID;
61
	}
62
 
63
	/**
64
	 * 
65
	 * @return isMultivalue
66
	 */
67
	public boolean isMultivalue() {
68
		return this.isMultivalue;
69
	}
70
 
71
	/**
72
	 * 
73
	 * @param value
74
	 */
75
	public void setMultivalue(boolean value) {
76
		this.isMultivalue = value;
77
	}
78
 
79
	/**
80
	 * @param isLearned the isLearned to set
81
	 */
82
	public void setLearned(boolean isLearned) {
83
		this.isLearned = isLearned;
84
	}
85
 
86
	/**
87
	 * @return the isLearned
88
	 */
89
	public boolean isLearned() {
90
		return isLearned;
91
	}
92
 
93
	/**
94
	 * 
95
	 * @return unitID
96
	 */
12 naveen 97
	public long getUnitID() {
10 shop2020 98
		return this.unitID;
99
	}
100
 
101
	/**
102
	 * 
103
	 * @param value
104
	 */
12 naveen 105
	public void setUnitID(long value) {
10 shop2020 106
		this.unitID = value;
107
	}
108
}