Interface AdminObjectType<T>

All Superinterfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>
All Known Implementing Classes:
AdminObjectTypeImpl

public interface AdminObjectType<T> extends org.jboss.shrinkwrap.descriptor.api.Child<T>
This interface defines the contract for the admin-objectType xsd type
  • Method Details

    • className

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

      String getClassName()
      Returns the class-name attribute
      Returns:
      the value defined for the attribute class-name
    • removeClassName

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

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

      String getJndiName()
      Returns the jndi-name attribute
      Returns:
      the value defined for the attribute jndi-name
    • removeJndiName

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

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

      Boolean isEnabled()
      Returns the enabled attribute
      Returns:
      the value defined for the attribute enabled
    • removeEnabled

      AdminObjectType<T> removeEnabled()
      Removes the enabled attribute
      Returns:
      the current instance of AdminObjectType
    • useJavaContext

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

      Boolean isUseJavaContext()
      Returns the use-java-context attribute
      Returns:
      the value defined for the attribute use-java-context
    • removeUseJavaContext

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

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

      String getPoolName()
      Returns the pool-name attribute
      Returns:
      the value defined for the attribute pool-name
    • removePoolName

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

      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.
      Returns:
      the instance defined for the element config-property
    • createConfigProperty

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

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

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