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

All Superinterfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>
All Known Implementing Classes:
NamedMethodTypeImpl

public interface NamedMethodType<T>
extends org.jboss.shrinkwrap.descriptor.api.Child<T>

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

Since:
Generation date :2011-07-19T22:55:02.759+02:00
Author:
Ralf Battenfeld

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

Method Detail

setMethodName

NamedMethodType<T> setMethodName(java.lang.String methodName)
If not already created, a new method-name element with the given value will be created. Otherwise, the existing method-name element will be updated with the given value.

Returns:
the current instance of NamedMethodType

removeMethodName

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

Returns:
the current instance of NamedMethodType

getMethodName

java.lang.String getMethodName()
Returns the method-name element

Returns:
the node defined for the element method-name

removeMethodParams

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

Returns:
the current instance of NamedMethodType

methodParams

MethodParamsType<NamedMethodType<T>> methodParams()
If not already created, a new method-params element will be created and returned. Otherwise, the existing method-params element will be returned.

Returns:
the node defined for the element method-params