public class Valuation { private Long id; private Stock stock; private Date valuationDate; private Double value; public Long getId() { return id; } public void setId(Long id) { this.id = id; } public Stock getStock() { return stock; } public void setStock(Stock stock) { this.stock = stock; } public Date getValuationDate() { return valuationDate; } public void setValuationDate(Date valuationDate) { this.valuationDate = valuationDate; } public Double getValue() { return value; } public void setValue(Double value) { this.value = value
public class Alien { private Long id; private String identity; private String planet; private String species; public void setIdentity(String identity) { this.identity = identity; } public String getIdentity() { return identity; } public void setSpecies(String species) { this.species = species; } public String getSpecies() { return species; } public void setPlanet(String planet) { this.planet = planet; } public String getPlanet() { return planet; } public void setId(Long id) { this.id = id; } public Long getId() { return id
Clone fragments detected by clone detection tool
File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/entitymode/multi/Valuation.java File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/subselect/Alien.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class Valuation {
1
public class Alien {
2
	private Long id;
2
	private Long id;
3
	private Stock stock;
3
	private St
4
	private Date valuationDate;
5
	private Double value;
6
	public Long getId() {
7
		return id
4
ring identity;
5
	private String planet;
8
;
6
	private String species;
9
	}
7
	
10
	public void setId(Long id) {
8
	public void setId
11
		this.id = id
9
entity(String identity) {
12
;
10
		this.identity = identity;
13
	}
11
	}
14
	public Stock getStock() {
12
	public String getIdentity() {
15
		return stock;
13
		return identity;
16
	}
14
	}
17
	public void setStock(Stock stock) {
15
	public void setSpecies(String species) {
18
		this.stock = stock;
16
		this.species = species;
19
	}
17
	}
20
	public Date getValuationDate() {
18
	public String getSpecies() {
21
		return valuationDate;
19
		return species;
22
	}
20
	}
23
	public void setValuationDate(Date valuationDate) {
21
	public void set
24
		this.valuationDate = valuationDate
22
Planet(String planet) {
25
;
23
		this.planet = planet;
26
	}
24
	}
27
	public Double getValue() {
25
	public String getPlanet() {
28
		return value;
26
		return planet;
29
	}
27
	}
30
	public void setValue(Double value) {
28
	public void set
31
		this.value = value
29
Id(Long id) {
30
		this.id = id;
31
	}
32
	public Long getId() {
33
		return id
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