Class ExtensionTypeImpl<T>

java.lang.Object
org.jboss.jca.embedded.dsl.resourceadapters12.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 Details

    • ExtensionTypeImpl

      public ExtensionTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node)
    • ExtensionTypeImpl

      public ExtensionTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node, org.jboss.shrinkwrap.descriptor.spi.node.Node childNode)
  • Method Details

    • up

      public T up()
      Specified by:
      up in interface org.jboss.shrinkwrap.descriptor.api.Child<T>
    • getOrCreateConfigProperty

      public ConfigPropertyType<ExtensionType<T>> getOrCreateConfigProperty()
      If not already created, a new config-property element with the given value will be created. Otherwise, the existing config-property element will be returned.
      Specified by:
      getOrCreateConfigProperty in interface ExtensionType<T>
      Returns:
      a new or existing instance of ConfigPropertyTypeinvalid input: '<'ExtensionType>
    • removeConfigProperty

      public ExtensionType<T> removeConfigProperty()
      Removes the config-property element
      Specified by:
      removeConfigProperty in interface ExtensionType<T>
      Returns:
      the current instance of ExtensionType
    • className

      public ExtensionType<T> className(String className)
      Sets the class-name attribute
      Specified by:
      className in interface ExtensionType<T>
      Parameters:
      className - the value for the attribute class-name
      Returns:
      the current instance of ExtensionType
    • getClassName

      public String getClassName()
      Returns the class-name attribute
      Specified by:
      getClassName in interface ExtensionType<T>
      Returns:
      the value defined for the attribute class-name
    • removeClassName

      public ExtensionType<T> removeClassName()
      Removes the class-name attribute
      Specified by:
      removeClassName in interface ExtensionType<T>
      Returns:
      the current instance of ExtensionType