public class ConnectionDefinitionTypeImpl<T> extends Object implements org.jboss.shrinkwrap.descriptor.api.Child<T>, ConnectionDefinitionType<T>
connection-definitionType
xsd typeConstructor 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-class
ConnectionDefinitionType
public String getManagedconnectionfactoryClass()
managedconnectionfactory-class
elementgetManagedconnectionfactoryClass
in interface ConnectionDefinitionType<T>
managedconnectionfactory-class
public ConnectionDefinitionType<T> removeManagedconnectionfactoryClass()
managedconnectionfactory-class
elementremoveManagedconnectionfactoryClass
in interface ConnectionDefinitionType<T>
ConnectionDefinitionType
public 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-property
public 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-property
public 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-interface
ConnectionDefinitionType
public String getConnectionfactoryInterface()
connectionfactory-interface
elementgetConnectionfactoryInterface
in interface ConnectionDefinitionType<T>
connectionfactory-interface
public ConnectionDefinitionType<T> removeConnectionfactoryInterface()
connectionfactory-interface
elementremoveConnectionfactoryInterface
in interface ConnectionDefinitionType<T>
ConnectionDefinitionType
public ConnectionDefinitionType<T> connectionfactoryImplClass(String connectionfactoryImplClass)
connectionfactory-impl-class
elementconnectionfactoryImplClass
in interface ConnectionDefinitionType<T>
connectionfactoryImplClass
- the value for the element connectionfactory-impl-class
ConnectionDefinitionType
public String getConnectionfactoryImplClass()
connectionfactory-impl-class
elementgetConnectionfactoryImplClass
in interface ConnectionDefinitionType<T>
connectionfactory-impl-class
public ConnectionDefinitionType<T> removeConnectionfactoryImplClass()
connectionfactory-impl-class
elementremoveConnectionfactoryImplClass
in interface ConnectionDefinitionType<T>
ConnectionDefinitionType
public ConnectionDefinitionType<T> connectionInterface(String connectionInterface)
connection-interface
elementconnectionInterface
in interface ConnectionDefinitionType<T>
connectionInterface
- the value for the element connection-interface
ConnectionDefinitionType
public String getConnectionInterface()
connection-interface
elementgetConnectionInterface
in interface ConnectionDefinitionType<T>
connection-interface
public ConnectionDefinitionType<T> removeConnectionInterface()
connection-interface
elementremoveConnectionInterface
in interface ConnectionDefinitionType<T>
ConnectionDefinitionType
public ConnectionDefinitionType<T> connectionImplClass(String connectionImplClass)
connection-impl-class
elementconnectionImplClass
in interface ConnectionDefinitionType<T>
connectionImplClass
- the value for the element connection-impl-class
ConnectionDefinitionType
public String getConnectionImplClass()
connection-impl-class
elementgetConnectionImplClass
in interface ConnectionDefinitionType<T>
connection-impl-class
public ConnectionDefinitionType<T> removeConnectionImplClass()
connection-impl-class
elementremoveConnectionImplClass
in interface ConnectionDefinitionType<T>
ConnectionDefinitionType
public ConnectionDefinitionType<T> id(String id)
id
attributeid
in interface ConnectionDefinitionType<T>
id
- the value for the attribute id
ConnectionDefinitionType
public String getId()
id
attributegetId
in interface ConnectionDefinitionType<T>
id
public ConnectionDefinitionType<T> removeId()
id
attributeremoveId
in interface ConnectionDefinitionType<T>
ConnectionDefinitionType
Copyright © 2021 JBoss by Red Hat. All rights reserved.