Package net.java.ao
Class EntityProxy<T extends RawEntity<K>,K>
java.lang.Object
net.java.ao.EntityProxy<T,K>
- All Implemented Interfaces:
InvocationHandler
- Author:
- Daniel Spiewak
-
Method Summary
Modifier and TypeMethodDescriptionvoid
boolean
boolean
equalsImpl
(RawEntity<K> proxy, Object obj) getKey()
int
hashCode()
int
void
void
protected void
updateValues
(Map<String, Object> updatedValues) Thread safely update the values with those provided.
-
Method Details
-
invoke
- Specified by:
invoke
in interfaceInvocationHandler
- Throws:
Throwable
-
getKey
-
save
- Throws:
SQLException
-
addPropertyChangeListener
-
removePropertyChangeListener
-
hashCodeImpl
public int hashCodeImpl() -
equalsImpl
-
toStringImpl
-
equals
-
hashCode
public int hashCode() -
updateValues
Thread safely update the values with those provided. This is only used byEntityManager.find(Class, String, Query)
, which should really move the leave the population of this class to itself.- Parameters:
updatedValues
- mandatory
-