Interface ConnectionDefinitionType<T>
- All Superinterfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>
- All Known Implementing Classes:
ConnectionDefinitionTypeImpl
public interface ConnectionDefinitionType<T>
extends org.jboss.shrinkwrap.descriptor.api.Child<T>
This interface defines the contract for the
connection-definitionType xsd type-
Method Summary
Modifier and TypeMethodDescriptionconnectionfactoryImplClass(String connectionfactoryImplClass) Sets theconnectionfactory-impl-classelementconnectionfactoryInterface(String connectionfactoryInterface) Sets theconnectionfactory-interfaceelementconnectionImplClass(String connectionImplClass) Sets theconnection-impl-classelementconnectionInterface(String connectionInterface) Sets theconnection-interfaceelementCreates a newconfig-propertyelementReturns allconfig-propertyelementsReturns theconnectionfactory-impl-classelementReturns theconnectionfactory-interfaceelementReturns theconnection-impl-classelementReturns theconnection-interfaceelementgetId()Returns theidattributeReturns themanagedconnectionfactory-classelementIf not already created, a newconfig-propertyelement will be created and returned.Sets theidattributemanagedconnectionfactoryClass(String managedconnectionfactoryClass) Sets themanagedconnectionfactory-classelementRemoves allconfig-propertyelementsRemoves theconnectionfactory-impl-classelementRemoves theconnectionfactory-interfaceelementRemoves theconnection-impl-classelementRemoves theconnection-interfaceelementremoveId()Removes theidattributeRemoves themanagedconnectionfactory-classelementMethods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
-
Method Details
-
managedconnectionfactoryClass
Sets themanagedconnectionfactory-classelement- Parameters:
managedconnectionfactoryClass- the value for the elementmanagedconnectionfactory-class- Returns:
- the current instance of
ConnectionDefinitionType
-
getManagedconnectionfactoryClass
String getManagedconnectionfactoryClass()Returns themanagedconnectionfactory-classelement- Returns:
- the node defined for the element
managedconnectionfactory-class
-
removeManagedconnectionfactoryClass
ConnectionDefinitionType<T> removeManagedconnectionfactoryClass()Removes themanagedconnectionfactory-classelement- Returns:
- the current instance of
ConnectionDefinitionType
-
getOrCreateConfigProperty
ConfigPropertyType<ConnectionDefinitionType<T>> getOrCreateConfigProperty()If not already created, a newconfig-propertyelement will be created and returned. Otherwise, the first existingconfig-propertyelement will be returned.- Returns:
- the instance defined for the element
config-property
-
createConfigProperty
ConfigPropertyType<ConnectionDefinitionType<T>> createConfigProperty()Creates a newconfig-propertyelement- Returns:
- the new created instance of
ConfigPropertyType<ConnectionDefinitionType>
-
getAllConfigProperty
List<ConfigPropertyType<ConnectionDefinitionType<T>>> getAllConfigProperty()Returns allconfig-propertyelements- Returns:
- list of
config-property
-
removeAllConfigProperty
ConnectionDefinitionType<T> removeAllConfigProperty()Removes allconfig-propertyelements- Returns:
- the current instance of
ConfigPropertyType<ConnectionDefinitionType>
-
connectionfactoryInterface
Sets theconnectionfactory-interfaceelement- Parameters:
connectionfactoryInterface- the value for the elementconnectionfactory-interface- Returns:
- the current instance of
ConnectionDefinitionType
-
getConnectionfactoryInterface
String getConnectionfactoryInterface()Returns theconnectionfactory-interfaceelement- Returns:
- the node defined for the element
connectionfactory-interface
-
removeConnectionfactoryInterface
ConnectionDefinitionType<T> removeConnectionfactoryInterface()Removes theconnectionfactory-interfaceelement- Returns:
- the current instance of
ConnectionDefinitionType
-
connectionfactoryImplClass
Sets theconnectionfactory-impl-classelement- Parameters:
connectionfactoryImplClass- the value for the elementconnectionfactory-impl-class- Returns:
- the current instance of
ConnectionDefinitionType
-
getConnectionfactoryImplClass
String getConnectionfactoryImplClass()Returns theconnectionfactory-impl-classelement- Returns:
- the node defined for the element
connectionfactory-impl-class
-
removeConnectionfactoryImplClass
ConnectionDefinitionType<T> removeConnectionfactoryImplClass()Removes theconnectionfactory-impl-classelement- Returns:
- the current instance of
ConnectionDefinitionType
-
connectionInterface
Sets theconnection-interfaceelement- Parameters:
connectionInterface- the value for the elementconnection-interface- Returns:
- the current instance of
ConnectionDefinitionType
-
getConnectionInterface
String getConnectionInterface()Returns theconnection-interfaceelement- Returns:
- the node defined for the element
connection-interface
-
removeConnectionInterface
ConnectionDefinitionType<T> removeConnectionInterface()Removes theconnection-interfaceelement- Returns:
- the current instance of
ConnectionDefinitionType
-
connectionImplClass
Sets theconnection-impl-classelement- Parameters:
connectionImplClass- the value for the elementconnection-impl-class- Returns:
- the current instance of
ConnectionDefinitionType
-
getConnectionImplClass
String getConnectionImplClass()Returns theconnection-impl-classelement- Returns:
- the node defined for the element
connection-impl-class
-
removeConnectionImplClass
ConnectionDefinitionType<T> removeConnectionImplClass()Removes theconnection-impl-classelement- Returns:
- the current instance of
ConnectionDefinitionType
-
id
Sets theidattribute- Parameters:
id- the value for the attributeid- Returns:
- the current instance of
ConnectionDefinitionType
-
getId
String getId()Returns theidattribute- Returns:
- the value defined for the attribute
id
-
removeId
ConnectionDefinitionType<T> removeId()Removes theidattribute- Returns:
- the current instance of
ConnectionDefinitionType
-