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