Package org.apache.cayenne.map
Class CallbackDescriptor
java.lang.Object
org.apache.cayenne.map.CallbackDescriptor
- All Implemented Interfaces:
- Serializable
A mapping descriptor of a single callback event.
- Since:
- 3.0
- See Also:
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddCallbackMethod(String methodName) voidclear()Removes all callback methods.Returns all callback methods for this callback event.booleanmoveMethod(String callbackMethod, int destinationIndex) Moves specified callback method to the specified positionvoidremoveCallbackMethod(String methodName) voidsetCallbackMethodAt(int index, String method) Replaces a callback method at the specified position
- 
Field Details- 
callbackType
- 
callbackMethods
 
- 
- 
Constructor Details- 
CallbackDescriptor
 
- 
- 
Method Details- 
clearpublic void clear()Removes all callback methods.
- 
getCallbackMethodsReturns all callback methods for this callback event.- Returns:
- Returns all callback methods
 
- 
addCallbackMethod
- 
removeCallbackMethod
- 
getCallbackType
- 
moveMethodMoves specified callback method to the specified position- Parameters:
- callbackMethod- callbacm method name (should exist)
- destinationIndex- destinationi index (should be valid)
- Returns:
- true if any changes were made
 
- 
setCallbackMethodAtReplaces a callback method at the specified position- Parameters:
- index- callback method index
- method- new callback method
 
 
-