org.jboss.shrinkwrap.descriptor.api.ejbjar31.InterceptorBindingType 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.ejbjar31;
import java.util.ArrayList;
import java.util.List;
import org.jboss.shrinkwrap.descriptor.api.Child;
import org.jboss.shrinkwrap.descriptor.api.ejbjar31.InterceptorOrderType;
import org.jboss.shrinkwrap.descriptor.api.ejbjar31.NamedMethodType;
import org.jboss.shrinkwrap.descriptor.api.ejbjar.*;
import org.jboss.shrinkwrap.descriptor.api.ejbjar.JavaeeInterceptorBindingCommonType;
import org.jboss.shrinkwrap.descriptor.api.ejbjar31.InterceptorOrderType;
import org.jboss.shrinkwrap.descriptor.api.ejbjar31.NamedMethodType;/**
* This interface defines the contract for the interceptor-bindingType
xsd type
* @author Ralf Battenfeld
* @author Andrew Lee Rubinger
* @author George Gastaldi
*/
public interface InterceptorBindingType extends Child,
JavaeeInterceptorBindingCommonType,
InterceptorOrderType>,
NamedMethodType>> {
// --------------------------------------------------------------------------------------------------------||
// ClassName: InterceptorBindingType 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 InterceptorBindingType
*/
public InterceptorBindingType description(String ... values);
/**
* Returns all description
elements
* @return list of description
*/
public List getAllDescription();
/**
* Removes the description
element
* @return the current instance of InterceptorBindingType
*/
public InterceptorBindingType removeAllDescription();
// --------------------------------------------------------------------------------------------------------||
// ClassName: InterceptorBindingType ElementName: xsd:token ElementType : ejb-name
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the ejb-name
element
* @param ejbName the value for the element ejb-name
* @return the current instance of InterceptorBindingType
*/
public InterceptorBindingType ejbName(String ejbName);
/**
* Returns the ejb-name
element
* @return the node defined for the element ejb-name
*/
public String getEjbName();
/**
* Removes the ejb-name
element
* @return the current instance of InterceptorBindingType
*/
public InterceptorBindingType removeEjbName();
// --------------------------------------------------------------------------------------------------------||
// ClassName: InterceptorBindingType ElementName: xsd:token ElementType : interceptor-class
// MaxOccurs: -unbounded isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Creates for all String objects representing interceptor-class
elements,
* a new interceptor-class
element
* @param values list of interceptor-class
objects
* @return the current instance of InterceptorBindingType
*/
public InterceptorBindingType interceptorClass(String ... values);
/**
* Returns all interceptor-class
elements
* @return list of interceptor-class
*/
public List getAllInterceptorClass();
/**
* Removes the interceptor-class
element
* @return the current instance of InterceptorBindingType
*/
public InterceptorBindingType removeAllInterceptorClass();
// --------------------------------------------------------------------------------------------------------||
// ClassName: InterceptorBindingType ElementName: javaee:interceptor-orderType ElementType : interceptor-order
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: false
// --------------------------------------------------------------------------------------------------------||
/**
* If not already created, a new interceptor-order
element with the given value will be created.
* Otherwise, the existing interceptor-order
element will be returned.
* @return a new or existing instance of InterceptorOrderType>
*/
public InterceptorOrderType> getOrCreateInterceptorOrder();
/**
* Removes the interceptor-order
element
* @return the current instance of InterceptorBindingType
*/
public InterceptorBindingType removeInterceptorOrder();
// --------------------------------------------------------------------------------------------------------||
// ClassName: InterceptorBindingType ElementName: javaee:xsdBooleanType ElementType : exclude-default-interceptors
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the exclude-default-interceptors
element
* @param excludeDefaultInterceptors the value for the element exclude-default-interceptors
* @return the current instance of InterceptorBindingType
*/
public InterceptorBindingType excludeDefaultInterceptors(Boolean excludeDefaultInterceptors);
/**
* Returns the exclude-default-interceptors
element
* @return the node defined for the element exclude-default-interceptors
*/
public Boolean isExcludeDefaultInterceptors();
/**
* Removes the exclude-default-interceptors
element
* @return the current instance of InterceptorBindingType
*/
public InterceptorBindingType removeExcludeDefaultInterceptors();
// --------------------------------------------------------------------------------------------------------||
// ClassName: InterceptorBindingType ElementName: javaee:xsdBooleanType ElementType : exclude-class-interceptors
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the exclude-class-interceptors
element
* @param excludeClassInterceptors the value for the element exclude-class-interceptors
* @return the current instance of InterceptorBindingType
*/
public InterceptorBindingType excludeClassInterceptors(Boolean excludeClassInterceptors);
/**
* Returns the exclude-class-interceptors
element
* @return the node defined for the element exclude-class-interceptors
*/
public Boolean isExcludeClassInterceptors();
/**
* Removes the exclude-class-interceptors
element
* @return the current instance of InterceptorBindingType
*/
public InterceptorBindingType removeExcludeClassInterceptors();
// --------------------------------------------------------------------------------------------------------||
// ClassName: InterceptorBindingType ElementName: javaee:named-methodType ElementType : method
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: false
// --------------------------------------------------------------------------------------------------------||
/**
* If not already created, a new method
element with the given value will be created.
* Otherwise, the existing method
element will be returned.
* @return a new or existing instance of NamedMethodType>
*/
public NamedMethodType> getOrCreateMethod();
/**
* Removes the method
element
* @return the current instance of InterceptorBindingType
*/
public InterceptorBindingType removeMethod();
// --------------------------------------------------------------------------------------------------------||
// ClassName: InterceptorBindingType 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 InterceptorBindingType
*/
public InterceptorBindingType 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 InterceptorBindingType
*/
public InterceptorBindingType removeId();
}