Subversion Repositories SmartDukaan

Rev

Rev 16 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 16 Rev 20
Line 14... Line 14...
14
 
14
 
15
	/**
15
	/**
16
	 * 
16
	 * 
17
	 */
17
	 */
18
	private static final long serialVersionUID = 1L;
18
	private static final long serialVersionUID = 1L;
-
 
19
	private String separator;
19
	private List<CompositePartDefinition> compositePartDefinitions;
20
	private List<CompositePartDefinition> compositePartDefinitions;
20
 
21
 
21
	/**
22
	/**
22
	 * @param newID
23
	 * @param newID
23
	 */
24
	 */
24
	public CompositeDefinition(long newID, String name) {
25
	public CompositeDefinition(long newID, String name, String separator) {
25
		super(newID, name);
26
		super(newID, name);
-
 
27
		this.separator = separator;
-
 
28
	}
-
 
29
 
-
 
30
	/**
-
 
31
	 * @param separator the separator to set
-
 
32
	 */
-
 
33
	public void setSeparator(String separator) {
-
 
34
		this.separator = separator;
-
 
35
	}
-
 
36
 
-
 
37
	/**
-
 
38
	 * @return the separator
-
 
39
	 */
-
 
40
	public String getSeparator() {
-
 
41
		return separator;
26
	}
42
	}
27
 
43
 
28
	/**
44
	/**
29
	 * 
45
	 * 
30
	 * @param partDefinition
46
	 * @param partDefinition
Line 58... Line 74...
58
	 * @see java.lang.Object#toString()
74
	 * @see java.lang.Object#toString()
59
	 */
75
	 */
60
	@Override
76
	@Override
61
	public String toString() {
77
	public String toString() {
62
		return "CompositeDefinition [compositePartDefinitions="
78
		return "CompositeDefinition [compositePartDefinitions="
63
				+ compositePartDefinitions + ", getDescription()="
79
				+ compositePartDefinitions + ", separator=" + separator
64
				+ getDescription() + ", getName()=" + getName() + ", getID()="
80
				+ ", getDescription()=" + getDescription() + ", getName()="
65
				+ getID() + "]";
81
				+ getName() + ", getID()=" + getID() + "]";
66
	}
82
	}
67
}
83
}