Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

Constructor Summary
`EntityProxy(EntityManager manager, Class<T> type, K key)`

Method Summary
`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()`

Methods inherited from class java.lang.Object
`clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### EntityProxy

    public EntityProxy(EntityManager manager,
                       Class<T> type,
                       K key)

Method Detail

### 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`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2007-2011. All Rights Reserved.