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 Detail

      • 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
      • removeAllConnectionDefinition

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