Class ExtensionTypeImpl<T>
java.lang.Object
org.jboss.jca.embedded.dsl.datasources11.impl.ExtensionTypeImpl<T>
- All Implemented Interfaces:
ExtensionType<T>,org.jboss.shrinkwrap.descriptor.api.Child<T>
public class ExtensionTypeImpl<T>
extends Object
implements org.jboss.shrinkwrap.descriptor.api.Child<T>, ExtensionType<T>
This class implements the
extensionType xsd type-
Constructor Summary
ConstructorsConstructorDescriptionExtensionTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node) ExtensionTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node, org.jboss.shrinkwrap.descriptor.spi.node.Node childNode) -
Method Summary
Modifier and TypeMethodDescriptionSets theclass-nameattributeCreates a newconfig-propertyelementReturns allconfig-propertyelementsReturns theclass-nameattributeIf not already created, a newconfig-propertyelement will be created and returned.Removes allconfig-propertyelementsRemoves theclass-nameattributeup()
-
Constructor Details
-
ExtensionTypeImpl
-
ExtensionTypeImpl
-
-
Method Details
-
up
- Specified by:
upin interfaceorg.jboss.shrinkwrap.descriptor.api.Child<T>
-
getOrCreateConfigProperty
If not already created, a newconfig-propertyelement will be created and returned. Otherwise, the first existingconfig-propertyelement will be returned.- Specified by:
getOrCreateConfigPropertyin interfaceExtensionType<T>- Returns:
- the instance defined for the element
config-property
-
createConfigProperty
Creates a newconfig-propertyelement- Specified by:
createConfigPropertyin interfaceExtensionType<T>- Returns:
- the new created instance of
ConfigPropertyTypeinvalid input: '<'ExtensionType>
-
getAllConfigProperty
Returns allconfig-propertyelements- Specified by:
getAllConfigPropertyin interfaceExtensionType<T>- Returns:
- list of
config-property
-
removeAllConfigProperty
Removes allconfig-propertyelements- Specified by:
removeAllConfigPropertyin interfaceExtensionType<T>- Returns:
- the current instance of
ConfigPropertyTypeinvalid input: '<'ExtensionType>
-
className
Sets theclass-nameattribute- Specified by:
classNamein interfaceExtensionType<T>- Parameters:
className- the value for the attributeclass-name- Returns:
- the current instance of
ExtensionType
-
getClassName
Returns theclass-nameattribute- Specified by:
getClassNamein interfaceExtensionType<T>- Returns:
- the value defined for the attribute
class-name
-
removeClassName
Removes theclass-nameattribute- Specified by:
removeClassNamein interfaceExtensionType<T>- Returns:
- the current instance of
ExtensionType
-