Interface ConnectionDefinitionsType<T>

All Superinterfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>
All Known Implementing Classes:
ConnectionDefinitionsTypeImpl

public interface ConnectionDefinitionsType<T> extends org.jboss.shrinkwrap.descriptor.api.Child<T>
This interface defines the contract for the connection-definitionsType xsd type
  • Method Details

    • getOrCreateConnectionDefinition

      ConnectionDefinitionType<ConnectionDefinitionsType<T>> getOrCreateConnectionDefinition()
      If not already created, a new connection-definition element will be created and returned. Otherwise, the first existing connection-definition element will be returned.
      Returns:
      the instance defined for the element connection-definition
    • createConnectionDefinition

      ConnectionDefinitionType<ConnectionDefinitionsType<T>> createConnectionDefinition()
      Creates a new connection-definition element
      Returns:
      the new created instance of ConnectionDefinitionType<ConnectionDefinitionsType>
    • getAllConnectionDefinition

      List<ConnectionDefinitionType<ConnectionDefinitionsType<T>>> getAllConnectionDefinition()
      Returns all connection-definition elements
      Returns:
      list of connection-definition
    • removeAllConnectionDefinition

      ConnectionDefinitionsType<T> removeAllConnectionDefinition()
      Removes all connection-definition elements
      Returns:
      the current instance of ConnectionDefinitionType<ConnectionDefinitionsType>