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

All Superinterfaces:
Child<T>

public interface MethodParamsType<T>
extends Child<T>

This interface defines the contract for the method-paramsType xsd type

Since:
Generation date :2013-01-26T19:26:59.858+01:00
Author:
Ralf Battenfeld, Andrew Lee Rubinger

Method Summary
 List<String> getAllMethodParam()
          Returns all method-param elements
 String getId()
          Returns the id attribute
 MethodParamsType<T> id(String id)
          Sets the id attribute
 MethodParamsType<T> methodParam(String... values)
          Creates for all String objects representing method-param elements, a new method-param element
 MethodParamsType<T> removeAllMethodParam()
          Removes the method-param element
 MethodParamsType<T> removeId()
          Removes the id attribute
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

methodParam

MethodParamsType<T> methodParam(String... values)
Creates for all String objects representing method-param elements, a new method-param element

Parameters:
values - list of method-param objects
Returns:
the current instance of MethodParamsType

getAllMethodParam

List<String> getAllMethodParam()
Returns all method-param elements

Returns:
list of method-param

removeAllMethodParam

MethodParamsType<T> removeAllMethodParam()
Removes the method-param element

Returns:
the current instance of MethodParamsType

id

MethodParamsType<T> id(String id)
Sets the id attribute

Parameters:
id - the value for the attribute id
Returns:
the current instance of MethodParamsType

getId

String getId()
Returns the id attribute

Returns:
the value defined for the attribute id

removeId

MethodParamsType<T> removeId()
Removes the id attribute

Returns:
the current instance of MethodParamsType


Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.