public class ConnectionDefinitionTypeImpl<T> extends Object implements org.jboss.shrinkwrap.descriptor.api.Child<T>, ConnectionDefinitionType<T>
connection-definitionType xsd type| Constructor and Description |
|---|
ConnectionDefinitionTypeImpl(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) |
| Modifier and Type | Method and Description |
|---|---|
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 |
T |
up() |
public ConnectionDefinitionTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node)
public ConnectionDefinitionType<T> managedconnectionfactoryClass(String managedconnectionfactoryClass)
managedconnectionfactory-class elementmanagedconnectionfactoryClass in interface ConnectionDefinitionType<T>managedconnectionfactoryClass - the value for the element managedconnectionfactory-classConnectionDefinitionTypepublic String getManagedconnectionfactoryClass()
managedconnectionfactory-class elementgetManagedconnectionfactoryClass in interface ConnectionDefinitionType<T>managedconnectionfactory-classpublic ConnectionDefinitionType<T> removeManagedconnectionfactoryClass()
managedconnectionfactory-class elementremoveManagedconnectionfactoryClass in interface ConnectionDefinitionType<T>ConnectionDefinitionTypepublic ConfigPropertyType<ConnectionDefinitionType<T>> getOrCreateConfigProperty()
config-property element will be created and returned.
Otherwise, the first existing config-property element will be returned.getOrCreateConfigProperty in interface ConnectionDefinitionType<T>config-propertypublic ConfigPropertyType<ConnectionDefinitionType<T>> createConfigProperty()
config-property elementcreateConfigProperty in interface ConnectionDefinitionType<T>ConfigPropertyType> public List<ConfigPropertyType<ConnectionDefinitionType<T>>> getAllConfigProperty()
config-property elementsgetAllConfigProperty in interface ConnectionDefinitionType<T>config-propertypublic ConnectionDefinitionType<T> removeAllConfigProperty()
config-property elementsremoveAllConfigProperty in interface ConnectionDefinitionType<T>ConfigPropertyType> public ConnectionDefinitionType<T> connectionfactoryInterface(String connectionfactoryInterface)
connectionfactory-interface elementconnectionfactoryInterface in interface ConnectionDefinitionType<T>connectionfactoryInterface - the value for the element connectionfactory-interfaceConnectionDefinitionTypepublic String getConnectionfactoryInterface()
connectionfactory-interface elementgetConnectionfactoryInterface in interface ConnectionDefinitionType<T>connectionfactory-interfacepublic ConnectionDefinitionType<T> removeConnectionfactoryInterface()
connectionfactory-interface elementremoveConnectionfactoryInterface in interface ConnectionDefinitionType<T>ConnectionDefinitionTypepublic ConnectionDefinitionType<T> connectionfactoryImplClass(String connectionfactoryImplClass)
connectionfactory-impl-class elementconnectionfactoryImplClass in interface ConnectionDefinitionType<T>connectionfactoryImplClass - the value for the element connectionfactory-impl-classConnectionDefinitionTypepublic String getConnectionfactoryImplClass()
connectionfactory-impl-class elementgetConnectionfactoryImplClass in interface ConnectionDefinitionType<T>connectionfactory-impl-classpublic ConnectionDefinitionType<T> removeConnectionfactoryImplClass()
connectionfactory-impl-class elementremoveConnectionfactoryImplClass in interface ConnectionDefinitionType<T>ConnectionDefinitionTypepublic ConnectionDefinitionType<T> connectionInterface(String connectionInterface)
connection-interface elementconnectionInterface in interface ConnectionDefinitionType<T>connectionInterface - the value for the element connection-interfaceConnectionDefinitionTypepublic String getConnectionInterface()
connection-interface elementgetConnectionInterface in interface ConnectionDefinitionType<T>connection-interfacepublic ConnectionDefinitionType<T> removeConnectionInterface()
connection-interface elementremoveConnectionInterface in interface ConnectionDefinitionType<T>ConnectionDefinitionTypepublic ConnectionDefinitionType<T> connectionImplClass(String connectionImplClass)
connection-impl-class elementconnectionImplClass in interface ConnectionDefinitionType<T>connectionImplClass - the value for the element connection-impl-classConnectionDefinitionTypepublic String getConnectionImplClass()
connection-impl-class elementgetConnectionImplClass in interface ConnectionDefinitionType<T>connection-impl-classpublic ConnectionDefinitionType<T> removeConnectionImplClass()
connection-impl-class elementremoveConnectionImplClass in interface ConnectionDefinitionType<T>ConnectionDefinitionTypepublic ConnectionDefinitionType<T> id(String id)
id attributeid in interface ConnectionDefinitionType<T>id - the value for the attribute idConnectionDefinitionTypepublic String getId()
id attributegetId in interface ConnectionDefinitionType<T>idpublic ConnectionDefinitionType<T> removeId()
id attributeremoveId in interface ConnectionDefinitionType<T>ConnectionDefinitionTypeCopyright © 2021 JBoss by Red Hat. All rights reserved.