Subversion Repositories SmartDukaan

Rev

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

Rev 10 Rev 16
Line 16... Line 16...
16
	 */
16
	 */
17
	private static final long serialVersionUID = 1L;
17
	private static final long serialVersionUID = 1L;
18
	private String label;
18
	private String label;
19
	private String description;
19
	private String description;
20
	private boolean allowsBlank;
20
	private boolean allowsBlank;
21
	private long bulletDefinitionID;
21
	private BulletDefinition bulletDefinition;
22
	
22
	
23
	/**
23
	/**
24
	 * 
24
	 * 
25
	 * @param newID
25
	 * @param newID
26
	 */
26
	 */
27
	public FeatureDefinition(long newID) {
27
	public FeatureDefinition(long newID, String label) {
28
		super(newID);
28
		super(newID);
-
 
29
		this.label = label;
29
	}
30
	}
30
 
31
 
31
	/**
32
	/**
32
	 * 
33
	 * 
33
	 * @return label
34
	 * @return label
Line 75... Line 76...
75
	public boolean allowsBlank() {
76
	public boolean allowsBlank() {
76
		return this.allowsBlank;
77
		return this.allowsBlank;
77
	}
78
	}
78
 
79
 
79
	/**
80
	/**
80
	 * @param bulletDefinitionID the bulletDefinitionID to set
81
	 * @param bulletDefinition the bulletDefinition to set
81
	 */
82
	 */
82
	public void setBulletDefinitionID(long bulletDefinitionID) {
83
	public void setBulletDefinition(BulletDefinition bulletDefinition) {
83
		this.bulletDefinitionID = bulletDefinitionID;
84
		this.bulletDefinition = bulletDefinition;
84
	}
85
	}
85
 
86
 
86
	/**
87
	/**
87
	 * @return the bulletDefinitionID
88
	 * @return the bulletDefinition
88
	 */
89
	 */
89
	public long getBulletDefinitionID() {
90
	public BulletDefinition getBulletDefinition() {
90
		return bulletDefinitionID;
91
		return bulletDefinition;
91
	}
92
	}
-
 
93
 
-
 
94
	/* (non-Javadoc)
-
 
95
	 * @see java.lang.Object#toString()
-
 
96
	 */
-
 
97
	@Override
-
 
98
	public String toString() {
-
 
99
		return "FeatureDefinition [allowsBlank=" + allowsBlank
-
 
100
				+ ", bulletDefinition=" + bulletDefinition
-
 
101
				+ ", description=" + description + ", label=" + label
-
 
102
				+ ", getID()=" + getID() + "]";
92
	
103
	}
-
 
104
 
93
}
105
}