All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jboss.shrinkwrap.descriptor.api.j2eewebservicesclient11.ServiceRefType Maven / Gradle / Ivy

package org.jboss.shrinkwrap.descriptor.api.j2eewebservicesclient11; 

import java.util.ArrayList;
import java.util.List;
import org.jboss.shrinkwrap.descriptor.api.Child;
import org.jboss.shrinkwrap.descriptor.api.j2eewebservicesclient11.PortComponentRefType;
import org.jboss.shrinkwrap.descriptor.api.j2eewebservicesclient11.ServiceRefHandlerType;
import org.jboss.shrinkwrap.descriptor.api.j2ee14.IconType;
/**
 * This interface defines the contract for the  service-refType  xsd type 
 * @author Ralf Battenfeld
 * @author Andrew Lee Rubinger
 * @author George Gastaldi
 */
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: j2ee: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: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: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: j2ee: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: j2ee: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 ServiceRefType removeAllHandler();

 
   // --------------------------------------------------------------------------------------------------------||
   // 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();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy