Class AdminObjectTypeImpl<T>

java.lang.Object
org.jboss.jca.embedded.dsl.resourceadapters11.impl.AdminObjectTypeImpl<T>
All Implemented Interfaces:
AdminObjectType<T>, org.jboss.shrinkwrap.descriptor.api.Child<T>

public class AdminObjectTypeImpl<T> extends Object implements org.jboss.shrinkwrap.descriptor.api.Child<T>, AdminObjectType<T>
This class implements the admin-objectType xsd type
  • Constructor Details

    • AdminObjectTypeImpl

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

      public AdminObjectTypeImpl(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>
    • className

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

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

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

      public AdminObjectType<T> jndiName(String jndiName)
      Sets the jndi-name attribute
      Specified by:
      jndiName in interface AdminObjectType<T>
      Parameters:
      jndiName - the value for the attribute jndi-name
      Returns:
      the current instance of AdminObjectType
    • getJndiName

      public String getJndiName()
      Returns the jndi-name attribute
      Specified by:
      getJndiName in interface AdminObjectType<T>
      Returns:
      the value defined for the attribute jndi-name
    • removeJndiName

      public AdminObjectType<T> removeJndiName()
      Removes the jndi-name attribute
      Specified by:
      removeJndiName in interface AdminObjectType<T>
      Returns:
      the current instance of AdminObjectType
    • enabled

      public AdminObjectType<T> enabled(Boolean enabled)
      Sets the enabled attribute
      Specified by:
      enabled in interface AdminObjectType<T>
      Parameters:
      enabled - the value for the attribute enabled
      Returns:
      the current instance of AdminObjectType
    • isEnabled

      public Boolean isEnabled()
      Returns the enabled attribute
      Specified by:
      isEnabled in interface AdminObjectType<T>
      Returns:
      the value defined for the attribute enabled
    • removeEnabled

      public AdminObjectType<T> removeEnabled()
      Removes the enabled attribute
      Specified by:
      removeEnabled in interface AdminObjectType<T>
      Returns:
      the current instance of AdminObjectType
    • useJavaContext

      public AdminObjectType<T> useJavaContext(Boolean useJavaContext)
      Sets the use-java-context attribute
      Specified by:
      useJavaContext in interface AdminObjectType<T>
      Parameters:
      useJavaContext - the value for the attribute use-java-context
      Returns:
      the current instance of AdminObjectType
    • isUseJavaContext

      public Boolean isUseJavaContext()
      Returns the use-java-context attribute
      Specified by:
      isUseJavaContext in interface AdminObjectType<T>
      Returns:
      the value defined for the attribute use-java-context
    • removeUseJavaContext

      public AdminObjectType<T> removeUseJavaContext()
      Removes the use-java-context attribute
      Specified by:
      removeUseJavaContext in interface AdminObjectType<T>
      Returns:
      the current instance of AdminObjectType
    • poolName

      public AdminObjectType<T> poolName(String poolName)
      Sets the pool-name attribute
      Specified by:
      poolName in interface AdminObjectType<T>
      Parameters:
      poolName - the value for the attribute pool-name
      Returns:
      the current instance of AdminObjectType
    • getPoolName

      public String getPoolName()
      Returns the pool-name attribute
      Specified by:
      getPoolName in interface AdminObjectType<T>
      Returns:
      the value defined for the attribute pool-name
    • removePoolName

      public AdminObjectType<T> removePoolName()
      Removes the pool-name attribute
      Specified by:
      removePoolName in interface AdminObjectType<T>
      Returns:
      the current instance of AdminObjectType
    • getOrCreateConfigProperty

      public ConfigPropertyType<AdminObjectType<T>> getOrCreateConfigProperty()
      If not already created, a new config-property element will be created and returned. Otherwise, the first existing config-property element will be returned.
      Specified by:
      getOrCreateConfigProperty in interface AdminObjectType<T>
      Returns:
      the instance defined for the element config-property
    • createConfigProperty

      public ConfigPropertyType<AdminObjectType<T>> createConfigProperty()
      Creates a new config-property element
      Specified by:
      createConfigProperty in interface AdminObjectType<T>
      Returns:
      the new created instance of ConfigPropertyTypeinvalid input: '<'AdminObjectType>
    • getAllConfigProperty

      public List<ConfigPropertyType<AdminObjectType<T>>> getAllConfigProperty()
      Returns all config-property elements
      Specified by:
      getAllConfigProperty in interface AdminObjectType<T>
      Returns:
      list of config-property
    • removeAllConfigProperty

      public AdminObjectType<T> removeAllConfigProperty()
      Removes all config-property elements
      Specified by:
      removeAllConfigProperty in interface AdminObjectType<T>
      Returns:
      the current instance of ConfigPropertyTypeinvalid input: '<'AdminObjectType>