1 package org.kuali.rice.core.api.mo; 2 3 /** 4 * Complete model objects in rice override {@link #equals(Object)}, {@link #hashCode()}, 5 * in addition to what is defined in the ModelObjectBasic interface. 6 * 7 * An example of a "Complete" Model object are the immutable transfer object 8 * that rice uses in it's service APIs. 9 */ 10 public interface ModelObjectComplete extends ModelObjectBasic { 11 12 /** 13 * All "Complete" model object's should adhere to the {@link #equals(Object)} contract. 14 * 15 * @param o to object to compare for equality 16 * @return if equal 17 */ 18 @Override 19 boolean equals(Object o); 20 21 /** 22 * All "Complete" model object's should adhere to the {@link #hashCode()} contract. 23 * 24 * @return the hashCode value 25 */ 26 @Override 27 int hashCode(); 28 }