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.MetaModelComponent;
7
 
8
/**
9
 * @author naveen
10
 *
11
 */
12
public class CompositePartDefinition extends MetaModelComponent {
13
 
14
	/**
15
	 * 
16
	 */
17
	private static final long serialVersionUID = 1L;
18
	private String label;
19
	private String description;
20
	private long datatypeDefinitionID;
16 naveen 21
	private long unitID;
10 shop2020 22
 
23
	/**
24
	 * 
16 naveen 25
	 * @param label
26
	 * @param datatypeDefinitionID
27
	 * @param unitID
10 shop2020 28
	 */
16 naveen 29
	public CompositePartDefinition(String label, long datatypeDefinitionID,
30
			long unitID) {
31
		this.label = label;
32
		this.datatypeDefinitionID = datatypeDefinitionID;
33
		this.unitID = unitID;
10 shop2020 34
	}
35
 
36
	/**
37
	 * @param label the label to set
38
	 */
39
	public void setLabel(String label) {
40
		this.label = label;
41
	}
42
 
43
	/**
44
	 * @return the label
45
	 */
46
	public String getLabel() {
47
		return label;
48
	}
49
 
50
	/**
51
	 * @param description the description to set
52
	 */
53
	public void setDescription(String description) {
54
		this.description = description;
55
	}
56
 
57
	/**
58
	 * @return the description
59
	 */
60
	public String getDescription() {
61
		return description;
62
	}
63
 
64
	/**
65
	 * @param datatypeDefinitionID the datatypeDefinitionID to set
66
	 */
67
	public void setDatatypeDefinitionID(long datatypeDefinitionID) {
68
		this.datatypeDefinitionID = datatypeDefinitionID;
69
	}
70
 
71
	/**
72
	 * @return the datatypeDefinitionID
73
	 */
74
	public long getDatatypeDefinitionID() {
75
		return datatypeDefinitionID;
76
	}
77
 
16 naveen 78
	/**
79
	 * @param unitID the unitID to set
80
	 */
81
	public void setUnitID(long unitID) {
82
		this.unitID = unitID;
83
	}
84
 
85
	/**
86
	 * @return the unitID
87
	 */
88
	public long getUnitID() {
89
		return unitID;
90
	}
91
 
92
	/* (non-Javadoc)
93
	 * @see java.lang.Object#toString()
94
	 */
95
	@Override
96
	public String toString() {
97
		return "CompositePartDefinition [datatypeDefinitionID="
98
				+ datatypeDefinitionID + ", description=" + description
99
				+ ", label=" + label + ", unitID=" + unitID + "]";
100
	}
101
 
10 shop2020 102
}