org.jboss.shrinkwrap.descriptor.api.ejbjar31.MethodParamsType Maven / Gradle / Ivy
package org.jboss.shrinkwrap.descriptor.api.ejbjar31;
import java.util.ArrayList;
import java.util.List;
import org.jboss.shrinkwrap.descriptor.api.Child;
import org.jboss.shrinkwrap.descriptor.api.ejbjar.*;
import org.jboss.shrinkwrap.descriptor.api.ejbjar.JavaeeMethodParamsCommonType;
/**
* This interface defines the contract for the method-paramsType
xsd type
* @author Ralf Battenfeld
* @author Andrew Lee Rubinger
* @author George Gastaldi
*/
public interface MethodParamsType extends Child,
JavaeeMethodParamsCommonType> {
// --------------------------------------------------------------------------------------------------------||
// ClassName: MethodParamsType ElementName: xsd:token ElementType : method-param
// MaxOccurs: -unbounded isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Creates for all String objects representing method-param
elements,
* a new method-param
element
* @param values list of method-param
objects
* @return the current instance of MethodParamsType
*/
public MethodParamsType methodParam(String ... values);
/**
* Returns all method-param
elements
* @return list of method-param
*/
public List getAllMethodParam();
/**
* Removes the method-param
element
* @return the current instance of MethodParamsType
*/
public MethodParamsType removeAllMethodParam();
// --------------------------------------------------------------------------------------------------------||
// ClassName: MethodParamsType ElementName: xsd:ID ElementType : id
// MaxOccurs: - isGeneric: true isAttribute: true isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the id
attribute
* @param id the value for the attribute id
* @return the current instance of MethodParamsType
*/
public MethodParamsType id(String id);
/**
* Returns the id
attribute
* @return the value defined for the attribute id
*/
public String getId();
/**
* Removes the id
attribute
* @return the current instance of MethodParamsType
*/
public MethodParamsType removeId();
}