public class EntityProxy<T extends RawEntity<K>,K> extends Object implements InvocationHandler
Constructor and Description |
---|
EntityProxy(EntityManager manager,
Class<T> type,
K key) |
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() |
public EntityProxy(EntityManager manager, Class<T> type, K key)
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()
Copyright © 2007-2012. All Rights Reserved.