net.java.ao
Class EntityProxy<T extends RawEntity<K>,K>
java.lang.Object
net.java.ao.EntityProxy<T,K>
- All Implemented Interfaces:
- InvocationHandler
public class EntityProxy<T extends RawEntity<K>,K>
- extends Object
- implements InvocationHandler
- Author:
- Daniel Spiewak
EntityProxy
public EntityProxy(EntityManager manager,
Class<T> type,
K key)
invoke
public Object invoke(Object proxy,
Method method,
Object[] args)
throws Throwable
- Specified by:
invoke
in interface InvocationHandler
- Throws:
Throwable
getKey
public K getKey()
save
public void save(RawEntity entity)
throws SQLException
- Throws:
SQLException
addPropertyChangeListener
public void addPropertyChangeListener(PropertyChangeListener listener)
removePropertyChangeListener
public void removePropertyChangeListener(PropertyChangeListener listener)
hashCodeImpl
public int hashCodeImpl()
equalsImpl
public boolean equalsImpl(RawEntity<K> proxy,
Object obj)
toStringImpl
public String toStringImpl()
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
Copyright © 2007-2011. All Rights Reserved.