Class ExtensionTypeImpl<T>
- java.lang.Object
-
- org.jboss.jca.embedded.dsl.ironjacamar12.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 theextensionTypexsd type
-
-
Constructor Summary
Constructors Constructor Description ExtensionTypeImpl(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExtensionType<T>className(String className)Sets theclass-nameattributeStringgetClassName()Returns theclass-nameattributeConfigPropertyType<ExtensionType<T>>getOrCreateConfigProperty()If not already created, a newconfig-propertyelement with the given value will be created.ExtensionType<T>removeClassName()Removes theclass-nameattributeExtensionType<T>removeConfigProperty()Removes theconfig-propertyelementTup()
-
-
-
Method Detail
-
getOrCreateConfigProperty
public ConfigPropertyType<ExtensionType<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
ConfigPropertyType>
-
removeConfigProperty
public ExtensionType<T> removeConfigProperty()
Removes theconfig-propertyelement- Specified by:
removeConfigPropertyin interfaceExtensionType<T>- Returns:
- the current instance of
ExtensionType
-
className
public ExtensionType<T> className(String className)
Sets theclass-nameattribute- Specified by:
classNamein interfaceExtensionType<T>- Parameters:
className- the value for the attributeclass-name- Returns:
- the current instance of
ExtensionType
-
getClassName
public String getClassName()
Returns theclass-nameattribute- Specified by:
getClassNamein interfaceExtensionType<T>- Returns:
- the value defined for the attribute
class-name
-
removeClassName
public ExtensionType<T> removeClassName()
Removes theclass-nameattribute- Specified by:
removeClassNamein interfaceExtensionType<T>- Returns:
- the current instance of
ExtensionType
-
-