Class ExtensionTypeImpl<T>
java.lang.Object
org.jboss.jca.embedded.dsl.ironjacamar10.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-nameattributeReturns theclass-nameattributeIf not already created, a newconfig-propertyelement with the given value will be created.Removes theclass-nameattributeRemoves theconfig-propertyelementup()
-
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 with the given value will be created. Otherwise, the existingconfig-propertyelement will be returned.- Specified by:
getOrCreateConfigPropertyin interfaceExtensionType<T>- Returns:
- a new or existing instance of
ConfigPropertyTypeinvalid input: '<'ExtensionType>
-
removeConfigProperty
Removes theconfig-propertyelement- Specified by:
removeConfigPropertyin interfaceExtensionType<T>- Returns:
- the current instance of
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
-