public class DocumentImpl extends ItemImpl implements Document { private Blob content; private Calendar modified; private Calendar created; /** * @return Returns the created. */ public Calendar getCreated() { return created; } /** * @param created The created to set. */ public void setCreated(Calendar created) { this.created = created; } /** * @return Returns the modified. */ public Calendar getModified() { return modified; } /** * @param modified The modified to set. */ public void setModified(Calendar modified) { this.modified = modified; } /** * @return Returns the content. */ public Blob getContent() { return content; } /** * @param content The content to set. */ public void setContent(Blob content) { this.content = content;
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/interfaceproxy/DocumentImpl.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 DocumentImpl extends ItemImpl implements Document {
1
public class ParentInfoAssigned {
2
	private Blob content;
2
	private 
3
	private Calendar modified;
4
	private Calendar created;
5
	/**
6
	 * @return Returns the created.
7
	 */
8
	public Calendar getCreated() {
9
		return created;
10
	}
11
	/**
12
	 * @param created The created to set.
13
	 */
14
	public void setCreated(Calendar created
3
Long id;
4
	private ParentAssigned owner;
5
	private String info;
6
	public ParentInfoAssigned() {
7
	}
15
) {
8
	public ParentInfoAssigned(String info) {
16
		this.created = created;
9
		this.
17
	}
18
	/**
19
	 * @return Returns the modified.
20
	 */
21
	public Calendar getModified
10
info = info;
11
	}
12
	public Long getId() {
13
		return id;
14
	}
22
() {
15
	public ParentAssigned getOwner() {
23
		return modified;
16
		return 
24
	}
25
	/**
26
	 * @param modified The modified to set.
27
	 */
28
	public void setModified(Calendar modified
17
owner;
18
	}
29
) {
19
	public void setOwner(ParentAssigned owner) {
30
		this.modified = modified;
20
		this.
31
	}
32
	/**
33
	 * @return Returns the content.
34
	 */
21
owner = owner;
22
	}
23

35
	public Blob getContent() {
24
	public String getInfo() {
36
		return content;
25
		return 
37
	}
38
	/**
39
	 * @param content The content to set.
40
	 */
41
	public void setContent(Blob content
26
info;
27
	}
42
) {
28
	public void setInfo(String info) {
43
		this.content = content;
29
		this.info = info;
44
	
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