ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

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

All Superinterfaces:
Child<T>

public interface MethodType<T>
extends Child<T>

This interface defines the contract for the methodType xsd type

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

Method Summary
 MethodType<T> description(String... values)
          Creates for all String objects representing description elements, a new description element
 MethodType<T> ejbName(String ejbName)
          Sets the ejb-name element
 List<String> getAllDescription()
          Returns all description elements
 String getEjbName()
          Returns the ejb-name element
 MethodIntfType getMethodIntf()
          Returns the method-intf element
 String getMethodIntfAsString()
          Returns the method-intf element
 String getMethodName()
          Returns the method-name element
 MethodParamsType<MethodType<T>> getOrCreateMethodParams()
          If not already created, a new method-params element with the given value will be created.
 MethodType<T> methodIntf(MethodIntfType methodIntf)
          Sets the method-intf element
 MethodType<T> methodIntf(String methodIntf)
          Sets the method-intf element
 MethodType<T> methodName(String methodName)
          Sets the method-name element
 MethodType<T> removeAllDescription()
          Removes the description element
 MethodType<T> removeEjbName()
          Removes the ejb-name element
 MethodType<T> removeMethodIntf()
          Removes the method-intf attribute
 MethodType<T> removeMethodName()
          Removes the method-name element
 MethodType<T> removeMethodParams()
          Removes the method-params element
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

description

MethodType<T> description(String... values)
Creates for all String objects representing description elements, a new description element

Parameters:
values - list of description objects
Returns:
the current instance of MethodType

getAllDescription

List<String> getAllDescription()
Returns all description elements

Returns:
list of description

removeAllDescription

MethodType<T> removeAllDescription()
Removes the description element

Returns:
the current instance of MethodType

ejbName

MethodType<T> ejbName(String ejbName)
Sets the ejb-name element

Parameters:
ejbName - the value for the element ejb-name
Returns:
the current instance of MethodType

getEjbName

String getEjbName()
Returns the ejb-name element

Returns:
the node defined for the element ejb-name

removeEjbName

MethodType<T> removeEjbName()
Removes the ejb-name element

Returns:
the current instance of MethodType

methodIntf

MethodType<T> methodIntf(MethodIntfType methodIntf)
Sets the method-intf element

Parameters:
methodIntf - the value for the element method-intf
Returns:
the current instance of MethodType

methodIntf

MethodType<T> methodIntf(String methodIntf)
Sets the method-intf element

Parameters:
methodIntf - the value for the element method-intf
Returns:
the current instance of MethodType

getMethodIntf

MethodIntfType getMethodIntf()
Returns the method-intf element

Returns:
the value found for the element method-intf

getMethodIntfAsString

String getMethodIntfAsString()
Returns the method-intf element

Returns:
the value found for the element method-intf

removeMethodIntf

MethodType<T> removeMethodIntf()
Removes the method-intf attribute

Returns:
the current instance of MethodType

methodName

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

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

getMethodName

String getMethodName()
Returns the method-name element

Returns:
the node defined for the element method-name

removeMethodName

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

Returns:
the current instance of MethodType

getOrCreateMethodParams

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

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

Returns:
the current instance of MethodType

ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

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