org.jboss.shrinkwrap.descriptor.api.javaeewebservicesclient12.ServiceRefHandlerChainsType Maven / Gradle / Ivy
package org.jboss.shrinkwrap.descriptor.api.javaeewebservicesclient12;
import java.util.ArrayList;
import java.util.List;
import org.jboss.shrinkwrap.descriptor.api.Child;
import org.jboss.shrinkwrap.descriptor.api.javaeewebservicesclient12.ServiceRefHandlerChainType;
/**
* This interface defines the contract for the service-ref_handler-chainsType
xsd type
* @author Ralf Battenfeld
* @author Andrew Lee Rubinger
* @author George Gastaldi
*/
public interface ServiceRefHandlerChainsType extends Child {
// --------------------------------------------------------------------------------------------------------||
// ClassName: ServiceRefHandlerChainsType ElementName: javaee:service-ref_handler-chainType ElementType : handler-chain
// MaxOccurs: -unbounded isGeneric: true isAttribute: false isEnum: false isDataType: false
// --------------------------------------------------------------------------------------------------------||
/**
* If not already created, a new handler-chain
element will be created and returned.
* Otherwise, the first existing handler-chain
element will be returned.
* @return the instance defined for the element handler-chain
*/
public ServiceRefHandlerChainType> getOrCreateHandlerChain();
/**
* Creates a new handler-chain
element
* @return the new created instance of ServiceRefHandlerChainType>
*/
public ServiceRefHandlerChainType> createHandlerChain();
/**
* Returns all handler-chain
elements
* @return list of handler-chain
*/
public List>> getAllHandlerChain();
/**
* Removes all handler-chain
elements
* @return the current instance of ServiceRefHandlerChainType>
*/
public ServiceRefHandlerChainsType removeAllHandlerChain();
// --------------------------------------------------------------------------------------------------------||
// ClassName: ServiceRefHandlerChainsType 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 ServiceRefHandlerChainsType
*/
public ServiceRefHandlerChainsType 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 ServiceRefHandlerChainsType
*/
public ServiceRefHandlerChainsType removeId();
}