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 Parent { private Long id; private Set deleteOrphanChildren; private Set children; public Long getId() { return id; } public void setId(Long id) { this.id = id; } public Set getDeleteOrphanChildren() { return deleteOrphanChildren; } public void setDeleteOrphanChildren(Set deleteOrphanChildren) { this.deleteOrphanChildren = deleteOrphanChildren; } public Set getChildren() { return children; } public void setChildren(Set children) { this.children = children;
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/cascade/Parent.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class ProductLine {
1
public class Parent {
2
	private String id;
2
	private Long id;
3
	private String description;
3
	private S
4
	private Set models = new HashSet()
4
et deleteOrphanChildren;
5
;
5
	private Set children;
6
	
7
	public String getDescription() {
6
	public Long getId() {
8
		return description;
7
		return id;
9
	}
8
	}
10
	public void setDescription(String description) {
9
	public void set
11
		this.description = description
10
Id(Long id) {
12
;
11
		this.id = id;
13
	}
12
	}
14
	public String getId() {
13
	public S
15
		return id
14
et getDeleteOrphanChildren() {
16
;
15
		return deleteOrphanChildren;
17
	}
16
	}
18
	public void setId(String id) {
17
	public void set
19
		this.id = id
18
DeleteOrphanChildren(Set deleteOrphanChildren) {
20
;
19
		this.deleteOrphanChildren = deleteOrphanChildren;
21
	}
20
	}
22
	public Set getModels() {
21
	public Set getChildren() {
23
		return models;
22
		return children;
24
	}
23
	}
25
	public void setModels(Set models) {
24
	public void set
26
		this.models = models
25
Children(Set children) {
27
;
26
		this.children = children;
28
	
27
	
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