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
	 */
16 naveen 28
	public BulletDefinition(long datatypeDefinitionID) {
12 naveen 29
		this.datatypeDefinitionID = datatypeDefinitionID;
10 shop2020 30
	}
31
 
32
	/**
33
	 * 
34
	 * @return description
35
	 */
36
	public String getDescription() {
37
		return this.description;
38
	}
39
 
40
	/**
41
	 * 
42
	 * @param value
43
	 */
44
	public void setDescription(String value) {
45
		this.description = value;
46
	}
47
 
48
	/**
49
	 * @param datatypeDefinitionID the datatypeDefinitionID to set
50
	 */
51
	public void setDatatypeDefinitionID(Long datatypeDefinitionID) {
52
		this.datatypeDefinitionID = datatypeDefinitionID;
53
	}
54
 
55
	/**
56
	 * @return the datatypeDefinitionID
57
	 */
58
	public Long getDatatypeDefinitionID() {
59
		return datatypeDefinitionID;
60
	}
61
 
62
	/**
63
	 * 
64
	 * @return isMultivalue
65
	 */
66
	public boolean isMultivalue() {
67
		return this.isMultivalue;
68
	}
69
 
70
	/**
71
	 * 
72
	 * @param value
73
	 */
74
	public void setMultivalue(boolean value) {
75
		this.isMultivalue = value;
76
	}
77
 
78
	/**
79
	 * @param isLearned the isLearned to set
80
	 */
81
	public void setLearned(boolean isLearned) {
82
		this.isLearned = isLearned;
83
	}
84
 
85
	/**
86
	 * @return the isLearned
87
	 */
88
	public boolean isLearned() {
89
		return isLearned;
90
	}
91
 
92
	/**
93
	 * 
94
	 * @return unitID
95
	 */
12 naveen 96
	public long getUnitID() {
10 shop2020 97
		return this.unitID;
98
	}
99
 
100
	/**
101
	 * 
102
	 * @param value
103
	 */
12 naveen 104
	public void setUnitID(long value) {
10 shop2020 105
		this.unitID = value;
106
	}
16 naveen 107
 
108
	/* (non-Javadoc)
109
	 * @see java.lang.Object#toString()
110
	 */
111
	@Override
112
	public String toString() {
113
		return "BulletDefinition [datatypeDefinitionID=" + datatypeDefinitionID
114
				+ ", description=" + description + ", isLearned=" + isLearned
115
				+ ", isMultivalue=" + isMultivalue + ", unitID=" + unitID + "]";
116
	}
117
 
10 shop2020 118
}