ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

org.jboss.shrinkwrap.descriptor.api.ejbjar31
Interface AsyncMethodType<T>

All Superinterfaces:
Child<T>

public interface AsyncMethodType<T>
extends Child<T>

This interface defines the contract for the async-methodType xsd type

Since:
Generation date :2012-05-09T23:45:05.33-07:00
Author:
Ralf Battenfeld, Andrew Lee Rubinger

Method Summary
 String getMethodName()
          Returns the method-name element
 MethodParamsType<AsyncMethodType<T>> getOrCreateMethodParams()
          If not already created, a new method-params element with the given value will be created.
 AsyncMethodType<T> methodName(String methodName)
          Sets the method-name element
 AsyncMethodType<T> removeMethodName()
          Removes the method-name element
 AsyncMethodType<T> removeMethodParams()
          Removes the method-params element
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

methodName

AsyncMethodType<T> methodName(String methodName)
Sets the method-name element

Parameters:
methodName - the value for the element method-name
Returns:
the current instance of AsyncMethodType

getMethodName

String getMethodName()
Returns the method-name element

Returns:
the node defined for the element method-name

removeMethodName

AsyncMethodType<T> removeMethodName()
Removes the method-name element

Returns:
the current instance of AsyncMethodType

getOrCreateMethodParams

MethodParamsType<AsyncMethodType<T>> getOrCreateMethodParams()
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.

Returns:
a new or existing instance of MethodParamsType>

removeMethodParams

AsyncMethodType<T> removeMethodParams()
Removes the method-params element

Returns:
the current instance of AsyncMethodType

ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.