public class ProductLine { private String id; private String description; private Set models = new HashSet(); public String getDescription() { return description; } public void setDescription(String description) { this.description = description; } public String getId() { return id; } public void setId(String id) { this.id = id; } public Set getModels() { return models; } public void setModels(Set models) { this.models = models;
public class ParentInfoAssigned { private Long id; private ParentAssigned owner; private String info; public ParentInfoAssigned() { } public ParentInfoAssigned(String info) { this.info = info; } public Long getId() { return id; } public ParentAssigned getOwner() { return owner; } public void setOwner(ParentAssigned owner) { this.owner = owner; } public String getInfo() { return info; } public void setInfo(String info) { this.info = info;
Clone fragments detected by clone detection tool
File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/batchfetch/ProductLine.java File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/jpa/cascade/ParentInfoAssigned.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class ProductLine {
1
public class ParentInfoAssigned {
2

2
	private String id;
3
	private Long id;
3
	private String description;
4
	private 
4
	private Set models = new HashSet();
5
	
6
	public String getDescription() {
7
		return description;
8
	}
9
	public void setDescription(String description
5
ParentAssigned owner;
6
	private String info;
7
	public ParentInfoAssigned() {
8
	}
10
) {
9
	public ParentInfoAssigned(String info) {
11
		this.description = description;
10
		this.
12
	}
13
	public String getId
11
info = info;
12
	}
13
	public Long getId() {
14
		return id;
15
	}
14
() {
16
	public ParentAssigned getOwner() {
15
		return id;
17
		return 
16
	}
18
owner;
19
	}
20

17
	public void setId(String id) {
21
	public void setOwner(ParentAssigned owner) {
18
		this.id = id;
22
		this.
19
	}
23
owner = owner;
24
	}
25

20
	public Set getModels() {
26
	public String getInfo() {
21
		return models;
27
		return 
22
	}
28
info;
29
	}
30

23
	public void setModels(Set models) {
31
	public void setInfo(String info) {
24
		this.models = models;
32
		this.info = info;
25
	
33
	
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