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
/**
49 naveen 9
 * Represents individual Unit in shop2020 content meta-model
10 shop2020 10
 * 
11
 * @author naveen
12
 *
13
 */
14
public class Unit extends ReusableMetaModelComponent {
15
	/**
16
	 * 
17
	 */
18
	private static final long serialVersionUID = 1L;
49 naveen 19
 
20
	/**
21
	 * Editorial comments
22
	 */
10 shop2020 23
	private String description;
49 naveen 24
 
25
	/**
26
	 * Unit's Full form
27
	 */
10 shop2020 28
	private String fullForm;
49 naveen 29
 
30
	/**
31
	 * Unit's short form
32
	 */
10 shop2020 33
	private String shortForm;
34
 
35
	/**
36
	 * 
37
	 * @param newID
38
	 */
39
	public Unit(long newID) {
40
		super(newID);
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 fullForm
62
	 */
63
	public String getFullForm() {
64
		return this.fullForm;
65
	}
66
 
67
	/**
68
	 * 
69
	 * @param value
70
	 */
71
	public void setFullForm(String value) {
72
		this.fullForm = value;
73
	}
74
 
75
	/**
76
	 * 
77
	 * @return shortForm
78
	 */
79
	public String getShortForm() {
80
		return this.shortForm;
81
	}
82
 
83
	/**
84
	 * 
85
	 * @param value
86
	 */
87
	public void setShortForm(String value) {
88
		this.shortForm = value;
89
	}
90
 
91
	@Override
92
	public String toString() {
93
		return "Unit [description=" + description + ", fullForm=" + fullForm
94
				+ ", shortForm=" + shortForm + ", id=" + id + "]";
95
	}
96
}