org.jboss.shrinkwrap.descriptor.api.ejbjar32.AsyncMethodType 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.ejbjar32;
import java.util.ArrayList;
import java.util.List;
import org.jboss.shrinkwrap.descriptor.api.Child;
import org.jboss.shrinkwrap.descriptor.api.ejbjar32.MethodParamsType;
import org.jboss.shrinkwrap.descriptor.api.ejbjar.*;
import org.jboss.shrinkwrap.descriptor.api.ejbjar.JavaeeAsyncMethodCommonType;
import org.jboss.shrinkwrap.descriptor.api.ejbjar32.MethodParamsType;/**
* This interface defines the contract for the async-methodType
xsd type
* @author Ralf Battenfeld
* @author Andrew Lee Rubinger
*/
public interface AsyncMethodType extends Child,
JavaeeAsyncMethodCommonType,
MethodParamsType>> {
// --------------------------------------------------------------------------------------------------------||
// ClassName: AsyncMethodType ElementName: xsd:token ElementType : method-name
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the method-name
element
* @param methodName the value for the element method-name
* @return the current instance of AsyncMethodType
*/
public AsyncMethodType methodName(String methodName);
/**
* Returns the method-name
element
* @return the node defined for the element method-name
*/
public String getMethodName();
/**
* Removes the method-name
element
* @return the current instance of AsyncMethodType
*/
public AsyncMethodType removeMethodName();
// --------------------------------------------------------------------------------------------------------||
// ClassName: AsyncMethodType ElementName: javaee:method-paramsType ElementType : method-params
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: false
// --------------------------------------------------------------------------------------------------------||
/**
* If not already created, a new method-params
element with the given value will be created.
* Otherwise, the existing method-params
element will be returned.
* @return a new or existing instance of MethodParamsType>
*/
public MethodParamsType> getOrCreateMethodParams();
/**
* Removes the method-params
element
* @return the current instance of AsyncMethodType
*/
public AsyncMethodType removeMethodParams();
// --------------------------------------------------------------------------------------------------------||
// ClassName: AsyncMethodType 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 AsyncMethodType
*/
public AsyncMethodType 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 AsyncMethodType
*/
public AsyncMethodType removeId();
}