Class DsSecurityTypeImpl<T>

java.lang.Object
org.jboss.jca.embedded.dsl.datasources13.impl.DsSecurityTypeImpl<T>
All Implemented Interfaces:
DsSecurityType<T>, org.jboss.shrinkwrap.descriptor.api.Child<T>

public class DsSecurityTypeImpl<T> extends Object implements org.jboss.shrinkwrap.descriptor.api.Child<T>, DsSecurityType<T>
This class implements the dsSecurityType xsd type
  • Constructor Details

    • DsSecurityTypeImpl

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

      public DsSecurityTypeImpl(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>
    • userName

      public DsSecurityType<T> userName(String userName)
      Sets the user-name element
      Specified by:
      userName in interface DsSecurityType<T>
      Parameters:
      userName - the value for the element user-name
      Returns:
      the current instance of DsSecurityType
    • getUserName

      public String getUserName()
      Returns the user-name element
      Specified by:
      getUserName in interface DsSecurityType<T>
      Returns:
      the node defined for the element user-name
    • removeUserName

      public DsSecurityType<T> removeUserName()
      Removes the user-name element
      Specified by:
      removeUserName in interface DsSecurityType<T>
      Returns:
      the current instance of DsSecurityType
    • password

      public DsSecurityType<T> password(String password)
      Sets the password element
      Specified by:
      password in interface DsSecurityType<T>
      Parameters:
      password - the value for the element password
      Returns:
      the current instance of DsSecurityType
    • getPassword

      public String getPassword()
      Returns the password element
      Specified by:
      getPassword in interface DsSecurityType<T>
      Returns:
      the node defined for the element password
    • removePassword

      public DsSecurityType<T> removePassword()
      Removes the password element
      Specified by:
      removePassword in interface DsSecurityType<T>
      Returns:
      the current instance of DsSecurityType
    • securityDomain

      public DsSecurityType<T> securityDomain(String securityDomain)
      Sets the security-domain element
      Specified by:
      securityDomain in interface DsSecurityType<T>
      Parameters:
      securityDomain - the value for the element security-domain
      Returns:
      the current instance of DsSecurityType
    • getSecurityDomain

      public String getSecurityDomain()
      Returns the security-domain element
      Specified by:
      getSecurityDomain in interface DsSecurityType<T>
      Returns:
      the node defined for the element security-domain
    • removeSecurityDomain

      public DsSecurityType<T> removeSecurityDomain()
      Removes the security-domain element
      Specified by:
      removeSecurityDomain in interface DsSecurityType<T>
      Returns:
      the current instance of DsSecurityType
    • getOrCreateReauthPlugin

      public ExtensionType<DsSecurityType<T>> getOrCreateReauthPlugin()
      If not already created, a new reauth-plugin element with the given value will be created. Otherwise, the existing reauth-plugin element will be returned.
      Specified by:
      getOrCreateReauthPlugin in interface DsSecurityType<T>
      Returns:
      a new or existing instance of ExtensionTypeinvalid input: '<'DsSecurityType>
    • removeReauthPlugin

      public DsSecurityType<T> removeReauthPlugin()
      Removes the reauth-plugin element
      Specified by:
      removeReauthPlugin in interface DsSecurityType<T>
      Returns:
      the current instance of DsSecurityType