org.ow2.util.ee.metadata.ejbjar.api.xml.struct
Interface IRemoveMethod

All Superinterfaces:
Serializable

public interface IRemoveMethod
extends Serializable

Interface for element remove-method.

Author:
Florent Benoit

Field Summary
static String NAME
          Name of this element.
 
Method Summary
 IMethodDD getMethod()
           
 Boolean getRetainIfException()
           
 void setMethod(IMethodDD method)
          Sets the method of the bean which needs to be marked.
 void setRetainIfException(boolean retainIfException)
          If there is an exception, the bean should be kept or not.
 

Field Detail

NAME

static final String NAME
Name of this element.

See Also:
Constant Field Values
Method Detail

setMethod

void setMethod(IMethodDD method)
Sets the method of the bean which needs to be marked.

Parameters:
method - the method to use

getMethod

IMethodDD getMethod()
Returns:
the method that will be used as a remove method

setRetainIfException

void setRetainIfException(boolean retainIfException)
If there is an exception, the bean should be kept or not.

Parameters:
retainIfException - true to keep, or false to remove

getRetainIfException

Boolean getRetainIfException()
Returns:
the flag to know if when there is an exception, the bean should be kept or not. It returns null if it was not set.


Copyright © 2007-2012 OW2 Consortium. All Rights Reserved.