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

## org.apache.cayenne.map
Class CallbackDescriptor

    java.lang.Object
      org.apache.cayenne.map.CallbackDescriptor

All Implemented Interfaces:
  Serializable

    public class CallbackDescriptor

extends Object
implements Serializable

A mapping descriptor of a single callback event.

Since:
  3.0
Author:
  Andrus Adamchik
See Also:
  Serialized Form

Field Summary
`protected Set` | `callbackMethods`
`protected int` | `callbackType`

Constructor Summary
`CallbackDescriptor(int callbackType)`

Method Summary
`void` | `addCallbackMethod(String methodName)`
`void` | `clear()` Removes all callback methods.
`Collection` | `getCallbackMethods()` Returns all callback methods for this callback event.
`int` | `getCallbackType()`
`void` | `removeCallbackMethod(String methodName)`

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

Field Detail

### callbackType

    protected int callbackType

### callbackMethods

    protected Set callbackMethods

Constructor Detail

### CallbackDescriptor

    public CallbackDescriptor(int callbackType)

Method Detail

### clear

    public void clear()

  Removes all callback methods.

### getCallbackMethods

    public Collection getCallbackMethods()

  Returns all callback methods for this callback event.

### addCallbackMethod

    public void addCallbackMethod(String methodName)

### removeCallbackMethod

    public void removeCallbackMethod(String methodName)

### getCallbackType

    public int getCallbackType()

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 © 2001-2007 Apache Cayenne. All Rights Reserved.