public class ConnectionDefinitionsTypeImpl<T> extends Object implements org.jboss.shrinkwrap.descriptor.api.Child<T>, ConnectionDefinitionsType<T>
connection-definitionsType
xsd typeConstructor 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() |
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-definition
public 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-definition
public ConnectionDefinitionsType<T> removeAllConnectionDefinition()
connection-definition
elementsremoveAllConnectionDefinition
in interface ConnectionDefinitionsType<T>
ConnectionDefintionType>
Copyright © 2017 JBoss by Red Hat. All rights reserved.