Class 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 Detail

      • 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 Detail

      • 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
      • 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
      • 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