org.jboss.shrinkwrap.descriptor.api.javaeewebservicesclient12.ServiceRefHandlerChainType 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.javaeewebservicesclient12;
import java.util.ArrayList;
import java.util.List;
import org.jboss.shrinkwrap.descriptor.api.Child;
import org.jboss.shrinkwrap.descriptor.api.javaeewebservicesclient12.ServiceRefHandlerType;
/**
* This interface defines the contract for the service-ref_handler-chainType
xsd type
* @author Ralf Battenfeld
* @author Andrew Lee Rubinger
* @author George Gastaldi
*/
public interface ServiceRefHandlerChainType extends Child {
// --------------------------------------------------------------------------------------------------------||
// ClassName: ServiceRefHandlerChainType ElementName: xsd:token ElementType : service-name-pattern
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the service-name-pattern
element
* @param serviceNamePattern the value for the element service-name-pattern
* @return the current instance of ServiceRefHandlerChainType
*/
public ServiceRefHandlerChainType serviceNamePattern(String serviceNamePattern);
/**
* Returns the service-name-pattern
element
* @return the node defined for the element service-name-pattern
*/
public String getServiceNamePattern();
/**
* Removes the service-name-pattern
element
* @return the current instance of ServiceRefHandlerChainType
*/
public ServiceRefHandlerChainType removeServiceNamePattern();
// --------------------------------------------------------------------------------------------------------||
// ClassName: ServiceRefHandlerChainType ElementName: xsd:token ElementType : port-name-pattern
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the port-name-pattern
element
* @param portNamePattern the value for the element port-name-pattern
* @return the current instance of ServiceRefHandlerChainType
*/
public ServiceRefHandlerChainType portNamePattern(String portNamePattern);
/**
* Returns the port-name-pattern
element
* @return the node defined for the element port-name-pattern
*/
public String getPortNamePattern();
/**
* Removes the port-name-pattern
element
* @return the current instance of ServiceRefHandlerChainType
*/
public ServiceRefHandlerChainType removePortNamePattern();
// --------------------------------------------------------------------------------------------------------||
// ClassName: ServiceRefHandlerChainType ElementName: xsd:string ElementType : protocol-bindings
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the protocol-bindings
element
* @param protocolBindings the value for the element protocol-bindings
* @return the current instance of ServiceRefHandlerChainType
*/
public ServiceRefHandlerChainType protocolBindings(String protocolBindings);
/**
* Returns the protocol-bindings
element
* @return the node defined for the element protocol-bindings
*/
public String getProtocolBindings();
/**
* Removes the protocol-bindings
element
* @return the current instance of ServiceRefHandlerChainType
*/
public ServiceRefHandlerChainType removeProtocolBindings();
// --------------------------------------------------------------------------------------------------------||
// ClassName: ServiceRefHandlerChainType ElementName: javaee:service-ref_handlerType ElementType : handler
// MaxOccurs: -unbounded isGeneric: true isAttribute: false isEnum: false isDataType: false
// --------------------------------------------------------------------------------------------------------||
/**
* If not already created, a new handler
element will be created and returned.
* Otherwise, the first existing handler
element will be returned.
* @return the instance defined for the element handler
*/
public ServiceRefHandlerType> getOrCreateHandler();
/**
* Creates a new handler
element
* @return the new created instance of ServiceRefHandlerType>
*/
public ServiceRefHandlerType> createHandler();
/**
* Returns all handler
elements
* @return list of handler
*/
public List>> getAllHandler();
/**
* Removes all handler
elements
* @return the current instance of ServiceRefHandlerType>
*/
public ServiceRefHandlerChainType removeAllHandler();
// --------------------------------------------------------------------------------------------------------||
// ClassName: ServiceRefHandlerChainType 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 ServiceRefHandlerChainType
*/
public ServiceRefHandlerChainType 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 ServiceRefHandlerChainType
*/
public ServiceRefHandlerChainType removeId();
}