Class ConnectionDefinitionTypeImpl<T>
java.lang.Object
org.jboss.shrinkwrap.descriptor.impl.connector16.ConnectionDefinitionTypeImpl<T>
- All Implemented Interfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>,ConnectionDefinitionType<T>
public class ConnectionDefinitionTypeImpl<T>
extends Object
implements org.jboss.shrinkwrap.descriptor.api.Child<T>, ConnectionDefinitionType<T>
This class implements the
connection-definitionType xsd type-
Constructor Summary
ConstructorsConstructorDescriptionConnectionDefinitionTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node) ConnectionDefinitionTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node, org.jboss.shrinkwrap.descriptor.spi.node.Node childNode) -
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-classelementup()
-
Constructor Details
-
ConnectionDefinitionTypeImpl
-
ConnectionDefinitionTypeImpl
-
-
Method Details
-
up
- Specified by:
upin interfaceorg.jboss.shrinkwrap.descriptor.api.Child<T>
-
managedconnectionfactoryClass
public ConnectionDefinitionType<T> managedconnectionfactoryClass(String managedconnectionfactoryClass) Sets themanagedconnectionfactory-classelement- Specified by:
managedconnectionfactoryClassin interfaceConnectionDefinitionType<T>- Parameters:
managedconnectionfactoryClass- the value for the elementmanagedconnectionfactory-class- Returns:
- the current instance of
ConnectionDefinitionType
-
getManagedconnectionfactoryClass
Returns themanagedconnectionfactory-classelement- Specified by:
getManagedconnectionfactoryClassin interfaceConnectionDefinitionType<T>- Returns:
- the node defined for the element
managedconnectionfactory-class
-
removeManagedconnectionfactoryClass
Removes themanagedconnectionfactory-classelement- Specified by:
removeManagedconnectionfactoryClassin interfaceConnectionDefinitionType<T>- Returns:
- the current instance of
ConnectionDefinitionType
-
getOrCreateConfigProperty
If not already created, a newconfig-propertyelement will be created and returned. Otherwise, the first existingconfig-propertyelement will be returned.- Specified by:
getOrCreateConfigPropertyin interfaceConnectionDefinitionType<T>- Returns:
- the instance defined for the element
config-property
-
createConfigProperty
Creates a newconfig-propertyelement- Specified by:
createConfigPropertyin interfaceConnectionDefinitionType<T>- Returns:
- the new created instance of
ConfigPropertyType<ConnectionDefinitionType>
-
getAllConfigProperty
Returns allconfig-propertyelements- Specified by:
getAllConfigPropertyin interfaceConnectionDefinitionType<T>- Returns:
- list of
config-property
-
removeAllConfigProperty
Removes allconfig-propertyelements- Specified by:
removeAllConfigPropertyin interfaceConnectionDefinitionType<T>- Returns:
- the current instance of
ConfigPropertyType<ConnectionDefinitionType>
-
connectionfactoryInterface
Sets theconnectionfactory-interfaceelement- Specified by:
connectionfactoryInterfacein interfaceConnectionDefinitionType<T>- Parameters:
connectionfactoryInterface- the value for the elementconnectionfactory-interface- Returns:
- the current instance of
ConnectionDefinitionType
-
getConnectionfactoryInterface
Returns theconnectionfactory-interfaceelement- Specified by:
getConnectionfactoryInterfacein interfaceConnectionDefinitionType<T>- Returns:
- the node defined for the element
connectionfactory-interface
-
removeConnectionfactoryInterface
Removes theconnectionfactory-interfaceelement- Specified by:
removeConnectionfactoryInterfacein interfaceConnectionDefinitionType<T>- Returns:
- the current instance of
ConnectionDefinitionType
-
connectionfactoryImplClass
Sets theconnectionfactory-impl-classelement- Specified by:
connectionfactoryImplClassin interfaceConnectionDefinitionType<T>- Parameters:
connectionfactoryImplClass- the value for the elementconnectionfactory-impl-class- Returns:
- the current instance of
ConnectionDefinitionType
-
getConnectionfactoryImplClass
Returns theconnectionfactory-impl-classelement- Specified by:
getConnectionfactoryImplClassin interfaceConnectionDefinitionType<T>- Returns:
- the node defined for the element
connectionfactory-impl-class
-
removeConnectionfactoryImplClass
Removes theconnectionfactory-impl-classelement- Specified by:
removeConnectionfactoryImplClassin interfaceConnectionDefinitionType<T>- Returns:
- the current instance of
ConnectionDefinitionType
-
connectionInterface
Sets theconnection-interfaceelement- Specified by:
connectionInterfacein interfaceConnectionDefinitionType<T>- Parameters:
connectionInterface- the value for the elementconnection-interface- Returns:
- the current instance of
ConnectionDefinitionType
-
getConnectionInterface
Returns theconnection-interfaceelement- Specified by:
getConnectionInterfacein interfaceConnectionDefinitionType<T>- Returns:
- the node defined for the element
connection-interface
-
removeConnectionInterface
Removes theconnection-interfaceelement- Specified by:
removeConnectionInterfacein interfaceConnectionDefinitionType<T>- Returns:
- the current instance of
ConnectionDefinitionType
-
connectionImplClass
Sets theconnection-impl-classelement- Specified by:
connectionImplClassin interfaceConnectionDefinitionType<T>- Parameters:
connectionImplClass- the value for the elementconnection-impl-class- Returns:
- the current instance of
ConnectionDefinitionType
-
getConnectionImplClass
Returns theconnection-impl-classelement- Specified by:
getConnectionImplClassin interfaceConnectionDefinitionType<T>- Returns:
- the node defined for the element
connection-impl-class
-
removeConnectionImplClass
Removes theconnection-impl-classelement- Specified by:
removeConnectionImplClassin interfaceConnectionDefinitionType<T>- Returns:
- the current instance of
ConnectionDefinitionType
-
id
Sets theidattribute- Specified by:
idin interfaceConnectionDefinitionType<T>- Parameters:
id- the value for the attributeid- Returns:
- the current instance of
ConnectionDefinitionType
-
getId
Returns theidattribute- Specified by:
getIdin interfaceConnectionDefinitionType<T>- Returns:
- the value defined for the attribute
id
-
removeId
Removes theidattribute- Specified by:
removeIdin interfaceConnectionDefinitionType<T>- Returns:
- the current instance of
ConnectionDefinitionType
-