Class CredentialTypeImpl<T>

java.lang.Object
org.jboss.jca.embedded.dsl.ironjacamar10.impl.CredentialTypeImpl<T>
All Implemented Interfaces:
CredentialType<T>, org.jboss.shrinkwrap.descriptor.api.Child<T>

public class CredentialTypeImpl<T> extends Object implements org.jboss.shrinkwrap.descriptor.api.Child<T>, CredentialType<T>
This class implements the credentialType xsd type
  • Constructor Details

    • CredentialTypeImpl

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

      public CredentialTypeImpl(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 CredentialType<T> userName(String userName)
      Sets the user-name element
      Specified by:
      userName in interface CredentialType<T>
      Parameters:
      userName - the value for the element user-name
      Returns:
      the current instance of CredentialType
    • getUserName

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

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

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

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

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

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

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

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