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 Circular { private String id; private Class clazz; private Circular other; private Object anyEntity; /** * Constructor for Circular. */ public Circular() { super(); } /** * Returns the clazz. * @return Class */ public Class getClazz() { return clazz; } /** * Returns the id. * @return String */ public String getId() { return id; } /** * Sets the clazz. * @param clazz The clazz to set */ public void setClazz(Class clazz) { this.clazz = clazz; } /** * Sets the id. * @param id The id to set */ public void setId(String id) { this.id = id; } /** * Returns the other. * @return Circular */ public Circular getOther() { return other; } /** * Sets the other. * @param other The other to set */ public void setOther(Circular other) { this.other = other; } /** * Returns the anyEntity. * @return Object */ public Object getAnyEntity() { return anyEntity; } /** * Sets the anyEntity. * @param anyEntity The anyEntity to set */ public void setAnyEntity(Object anyEntity) { this.anyEntity = anyEntity
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/legacy/Circular.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class Valuation {
1
public class Circular {
2
	
2
	private Long id;
3
	private String id;
3
	private Stock stock;
4
	private 
4
	private Date valuationDate;
5
	private Double value;
5
Class clazz;
6
	private Circular other;
7
	private Object anyEntity;
8
	
9
	/**
10
	 * Constructor for Circular.
11
	 */
12
	public Circular() {
13
		super();
14
	}
15
	
16
	/**
17
	 * Returns the clazz.
18
	 * @return Class
19
	 */
20
	public Class getClazz() {
21
		return clazz;
22
	}
23
	
24
	/**
25
	 * Returns the id.
26
	 * @return String
27
	 */
6
	public Long getId() {
28
	public String getId() {
7
		return id;
29
		return id;
8
	}
30
	}
9
	public void setId(Long id) {
10
		this.id = id
31
	
32
	/**
33
	 * Sets the clazz.
34
	 * @param clazz The clazz to set
35
	 */
36
	public void setClazz(Class clazz) {
11
;
37
		this.clazz = clazz;
12
	}
38
	}
39
	
13
	public Stock getStock() {
40
	
14
		return stock;
15
	}
16
	public void setStock(Stock stock) {
17
		this.stock = stock;
18
	}
19
	public Date getValuationDate() {
20
		return valuationDate;
21
	}
22
	public void setValuationDate(Date valuationDate) {
23
		this.valuationDate = valuationDate;
24
	}
25
	public Double getValue() {
26
		return value;
27
	}
28
	public void setValue(Double value
41
/**
42
	 * Sets the id.
43
	 * @param id The id to set
44
	 */
45
	public void setId(String id) {
46
		this.id = id;
47
	}
48
	
49
	/**
50
	 * Returns the other.
51
	 * @return Circular
52
	 */
53
	public Circular getOther() {
54
		return other;
55
	}
56
	
57
	/**
58
	 * Sets the other.
59
	 * @param other The other to set
60
	 */
61
	public void setOther(Circular other) {
62
		this.other = other;
63
	}
64
	
65
	/**
66
	 * Returns the anyEntity.
67
	 * @return Object
68
	 */
69
	public Object getAnyEntity() {
70
		return anyEntity;
71
	}
72
	
73
	/**
74
	 * Sets the anyEntity.
75
	 * @param anyEntity The anyEntity to set
76
	 */
29
) {
77
	public void setAnyEntity(Object anyEntity) {
30
		this.value = value
78
		this.anyEntity = anyEntity
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