org.jboss.shrinkwrap.descriptor.api.ejbjar32.ExcludeListType Maven / Gradle / Ivy
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.MethodType;
import org.jboss.shrinkwrap.descriptor.api.ejbjar.*;
import org.jboss.shrinkwrap.descriptor.api.ejbjar.JavaeeExcludeListCommonType;
import org.jboss.shrinkwrap.descriptor.api.ejbjar32.MethodType;/**
* This interface defines the contract for the exclude-listType
xsd type
* @author Ralf Battenfeld
* @author Andrew Lee Rubinger
*/
public interface ExcludeListType extends Child,
JavaeeExcludeListCommonType,
MethodType>> {
// --------------------------------------------------------------------------------------------------------||
// ClassName: ExcludeListType ElementName: xsd:string ElementType : description
// MaxOccurs: -unbounded isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Creates for all String objects representing description
elements,
* a new description
element
* @param values list of description
objects
* @return the current instance of ExcludeListType
*/
public ExcludeListType description(String ... values);
/**
* Returns all description
elements
* @return list of description
*/
public List getAllDescription();
/**
* Removes the description
element
* @return the current instance of ExcludeListType
*/
public ExcludeListType removeAllDescription();
// --------------------------------------------------------------------------------------------------------||
// ClassName: ExcludeListType ElementName: javaee:methodType ElementType : method
// MaxOccurs: -unbounded isGeneric: true isAttribute: false isEnum: false isDataType: false
// --------------------------------------------------------------------------------------------------------||
/**
* If not already created, a new method
element will be created and returned.
* Otherwise, the first existing method
element will be returned.
* @return the instance defined for the element method
*/
public MethodType> getOrCreateMethod();
/**
* Creates a new method
element
* @return the new created instance of MethodType>
*/
public MethodType> createMethod();
/**
* Returns all method
elements
* @return list of method
*/
public List>> getAllMethod();
/**
* Removes all method
elements
* @return the current instance of MethodType>
*/
public ExcludeListType removeAllMethod();
// --------------------------------------------------------------------------------------------------------||
// ClassName: ExcludeListType 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 ExcludeListType
*/
public ExcludeListType 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 ExcludeListType
*/
public ExcludeListType removeId();
}