public class Transaction { private Long id; private String description; private MonetoryAmount value; public String getDescription() { return description; } public void setDescription(String description) { this.description = description; } public Long getId() { return id; } public void setId(Long id) { this.id = id; } public MonetoryAmount getValue() { return value; } public void setValue(MonetoryAmount value) { this.value = value;
public class Master implements Serializable { private Long id; private String name; private Detail detail; public Detail getDetail() { return detail; } public void setDetail(Detail detail) { this.detail = detail; } public Long getId() { return id; } public void setId(Long id) { this.id = id; } public String getName() { return name; } public void setName(String name) { this.name = name;
Clone fragments detected by clone detection tool
File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/cut/Transaction.java File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/formulajoin/Master.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class Transaction {
1
public class Master implements Serializable {
2
	private Long id;
2
	private Long id;
3
	private String description;
3
	private String 
4
	private MonetoryAmount value;
5
	
4
name;
5
	private Detail detail;
6
	public String getDescription() {
6
	public Detail getDetail() {
7
		return description;
7
		return detail;
8
	}
8
	}
9
	
9
	
10
	public void setDescription(String description) {
10
public void setDe
11
		this.description = description
11
tail(Detail detail) {
12
;
12
		this.detail = detail;
13
	}
13
	}
14
	
14
	
15
	public Long getId() {
15
public Long getId() {
16
		return id;
16
		return id;
17
	}
17
	}
18
	
18
	
19
	public void setId(Long id) {
19
public void setId(Long id) {
20
		this.id = id;
20
		this.id = id;
21
	}
21
	}
22
	
22
	
23
	public MonetoryAmount getValue() {
23
public String getName() {
24
		return value;
24
		return name;
25
	}
25
	}
26
	
26
	
27
	public void setValue(MonetoryAmount value) {
27
public void setName(String name) {
28
		this.value = value;
28
		this.name = name;
29
	
29
	
Summary
Number of common nesting structure subtrees0
Number of refactorable cases0
Number of non-refactorable cases0
Time elapsed for finding largest common nesting structure subtrees (ms)0.0
Clones location
Number of node comparisons0