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.ReusableMetaModelComponent;
7
 
8
/**
9
 * 
10
 * @author naveen
11
 *
12
 */
13
public class Unit extends ReusableMetaModelComponent {
14
	/**
15
	 * 
16
	 */
17
	private static final long serialVersionUID = 1L;
18
	private String description;
19
	private String fullForm;
20
	private String shortForm;
21
 
22
	/**
23
	 * 
24
	 * @param newID
25
	 */
26
	public Unit(long newID) {
27
		super(newID);
28
	}
29
 
30
	/**
31
	 * 
32
	 * @return description
33
	 */
34
	public String getDescription() {
35
		return this.description;
36
	}
37
 
38
	/**
39
	 * 
40
	 * @param value
41
	 */
42
	public void setDescription(String value) {
43
		this.description = value;
44
	}
45
 
46
	/**
47
	 * 
48
	 * @return fullForm
49
	 */
50
	public String getFullForm() {
51
		return this.fullForm;
52
	}
53
 
54
	/**
55
	 * 
56
	 * @param value
57
	 */
58
	public void setFullForm(String value) {
59
		this.fullForm = value;
60
	}
61
 
62
	/**
63
	 * 
64
	 * @return shortForm
65
	 */
66
	public String getShortForm() {
67
		return this.shortForm;
68
	}
69
 
70
	/**
71
	 * 
72
	 * @param value
73
	 */
74
	public void setShortForm(String value) {
75
		this.shortForm = value;
76
	}
77
 
78
	@Override
79
	public String toString() {
80
		return "Unit [description=" + description + ", fullForm=" + fullForm
81
				+ ", shortForm=" + shortForm + ", id=" + id + "]";
82
	}
83
}