Subversion Repositories SmartDukaan

Rev

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

Rev 79 Rev 81
Line 34... Line 34...
34
	public String getValue() {
34
	public String getValue() {
35
		return this.value;
35
		return this.value;
36
	}
36
	}
37
	
37
	
38
	/**
38
	/**
39
	 * True if value attributes are same
39
	 * True if value attribute is same
40
	 */
40
	 */
41
	public boolean equals(Object obj) {
41
	public boolean equals(Object obj) {
42
		if(this.value != null && obj instanceof PrimitiveDataObject) {
42
		if(this.value != null && obj instanceof PrimitiveDataObject) {
43
			return this.value.equals(((PrimitiveDataObject)obj).getValue());
43
			return this.value.equals(((PrimitiveDataObject)obj).getValue());
44
		}
44
		}