org.jboss.resourceadapters.api
Interface ConnectionDefinitionsType<T>

All Superinterfaces:
Child<T>
All Known Implementing Classes:
ConnectionDefinitionsTypeImpl

public interface ConnectionDefinitionsType<T>
extends Child<T>

This interface defines the contract for the connection-definitionsType xsd type

Since:
Generation date :2013-01-26T19:27:02.583+01:00
Author:
Ralf Battenfeld, Andrew Lee Rubinger

Method Summary
 ConnectionDefintionType<ConnectionDefinitionsType<T>> createConnectionDefinition()
          Creates a new connection-definition element
 List<ConnectionDefintionType<ConnectionDefinitionsType<T>>> getAllConnectionDefinition()
          Returns all connection-definition elements
 ConnectionDefintionType<ConnectionDefinitionsType<T>> getOrCreateConnectionDefinition()
          If not already created, a new connection-definition element will be created and returned.
 ConnectionDefinitionsType<T> removeAllConnectionDefinition()
          Removes all connection-definition elements
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

getOrCreateConnectionDefinition

ConnectionDefintionType<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

ConnectionDefintionType<ConnectionDefinitionsType<T>> createConnectionDefinition()
Creates a new connection-definition element

Returns:
the new created instance of ConnectionDefintionType>

getAllConnectionDefinition

List<ConnectionDefintionType<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 ConnectionDefintionType>


Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.