public class Account implements Serializable { private String accountId; private Person user; private char type; /** * @return Returns the user. */ public Person getUser() { return user; } /** * @param user The user to set. */ public void setUser(Person user) { this.user = user; } /** * @return Returns the accountId. */ public String getAccountId() { return accountId; } /** * @param accountId The accountId to set. */ public void setAccountId(String accountId) { this.accountId = accountId; } /** * @return Returns the type. */ public char getType() { return type; } /** * @param type The type to set. */ public void setType(char type) { this.type = type;
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/cuk/Account.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 Account implements Serializable {
1
public class ParentInfoAssigned {
2
	private String accountId;
2
	private Long id;
3
	private Person user;
3
	private ParentAssigned owner;
4
	private char type;
4
	private 
5
	/**
6
	 * @return Returns the user.
7
	 */
8
	public Person getUser() {
9
		return user;
10
	}
11
	/**
12
	 * @param user The user to set.
13
	 */
14
	public void setUser(Person user
5
String info;
6
	public ParentInfoAssigned() {
7
	}
15
) {
8
	public ParentInfoAssigned(String info) {
16
		this.user = user;
9
		this.
17
	}
18
	/**
19
	 * @return Returns the accountId.
20
	 */
10
info = info;
11
	}
12

21
	public String getAccountId() {
13
	public Long getId() {
22
		return accountId;
14
		return id;
23
	}
15
	}
24
	/**
25
	 * @param accountId The accountId to set.
26
	 */
27
	public void setAccountId(String accountId
16
	public ParentAssigned getOwner() {
17
		return owner;
18
	}
28
) {
19
	public void setOwner(ParentAssigned owner) {
29
		this.accountId = accountId;
20
		this.
30
	}
31
	/**
32
	 * @return Returns the type.
33
	 */
34
	public char getType
21
owner = owner;
22
	}
35
() {
23
	public String getInfo() {
36
		return type;
24
		return 
37
	}
38
	/**
39
	 * @param type The type to set.
40
	 */
25
info;
26
	}
27

41
	public void setType(char type) {
28
	public void setInfo(String info) {
42
		this.type = type;
29
		this.info = info;
43
	
30
	
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