public class ConnectionDefinitionsTypeImpl<T> extends Object implements org.jboss.shrinkwrap.descriptor.api.Child<T>, ConnectionDefinitionsType<T>
connection-definitionsType xsd type| Constructor and Description |
|---|
ConnectionDefinitionsTypeImpl(T t,
String nodeName,
org.jboss.shrinkwrap.descriptor.spi.node.Node node) |
ConnectionDefinitionsTypeImpl(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<ConnectionDefinitionsType<T>> |
createConnectionDefinition()
Creates a new
connection-definition element |
List<ConnectionDefinitionType<ConnectionDefinitionsType<T>>> |
getAllConnectionDefinition()
Returns all
connection-definition elements |
ConnectionDefinitionType<ConnectionDefinitionsType<T>> |
getOrCreateConnectionDefinition()
If not already created, a new
connection-definition element will be created and returned. |
ConnectionDefinitionsType<T> |
removeAllConnectionDefinition()
Removes all
connection-definition elements |
T |
up() |
public ConnectionDefinitionsTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node)
public ConnectionDefinitionType<ConnectionDefinitionsType<T>> getOrCreateConnectionDefinition()
connection-definition element will be created and returned.
Otherwise, the first existing connection-definition element will be returned.getOrCreateConnectionDefinition in interface ConnectionDefinitionsType<T>connection-definitionpublic ConnectionDefinitionType<ConnectionDefinitionsType<T>> createConnectionDefinition()
connection-definition elementcreateConnectionDefinition in interface ConnectionDefinitionsType<T>ConnectionDefinitionType> public List<ConnectionDefinitionType<ConnectionDefinitionsType<T>>> getAllConnectionDefinition()
connection-definition elementsgetAllConnectionDefinition in interface ConnectionDefinitionsType<T>connection-definitionpublic ConnectionDefinitionsType<T> removeAllConnectionDefinition()
connection-definition elementsremoveAllConnectionDefinition in interface ConnectionDefinitionsType<T>ConnectionDefinitionType> Copyright © 2021 JBoss by Red Hat. All rights reserved.