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