Subversion Repositories SmartDukaan

Rev

Rev 7129 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
10 shop2020 1
/**
2
 * 
3
 */
4
package in.shop2020.metamodel.util;
5
 
6
/**
51 naveen 7
 * Parent class of those definition objects which can be reused to create new 
49 naveen 8
 * structures. These can be identified with unique number.
9
 * 
10 shop2020 10
 * @author naveen
11
 *
12
 */
13
public abstract class ReusableMetaModelComponent extends MetaModelComponent {
14
	/**
15
	 * 
16
	 */
17
	private static final long serialVersionUID = 1L;
49 naveen 18
 
19
	/**
20
	 * Unique identifier
21
	 */
10 shop2020 22
	protected long id;
23
 
24
	/**
25
	 * 
26
	 * @param newID
27
	 */
28
	public ReusableMetaModelComponent(long newID) {
29
		this.id = newID;
30
	}
31
	/**
32
	 * 
51 naveen 33
	 * @return id Unique identifier
10 shop2020 34
	 */
35
	public long getID() {
36
		return this.id;
37
	}
7129 amit.gupta 38
	/**
39
	 * 
40
	 * @return id Unique identifier
41
	 */
42
	public void setID(long id) {
43
		this.id = id;
44
	}
8758 amit.gupta 45
 
46
	public ReusableMetaModelComponent() {
47
	}
5396 amit.gupta 48
 
10 shop2020 49
}