org.jboss.shrinkwrap.descriptor.api.ejbjar30.RemoveMethodType Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of shrinkwrap-descriptors-api-javaee Show documentation
Show all versions of shrinkwrap-descriptors-api-javaee Show documentation
Client View of the ShrinkWrap Descriptors Project
The newest version!
package org.jboss.shrinkwrap.descriptor.api.ejbjar30;
import java.util.ArrayList;
import java.util.List;
import org.jboss.shrinkwrap.descriptor.api.Child;
import org.jboss.shrinkwrap.descriptor.api.ejbjar30.NamedMethodType;
import org.jboss.shrinkwrap.descriptor.api.ejbjar.*;
import org.jboss.shrinkwrap.descriptor.api.ejbjar.JavaeeRemoveMethodCommonType;
import org.jboss.shrinkwrap.descriptor.api.ejbjar30.NamedMethodType;/**
* This interface defines the contract for the remove-methodType
xsd type
* @author Ralf Battenfeld
* @author Andrew Lee Rubinger
* @author George Gastaldi
*/
public interface RemoveMethodType extends Child,
JavaeeRemoveMethodCommonType,
NamedMethodType>> {
// --------------------------------------------------------------------------------------------------------||
// ClassName: RemoveMethodType ElementName: javaee:named-methodType ElementType : bean-method
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: false
// --------------------------------------------------------------------------------------------------------||
/**
* If not already created, a new bean-method
element with the given value will be created.
* Otherwise, the existing bean-method
element will be returned.
* @return a new or existing instance of NamedMethodType>
*/
public NamedMethodType> getOrCreateBeanMethod();
/**
* Removes the bean-method
element
* @return the current instance of RemoveMethodType
*/
public RemoveMethodType removeBeanMethod();
// --------------------------------------------------------------------------------------------------------||
// ClassName: RemoveMethodType ElementName: xsd:boolean ElementType : retain-if-exception
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the retain-if-exception
element
* @param retainIfException the value for the element retain-if-exception
* @return the current instance of RemoveMethodType
*/
public RemoveMethodType retainIfException(Boolean retainIfException);
/**
* Returns the retain-if-exception
element
* @return the node defined for the element retain-if-exception
*/
public Boolean isRetainIfException();
/**
* Removes the retain-if-exception
element
* @return the current instance of RemoveMethodType
*/
public RemoveMethodType removeRetainIfException();
// --------------------------------------------------------------------------------------------------------||
// ClassName: RemoveMethodType ElementName: xsd:ID ElementType : id
// MaxOccurs: - isGeneric: true isAttribute: true isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the id
attribute
* @param id the value for the attribute id
* @return the current instance of RemoveMethodType
*/
public RemoveMethodType id(String id);
/**
* Returns the id
attribute
* @return the value defined for the attribute id
*/
public String getId();
/**
* Removes the id
attribute
* @return the current instance of RemoveMethodType
*/
public RemoveMethodType removeId();
}