1 16 package net.sf.dozer.util.mapping.vo; 17 18 23 public class LoopObjectParentPrime extends BaseTestObject 24 { 25 private String attributePrime; 26 private LoopObjectChildPrime childPrime; 27 28 public String getAttributePrime() { 29 return attributePrime; 30 } 31 32 public void setAttributePrime(String attributePrime) { 33 this.attributePrime = attributePrime; 34 } 35 36 public LoopObjectChildPrime getChildPrime() { 37 return childPrime; 38 } 39 40 public void setChildPrime(LoopObjectChildPrime childPrime) { 41 this.childPrime = childPrime; 42 } 43 44 public int hashCode() { 45 return System.identityHashCode(this); 46 } 47 48 public String toString() { 49 return this.getClass().getName() + "@" + Integer.toHexString(hashCode()); 50 } 51 52 public boolean equals(Object obj) { 53 return hashCode() == obj.hashCode(); 54 } 55 } 56 | Popular Tags |