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

org.jboss.shrinkwrap.descriptor.api.connector15.ConnectionDefinitionType Maven / Gradle / Ivy

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

import java.util.ArrayList;
import java.util.List;
import org.jboss.shrinkwrap.descriptor.api.Child;
import org.jboss.shrinkwrap.descriptor.api.connector15.ConfigPropertyType;
import org.jboss.shrinkwrap.descriptor.api.connector.*;
import org.jboss.shrinkwrap.descriptor.api.connector.JeeConnectionDefinitionCommonType;

import org.jboss.shrinkwrap.descriptor.api.connector15.ConfigPropertyType;/**
 * This interface defines the contract for the  connection-definitionType  xsd type 
 * @author Ralf Battenfeld
 * @author Andrew Lee Rubinger
 * @author George Gastaldi
 */
public interface ConnectionDefinitionType extends Child, 
    JeeConnectionDefinitionCommonType,
    ConfigPropertyType>> { 

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: ConnectionDefinitionType ElementName: xsd:token ElementType : managedconnectionfactory-class
   // MaxOccurs: -  isGeneric: true   isAttribute: false isEnum: false isDataType: true
   // --------------------------------------------------------------------------------------------------------||

   /**
    * Sets the managedconnectionfactory-class element
    * @param managedconnectionfactoryClass the value for the element managedconnectionfactory-class 
    * @return the current instance of ConnectionDefinitionType 
    */
   public ConnectionDefinitionType managedconnectionfactoryClass(String managedconnectionfactoryClass);

   /**
    * Returns the managedconnectionfactory-class element
    * @return the node defined for the element managedconnectionfactory-class 
    */
   public String getManagedconnectionfactoryClass();

   /**
    * Removes the managedconnectionfactory-class element 
    * @return the current instance of ConnectionDefinitionType 
    */
   public ConnectionDefinitionType removeManagedconnectionfactoryClass();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: ConnectionDefinitionType ElementName: j2ee:config-propertyType ElementType : config-property
   // MaxOccurs: -unbounded  isGeneric: true   isAttribute: false isEnum: false isDataType: false
   // --------------------------------------------------------------------------------------------------------||

   /**
    * If not already created, a new config-property element will be created and returned.
    * Otherwise, the first existing config-property element will be returned.
    * @return the instance defined for the element config-property 
    */
   public ConfigPropertyType> getOrCreateConfigProperty();

   /**
    * Creates a new config-property element 
    * @return the new created instance of ConfigPropertyType> 
    */
   public ConfigPropertyType> createConfigProperty();

   /**
    * Returns all config-property elements
    * @return list of config-property 
    */
   public List>> getAllConfigProperty();

   /**
    * Removes all config-property elements 
    * @return the current instance of ConfigPropertyType> 
    */
   public ConnectionDefinitionType removeAllConfigProperty();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: ConnectionDefinitionType ElementName: xsd:token ElementType : connectionfactory-interface
   // MaxOccurs: -  isGeneric: true   isAttribute: false isEnum: false isDataType: true
   // --------------------------------------------------------------------------------------------------------||

   /**
    * Sets the connectionfactory-interface element
    * @param connectionfactoryInterface the value for the element connectionfactory-interface 
    * @return the current instance of ConnectionDefinitionType 
    */
   public ConnectionDefinitionType connectionfactoryInterface(String connectionfactoryInterface);

   /**
    * Returns the connectionfactory-interface element
    * @return the node defined for the element connectionfactory-interface 
    */
   public String getConnectionfactoryInterface();

   /**
    * Removes the connectionfactory-interface element 
    * @return the current instance of ConnectionDefinitionType 
    */
   public ConnectionDefinitionType removeConnectionfactoryInterface();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: ConnectionDefinitionType ElementName: xsd:token ElementType : connectionfactory-impl-class
   // MaxOccurs: -  isGeneric: true   isAttribute: false isEnum: false isDataType: true
   // --------------------------------------------------------------------------------------------------------||

   /**
    * Sets the connectionfactory-impl-class element
    * @param connectionfactoryImplClass the value for the element connectionfactory-impl-class 
    * @return the current instance of ConnectionDefinitionType 
    */
   public ConnectionDefinitionType connectionfactoryImplClass(String connectionfactoryImplClass);

   /**
    * Returns the connectionfactory-impl-class element
    * @return the node defined for the element connectionfactory-impl-class 
    */
   public String getConnectionfactoryImplClass();

   /**
    * Removes the connectionfactory-impl-class element 
    * @return the current instance of ConnectionDefinitionType 
    */
   public ConnectionDefinitionType removeConnectionfactoryImplClass();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: ConnectionDefinitionType ElementName: xsd:token ElementType : connection-interface
   // MaxOccurs: -  isGeneric: true   isAttribute: false isEnum: false isDataType: true
   // --------------------------------------------------------------------------------------------------------||

   /**
    * Sets the connection-interface element
    * @param connectionInterface the value for the element connection-interface 
    * @return the current instance of ConnectionDefinitionType 
    */
   public ConnectionDefinitionType connectionInterface(String connectionInterface);

   /**
    * Returns the connection-interface element
    * @return the node defined for the element connection-interface 
    */
   public String getConnectionInterface();

   /**
    * Removes the connection-interface element 
    * @return the current instance of ConnectionDefinitionType 
    */
   public ConnectionDefinitionType removeConnectionInterface();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: ConnectionDefinitionType ElementName: xsd:token ElementType : connection-impl-class
   // MaxOccurs: -  isGeneric: true   isAttribute: false isEnum: false isDataType: true
   // --------------------------------------------------------------------------------------------------------||

   /**
    * Sets the connection-impl-class element
    * @param connectionImplClass the value for the element connection-impl-class 
    * @return the current instance of ConnectionDefinitionType 
    */
   public ConnectionDefinitionType connectionImplClass(String connectionImplClass);

   /**
    * Returns the connection-impl-class element
    * @return the node defined for the element connection-impl-class 
    */
   public String getConnectionImplClass();

   /**
    * Removes the connection-impl-class element 
    * @return the current instance of ConnectionDefinitionType 
    */
   public ConnectionDefinitionType removeConnectionImplClass();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: ConnectionDefinitionType 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 ConnectionDefinitionType 
    */
   public ConnectionDefinitionType 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 ConnectionDefinitionType 
    */
   public ConnectionDefinitionType removeId();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy