public class EntityProxy<T extends RawEntity<K>,K>
extends java.lang.Object
implements java.lang.reflect.InvocationHandler
| Modifier and Type | Method and Description |
|---|---|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener) |
boolean |
equals(java.lang.Object obj) |
boolean |
equalsImpl(RawEntity<K> proxy,
java.lang.Object obj) |
K |
getKey() |
int |
hashCode() |
int |
hashCodeImpl() |
java.lang.Object |
invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args) |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener) |
void |
save(RawEntity entity) |
java.lang.String |
toStringImpl() |
protected void |
updateValues(java.util.Map<java.lang.String,java.lang.Object> updatedValues)
Thread safely update the values with those provided.
|
public java.lang.Object invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args)
throws java.lang.Throwable
invoke in interface java.lang.reflect.InvocationHandlerjava.lang.Throwablepublic K getKey()
public void save(RawEntity entity) throws java.sql.SQLException
java.sql.SQLExceptionpublic void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
public int hashCodeImpl()
public java.lang.String toStringImpl()
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectprotected void updateValues(java.util.Map<java.lang.String,java.lang.Object> updatedValues)
EntityManager.find(Class, String, Query), which should really move
the leave the population of this class to itself.updatedValues - mandatoryCopyright © 2007-2018. All Rights Reserved.