ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

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

All Superinterfaces:
Child<T>

public interface NamedMethodType<T>
extends Child<T>

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

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

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

Method Detail

methodName

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

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

getMethodName

String getMethodName()
Returns the method-name element

Returns:
the node defined for the element method-name

removeMethodName

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

Returns:
the current instance of NamedMethodType

getOrCreateMethodParams

MethodParamsType<NamedMethodType<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

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

Returns:
the current instance of NamedMethodType

ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

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