org.jboss.shrinkwrap.descriptor.api.javaeewebservicesclient14.ServiceRefType 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.javaeewebservicesclient14;
import java.util.ArrayList;
import java.util.List;
import org.jboss.shrinkwrap.descriptor.api.Child;
import org.jboss.shrinkwrap.descriptor.api.javaeewebservicesclient14.PortComponentRefType;
import org.jboss.shrinkwrap.descriptor.api.javaeewebservicesclient14.HandlerType;
import org.jboss.shrinkwrap.descriptor.api.javaeewebservicesclient14.HandlerChainsType;
import org.jboss.shrinkwrap.descriptor.api.javaee7.IconType;
import org.jboss.shrinkwrap.descriptor.api.javaee7.InjectionTargetType;
/**
* This interface defines the contract for the service-refType
xsd type
* @author Ralf Battenfeld
* @author Andrew Lee Rubinger
*/
public interface ServiceRefType extends Child {
// --------------------------------------------------------------------------------------------------------||
// ClassName: ServiceRefType 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 ServiceRefType
*/
public ServiceRefType description(String ... values);
/**
* Returns all description
elements
* @return list of description
*/
public List getAllDescription();
/**
* Removes the description
element
* @return the current instance of ServiceRefType
*/
public ServiceRefType removeAllDescription();
// --------------------------------------------------------------------------------------------------------||
// ClassName: ServiceRefType ElementName: xsd:token ElementType : display-name
// MaxOccurs: -unbounded isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Creates for all String objects representing display-name
elements,
* a new display-name
element
* @param values list of display-name
objects
* @return the current instance of ServiceRefType
*/
public ServiceRefType displayName(String ... values);
/**
* Returns all display-name
elements
* @return list of display-name
*/
public List getAllDisplayName();
/**
* Removes the display-name
element
* @return the current instance of ServiceRefType
*/
public ServiceRefType removeAllDisplayName();
// --------------------------------------------------------------------------------------------------------||
// ClassName: ServiceRefType ElementName: javaee:iconType ElementType : icon
// MaxOccurs: -unbounded isGeneric: true isAttribute: false isEnum: false isDataType: false
// --------------------------------------------------------------------------------------------------------||
/**
* If not already created, a new icon
element will be created and returned.
* Otherwise, the first existing icon
element will be returned.
* @return the instance defined for the element icon
*/
public IconType> getOrCreateIcon();
/**
* Creates a new icon
element
* @return the new created instance of IconType>
*/
public IconType> createIcon();
/**
* Returns all icon
elements
* @return list of icon
*/
public List>> getAllIcon();
/**
* Removes all icon
elements
* @return the current instance of IconType>
*/
public ServiceRefType removeAllIcon();
// --------------------------------------------------------------------------------------------------------||
// ClassName: ServiceRefType ElementName: xsd:string ElementType : lookup-name
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the lookup-name
element
* @param lookupName the value for the element lookup-name
* @return the current instance of ServiceRefType
*/
public ServiceRefType lookupName(String lookupName);
/**
* Returns the lookup-name
element
* @return the node defined for the element lookup-name
*/
public String getLookupName();
/**
* Removes the lookup-name
element
* @return the current instance of ServiceRefType
*/
public ServiceRefType removeLookupName();
// --------------------------------------------------------------------------------------------------------||
// ClassName: ServiceRefType ElementName: xsd:string ElementType : mapped-name
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the mapped-name
element
* @param mappedName the value for the element mapped-name
* @return the current instance of ServiceRefType
*/
public ServiceRefType mappedName(String mappedName);
/**
* Returns the mapped-name
element
* @return the node defined for the element mapped-name
*/
public String getMappedName();
/**
* Removes the mapped-name
element
* @return the current instance of ServiceRefType
*/
public ServiceRefType removeMappedName();
// --------------------------------------------------------------------------------------------------------||
// ClassName: ServiceRefType ElementName: javaee:injection-targetType ElementType : injection-target
// MaxOccurs: -unbounded isGeneric: true isAttribute: false isEnum: false isDataType: false
// --------------------------------------------------------------------------------------------------------||
/**
* If not already created, a new injection-target
element will be created and returned.
* Otherwise, the first existing injection-target
element will be returned.
* @return the instance defined for the element injection-target
*/
public InjectionTargetType> getOrCreateInjectionTarget();
/**
* Creates a new injection-target
element
* @return the new created instance of InjectionTargetType>
*/
public InjectionTargetType> createInjectionTarget();
/**
* Returns all injection-target
elements
* @return list of injection-target
*/
public List>> getAllInjectionTarget();
/**
* Removes all injection-target
elements
* @return the current instance of InjectionTargetType>
*/
public ServiceRefType removeAllInjectionTarget();
// --------------------------------------------------------------------------------------------------------||
// ClassName: ServiceRefType ElementName: xsd:token ElementType : service-ref-name
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the service-ref-name
element
* @param serviceRefName the value for the element service-ref-name
* @return the current instance of ServiceRefType
*/
public ServiceRefType serviceRefName(String serviceRefName);
/**
* Returns the service-ref-name
element
* @return the node defined for the element service-ref-name
*/
public String getServiceRefName();
/**
* Removes the service-ref-name
element
* @return the current instance of ServiceRefType
*/
public ServiceRefType removeServiceRefName();
// --------------------------------------------------------------------------------------------------------||
// ClassName: ServiceRefType ElementName: xsd:token ElementType : service-interface
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the service-interface
element
* @param serviceInterface the value for the element service-interface
* @return the current instance of ServiceRefType
*/
public ServiceRefType serviceInterface(String serviceInterface);
/**
* Returns the service-interface
element
* @return the node defined for the element service-interface
*/
public String getServiceInterface();
/**
* Removes the service-interface
element
* @return the current instance of ServiceRefType
*/
public ServiceRefType removeServiceInterface();
// --------------------------------------------------------------------------------------------------------||
// ClassName: ServiceRefType ElementName: xsd:token ElementType : service-ref-type
// MaxOccurs: -1 isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the service-ref-type
element
* @param serviceRefType the value for the element service-ref-type
* @return the current instance of ServiceRefType
*/
public ServiceRefType serviceRefType(String serviceRefType);
/**
* Returns the service-ref-type
element
* @return the node defined for the element service-ref-type
*/
public String getServiceRefType();
/**
* Removes the service-ref-type
element
* @return the current instance of ServiceRefType
*/
public ServiceRefType removeServiceRefType();
// --------------------------------------------------------------------------------------------------------||
// ClassName: ServiceRefType ElementName: xsd:anyURI ElementType : wsdl-file
// MaxOccurs: -1 isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the wsdl-file
element
* @param wsdlFile the value for the element wsdl-file
* @return the current instance of ServiceRefType
*/
public ServiceRefType wsdlFile(String wsdlFile);
/**
* Returns the wsdl-file
element
* @return the node defined for the element wsdl-file
*/
public String getWsdlFile();
/**
* Removes the wsdl-file
element
* @return the current instance of ServiceRefType
*/
public ServiceRefType removeWsdlFile();
// --------------------------------------------------------------------------------------------------------||
// ClassName: ServiceRefType ElementName: xsd:token ElementType : jaxrpc-mapping-file
// MaxOccurs: -1 isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the jaxrpc-mapping-file
element
* @param jaxrpcMappingFile the value for the element jaxrpc-mapping-file
* @return the current instance of ServiceRefType
*/
public ServiceRefType jaxrpcMappingFile(String jaxrpcMappingFile);
/**
* Returns the jaxrpc-mapping-file
element
* @return the node defined for the element jaxrpc-mapping-file
*/
public String getJaxrpcMappingFile();
/**
* Removes the jaxrpc-mapping-file
element
* @return the current instance of ServiceRefType
*/
public ServiceRefType removeJaxrpcMappingFile();
// --------------------------------------------------------------------------------------------------------||
// ClassName: ServiceRefType ElementName: xsd:QName ElementType : service-qname
// MaxOccurs: -1 isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the service-qname
element
* @param serviceQname the value for the element service-qname
* @return the current instance of ServiceRefType
*/
public ServiceRefType serviceQname(String serviceQname);
/**
* Returns the service-qname
element
* @return the node defined for the element service-qname
*/
public String getServiceQname();
/**
* Removes the service-qname
element
* @return the current instance of ServiceRefType
*/
public ServiceRefType removeServiceQname();
// --------------------------------------------------------------------------------------------------------||
// ClassName: ServiceRefType ElementName: javaee:port-component-refType ElementType : port-component-ref
// MaxOccurs: -unbounded isGeneric: true isAttribute: false isEnum: false isDataType: false
// --------------------------------------------------------------------------------------------------------||
/**
* If not already created, a new port-component-ref
element will be created and returned.
* Otherwise, the first existing port-component-ref
element will be returned.
* @return the instance defined for the element port-component-ref
*/
public PortComponentRefType> getOrCreatePortComponentRef();
/**
* Creates a new port-component-ref
element
* @return the new created instance of PortComponentRefType>
*/
public PortComponentRefType> createPortComponentRef();
/**
* Returns all port-component-ref
elements
* @return list of port-component-ref
*/
public List>> getAllPortComponentRef();
/**
* Removes all port-component-ref
elements
* @return the current instance of PortComponentRefType>
*/
public ServiceRefType removeAllPortComponentRef();
// --------------------------------------------------------------------------------------------------------||
// ClassName: ServiceRefType ElementName: javaee: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 HandlerType> getOrCreateHandler();
/**
* Creates a new handler
element
* @return the new created instance of HandlerType>
*/
public HandlerType> createHandler();
/**
* Returns all handler
elements
* @return list of handler
*/
public List>> getAllHandler();
/**
* Removes all handler
elements
* @return the current instance of HandlerType>
*/
public ServiceRefType removeAllHandler();
// --------------------------------------------------------------------------------------------------------||
// ClassName: ServiceRefType ElementName: javaee:handler-chainsType ElementType : handler-chains
// MaxOccurs: -1 isGeneric: true isAttribute: false isEnum: false isDataType: false
// --------------------------------------------------------------------------------------------------------||
/**
* If not already created, a new handler-chains
element with the given value will be created.
* Otherwise, the existing handler-chains
element will be returned.
* @return a new or existing instance of HandlerChainsType>
*/
public HandlerChainsType> getOrCreateHandlerChains();
/**
* Removes the handler-chains
element
* @return the current instance of ServiceRefType
*/
public ServiceRefType removeHandlerChains();
// --------------------------------------------------------------------------------------------------------||
// ClassName: ServiceRefType 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 ServiceRefType
*/
public ServiceRefType 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 ServiceRefType
*/
public ServiceRefType removeId();
}