org.jboss.shrinkwrap.descriptor.api.connector15
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 :2013-01-26T19:26:58.316+01: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 getId()
          Returns the id attribute
 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> id(String id)
          Sets the id attribute
 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> removeId()
          Removes the id attribute
 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

id

ConnectionDefinitionType<T> id(String id)
Sets the id attribute

Parameters:
id - the value for the attribute id
Returns:
the current instance of ConnectionDefinitionType

getId

String getId()
Returns the id attribute

Returns:
the value defined for the attribute id

removeId

ConnectionDefinitionType<T> removeId()
Removes the id attribute

Returns:
the current instance of ConnectionDefinitionType


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