
public class ConnectionDefinitionsTypeImpl<T> extends Object implements 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 |
|---|---|
ConnectionDefintionType<ConnectionDefinitionsType<T>> |
createConnectionDefinition()
Creates a new
connection-definition element |
List<ConnectionDefintionType<ConnectionDefinitionsType<T>>> |
getAllConnectionDefinition()
Returns all
connection-definition elements |
ConnectionDefintionType<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()
Returns the parent of this
Child |
public ConnectionDefinitionsTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node)
public ConnectionDefintionType<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 ConnectionDefintionType<ConnectionDefinitionsType<T>> createConnectionDefinition()
connection-definition elementcreateConnectionDefinition in interface ConnectionDefinitionsType<T>ConnectionDefintionType> public List<ConnectionDefintionType<ConnectionDefinitionsType<T>>> getAllConnectionDefinition()
connection-definition elementsgetAllConnectionDefinition in interface ConnectionDefinitionsType<T>connection-definitionpublic ConnectionDefinitionsType<T> removeAllConnectionDefinition()
connection-definition elementsremoveAllConnectionDefinition in interface ConnectionDefinitionsType<T>ConnectionDefintionType> Copyright © 2021 JBoss by Red Hat. All rights reserved.