public class Address implements Serializable { private Long id; private String address; private String zip; private String country; private Person person; /** * @return Returns the id. */ public Long getId() { return id; } /** * @param id The id to set. */ public void setId(Long id) { this.id = id; } /** * @return Returns the person. */ public Person getPerson() { return person; } /** * @param person The person to set. */ public void setPerson(Person person) { this.person = person; } /** * @return Returns the address. */ public String getAddress() { return address; } /** * @param address The address to set. */ public void setAddress(String address) { this.address = address; } /** * @return Returns the country. */ public String getCountry() { return country; } /** * @param country The country to set. */ public void setCountry(String country) { this.country = country; } /** * @return Returns the zip. */ public String getZip() { return zip; } /** * @param zip The zip to set. */ public void setZip(String zip) { this.zip = zip
public class Address { private Long id; private String address; private String zip; private String country; private Person person; /** * @return Returns the id. */ public Long getId() { return id; } /** * @param id The id to set. */ public void setId(Long id) { this.id = id; } /** * @return Returns the person. */ public Person getPerson() { return person; } /** * @param person The person to set. */ public void setPerson(Person person) { this.person = person; } /** * @return Returns the address. */ public String getAddress() { return address; } /** * @param address The address to set. */ public void setAddress(String address) { this.address = address; } /** * @return Returns the country. */ public String getCountry() { return country; } /** * @param country The country to set. */ public void setCountry(String country) { this.country = country; } /** * @return Returns the zip. */ public String getZip() { return zip; } /** * @param zip The zip to set. */ public void setZip(String zip) { this.zip = zip
Clone fragments detected by clone detection tool
File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/cuk/Address.java File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/propertyref/basic/Address.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class Address implements Serializable {
1
public class Address {
2
	private Long id;
2
	private Long id;
3
	private String address;
3
	private String address;
4
	private String zip;
4
	private String zip;
5
	private String country;
5
	private String country;
6
	private Person person;
6
	private Person person;
7
	/**
7
	/**
8
	 * @return Returns the id.
8
	 * @return Returns the id.
9
	 */
9
	 */
10
	public Long getId() {
10
	public Long getId() {
11
		return id;
11
		return id;
12
	}
12
	}
13
	/**
13
	/**
14
	 * @param id The id to set.
14
	 * @param id The id to set.
15
	 */
15
	 */
16
	public void setId(Long id) {
16
	public void setId(Long id) {
17
		this.id = id;
17
		this.id = id;
18
	}
18
	}
19
	/**
19
	/**
20
	 * @return Returns the person.
20
	 * @return Returns the person.
21
	 */
21
	 */
22
	public Person getPerson() {
22
	public Person getPerson() {
23
		return person;
23
		return person;
24
	}
24
	}
25
	/**
25
	/**
26
	 * @param person The person to set.
26
	 * @param person The person to set.
27
	 */
27
	 */
28
	public void setPerson(Person person) {
28
	public void setPerson(Person person) {
29
		this.person = person;
29
		this.person = person;
30
	}
30
	}
31
	/**
31
	/**
32
	 * @return Returns the address.
32
	 * @return Returns the address.
33
	 */
33
	 */
34
	public String getAddress() {
34
	public String getAddress() {
35
		return address;
35
		return address;
36
	}
36
	}
37
	/**
37
	/**
38
	 * @param address The address to set.
38
	 * @param address The address to set.
39
	 */
39
	 */
40
	public void setAddress(String address) {
40
	public void setAddress(String address) {
41
		this.address = address;
41
		this.address = address;
42
	}
42
	}
43
	/**
43
	/**
44
	 * @return Returns the country.
44
	 * @return Returns the country.
45
	 */
45
	 */
46
	public String getCountry() {
46
	public String getCountry() {
47
		return country;
47
		return country;
48
	}
48
	}
49
	/**
49
	/**
50
	 * @param country The country to set.
50
	 * @param country The country to set.
51
	 */
51
	 */
52
	public void setCountry(String country) {
52
	public void setCountry(String country) {
53
		this.country = country;
53
		this.country = country;
54
	}
54
	}
55
	/**
55
	/**
56
	 * @return Returns the zip.
56
	 * @return Returns the zip.
57
	 */
57
	 */
58
	public String getZip() {
58
	public String getZip() {
59
		return zip;
59
		return zip;
60
	}
60
	}
61
	/**
61
	/**
62
	 * @param zip The zip to set.
62
	 * @param zip The zip to set.
63
	 */
63
	 */
64
	public void setZip(String zip) {
64
	public void setZip(String zip) {
65
		this.zip = zip
65
		this.zip = zip
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