org.jboss.shrinkwrap.descriptor.api.ejbjar32.QueryMethodType Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of shrinkwrap-descriptors-api-javaee Show documentation
Show all versions of shrinkwrap-descriptors-api-javaee Show documentation
Client View of the ShrinkWrap Descriptors Project
The newest version!
package org.jboss.shrinkwrap.descriptor.api.ejbjar32;
import java.util.ArrayList;
import java.util.List;
import org.jboss.shrinkwrap.descriptor.api.Child;
import org.jboss.shrinkwrap.descriptor.api.ejbjar32.MethodParamsType;
import org.jboss.shrinkwrap.descriptor.api.ejbjar.*;
import org.jboss.shrinkwrap.descriptor.api.ejbjar.JavaeeQueryMethodCommonType;
import org.jboss.shrinkwrap.descriptor.api.ejbjar32.MethodParamsType;/**
* This interface defines the contract for the query-methodType
xsd type
* @author Ralf Battenfeld
* @author Andrew Lee Rubinger
*/
public interface QueryMethodType extends Child,
JavaeeQueryMethodCommonType,
MethodParamsType>> {
// --------------------------------------------------------------------------------------------------------||
// ClassName: QueryMethodType ElementName: javaee:string ElementType : method-name
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the method-name
element
* @param methodName the value for the element method-name
* @return the current instance of QueryMethodType
*/
public QueryMethodType methodName(String methodName);
/**
* Returns the method-name
element
* @return the node defined for the element method-name
*/
public String getMethodName();
/**
* Removes the method-name
element
* @return the current instance of QueryMethodType
*/
public QueryMethodType removeMethodName();
// --------------------------------------------------------------------------------------------------------||
// ClassName: QueryMethodType ElementName: javaee:method-paramsType ElementType : method-params
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: false
// --------------------------------------------------------------------------------------------------------||
/**
* 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.
* @return a new or existing instance of MethodParamsType>
*/
public MethodParamsType> getOrCreateMethodParams();
/**
* Removes the method-params
element
* @return the current instance of QueryMethodType
*/
public QueryMethodType removeMethodParams();
// --------------------------------------------------------------------------------------------------------||
// ClassName: QueryMethodType 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 QueryMethodType
*/
public QueryMethodType 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 QueryMethodType
*/
public QueryMethodType removeId();
}