org.kuali.rice.krad.data.jpa
Class IdClassBase
java.lang.Object
org.kuali.rice.krad.data.jpa.IdClassBase
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- ComponentId, CountyId, DocumentTypePolicyId, EntityTypeContactInfoBo.EntityTypeContactInfoBoId, ParameterId, PostalCodeId, SessionDocumentId, StateId, UserOptionsId
public abstract class IdClassBase
- extends Object
- implements Serializable
A base class for creating ID class implementations for JPA.
These ID classes are required to have proper equals and hashcode method implementations, so this base class provides
reflection-based defaults for both of those as well as toString.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
- See Also:
IdClass
,
Serialized Form
IdClassBase
public IdClassBase()
hashCode
public int hashCode()
-
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
-
- Overrides:
equals
in class Object
toString
public String toString()
-
- Overrides:
toString
in class Object
Copyright © 2005–2014 The Kuali Foundation. All rights reserved.