ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

org.jboss.shrinkwrap.descriptor.api.connector16
Interface ConnectionDefinitionType<T>

All Superinterfaces:
Child<T>

public interface ConnectionDefinitionType<T>
extends Child<T>

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

Since:
Generation date :2012-05-09T23:45:05.33-07:00
Author:
Ralf Battenfeld, Andrew Lee Rubinger

Method Summary
 ConnectionDefinitionType<T> connectionfactoryImplClass(String connectionfactoryImplClass)
          Sets the connectionfactory-impl-class element
 ConnectionDefinitionType<T> connectionfactoryInterface(String connectionfactoryInterface)
          Sets the connectionfactory-interface element
 ConnectionDefinitionType<T> connectionImplClass(String connectionImplClass)
          Sets the connection-impl-class element
 ConnectionDefinitionType<T> connectionInterface(String connectionInterface)
          Sets the connection-interface element
 ConfigPropertyType<ConnectionDefinitionType<T>> createConfigProperty()
          Creates a new config-property element
 List<ConfigPropertyType<ConnectionDefinitionType<T>>> getAllConfigProperty()
          Returns all config-property elements
 String getConnectionfactoryImplClass()
          Returns the connectionfactory-impl-class element
 String getConnectionfactoryInterface()
          Returns the connectionfactory-interface element
 String getConnectionImplClass()
          Returns the connection-impl-class element
 String getConnectionInterface()
          Returns the connection-interface element
 String getManagedconnectionfactoryClass()
          Returns the managedconnectionfactory-class element
 ConfigPropertyType<ConnectionDefinitionType<T>> getOrCreateConfigProperty()
          If not already created, a new config-property element will be created and returned.
 ConnectionDefinitionType<T> managedconnectionfactoryClass(String managedconnectionfactoryClass)
          Sets the managedconnectionfactory-class element
 ConnectionDefinitionType<T> removeAllConfigProperty()
          Removes all config-property elements
 ConnectionDefinitionType<T> removeConnectionfactoryImplClass()
          Removes the connectionfactory-impl-class element
 ConnectionDefinitionType<T> removeConnectionfactoryInterface()
          Removes the connectionfactory-interface element
 ConnectionDefinitionType<T> removeConnectionImplClass()
          Removes the connection-impl-class element
 ConnectionDefinitionType<T> removeConnectionInterface()
          Removes the connection-interface element
 ConnectionDefinitionType<T> removeManagedconnectionfactoryClass()
          Removes the managedconnectionfactory-class element
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

managedconnectionfactoryClass

ConnectionDefinitionType<T> managedconnectionfactoryClass(String managedconnectionfactoryClass)
Sets the managedconnectionfactory-class element

Parameters:
managedconnectionfactoryClass - the value for the element managedconnectionfactory-class
Returns:
the current instance of ConnectionDefinitionType

getManagedconnectionfactoryClass

String getManagedconnectionfactoryClass()
Returns the managedconnectionfactory-class element

Returns:
the node defined for the element managedconnectionfactory-class

removeManagedconnectionfactoryClass

ConnectionDefinitionType<T> removeManagedconnectionfactoryClass()
Removes the managedconnectionfactory-class element

Returns:
the current instance of ConnectionDefinitionType

getOrCreateConfigProperty

ConfigPropertyType<ConnectionDefinitionType<T>> getOrCreateConfigProperty()
If not already created, a new config-property element will be created and returned. Otherwise, the first existing config-property element will be returned.

Returns:
the instance defined for the element config-property

createConfigProperty

ConfigPropertyType<ConnectionDefinitionType<T>> createConfigProperty()
Creates a new config-property element

Returns:
the new created instance of ConfigPropertyType>

getAllConfigProperty

List<ConfigPropertyType<ConnectionDefinitionType<T>>> getAllConfigProperty()
Returns all config-property elements

Returns:
list of config-property

removeAllConfigProperty

ConnectionDefinitionType<T> removeAllConfigProperty()
Removes all config-property elements

Returns:
the current instance of ConfigPropertyType>

connectionfactoryInterface

ConnectionDefinitionType<T> connectionfactoryInterface(String connectionfactoryInterface)
Sets the connectionfactory-interface element

Parameters:
connectionfactoryInterface - the value for the element connectionfactory-interface
Returns:
the current instance of ConnectionDefinitionType

getConnectionfactoryInterface

String getConnectionfactoryInterface()
Returns the connectionfactory-interface element

Returns:
the node defined for the element connectionfactory-interface

removeConnectionfactoryInterface

ConnectionDefinitionType<T> removeConnectionfactoryInterface()
Removes the connectionfactory-interface element

Returns:
the current instance of ConnectionDefinitionType

connectionfactoryImplClass

ConnectionDefinitionType<T> connectionfactoryImplClass(String connectionfactoryImplClass)
Sets the connectionfactory-impl-class element

Parameters:
connectionfactoryImplClass - the value for the element connectionfactory-impl-class
Returns:
the current instance of ConnectionDefinitionType

getConnectionfactoryImplClass

String getConnectionfactoryImplClass()
Returns the connectionfactory-impl-class element

Returns:
the node defined for the element connectionfactory-impl-class

removeConnectionfactoryImplClass

ConnectionDefinitionType<T> removeConnectionfactoryImplClass()
Removes the connectionfactory-impl-class element

Returns:
the current instance of ConnectionDefinitionType

connectionInterface

ConnectionDefinitionType<T> connectionInterface(String connectionInterface)
Sets the connection-interface element

Parameters:
connectionInterface - the value for the element connection-interface
Returns:
the current instance of ConnectionDefinitionType

getConnectionInterface

String getConnectionInterface()
Returns the connection-interface element

Returns:
the node defined for the element connection-interface

removeConnectionInterface

ConnectionDefinitionType<T> removeConnectionInterface()
Removes the connection-interface element

Returns:
the current instance of ConnectionDefinitionType

connectionImplClass

ConnectionDefinitionType<T> connectionImplClass(String connectionImplClass)
Sets the connection-impl-class element

Parameters:
connectionImplClass - the value for the element connection-impl-class
Returns:
the current instance of ConnectionDefinitionType

getConnectionImplClass

String getConnectionImplClass()
Returns the connection-impl-class element

Returns:
the node defined for the element connection-impl-class

removeConnectionImplClass

ConnectionDefinitionType<T> removeConnectionImplClass()
Removes the connection-impl-class element

Returns:
the current instance of ConnectionDefinitionType

ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.