org.jboss.jca.embedded.dsl.datasources12.api

## Interface DriversType<T>

- All Superinterfaces:
    org.jboss.shrinkwrap.descriptor.api.Child<T>

      public interface DriversType<T>
      extends org.jboss.shrinkwrap.descriptor.api.Child<T>

  This interface defines the contract for the `driversType` xsd type

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `DriverType<DriversType<T>>` | `createDriver()` Creates a new `driver` element
    `java.util.List<DriverType<DriversType<T>>>` | `getAllDriver()` Returns all `driver` elements
    `DriverType<DriversType<T>>` | `getOrCreateDriver()` If not already created, a new `driver` element will be created and returned.
    `DriversType<T>` | `removeAllDriver()` Removes all `driver` elements

    - ### Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child

      `up`

- - ### Method Detail

    - #### getOrCreateDriver

          DriverType<DriversType<T>> getOrCreateDriver()

      If not already created, a new `driver` element will be created and returned. Otherwise, the first existing `driver` element will be returned.
      Returns:
        the instance defined for the element `driver`

    - #### createDriver

          DriverType<DriversType<T>> createDriver()

      Creates a new `driver` element
      Returns:
        the new created instance of `DriverType>`

    - #### getAllDriver

          java.util.List<DriverType<DriversType<T>>> getAllDriver()

      Returns all `driver` elements
      Returns:
        list of `driver`

    - #### removeAllDriver

          DriversType<T> removeAllDriver()

      Removes all `driver` elements
      Returns:
        the current instance of `DriverType>`

Copyright © 2014 IronJacamar (http://www.ironjacamar.org)