public class CredentialTypeImpl<T> extends Object implements org.jboss.shrinkwrap.descriptor.api.Child<T>, CredentialType<T>
credentialType xsd type| Constructor and Description |
|---|
CredentialTypeImpl(T t,
String nodeName,
org.jboss.shrinkwrap.descriptor.spi.node.Node node) |
CredentialTypeImpl(T t,
String nodeName,
org.jboss.shrinkwrap.descriptor.spi.node.Node node,
org.jboss.shrinkwrap.descriptor.spi.node.Node childNode) |
| Modifier and Type | Method and Description |
|---|---|
String |
getPassword()
Returns the
password element |
String |
getSecurityDomain()
Returns the
security-domain element |
String |
getUserName()
Returns the
user-name element |
CredentialType<T> |
password(String password)
Sets the
password element |
CredentialType<T> |
removePassword()
Removes the
password element |
CredentialType<T> |
removeSecurityDomain()
Removes the
security-domain element |
CredentialType<T> |
removeUserName()
Removes the
user-name element |
CredentialType<T> |
securityDomain(String securityDomain)
Sets the
security-domain element |
T |
up() |
CredentialType<T> |
userName(String userName)
Sets the
user-name element |
public CredentialTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node)
public CredentialType<T> userName(String userName)
user-name elementuserName in interface CredentialType<T>userName - the value for the element user-nameCredentialTypepublic String getUserName()
user-name elementgetUserName in interface CredentialType<T>user-namepublic CredentialType<T> removeUserName()
user-name elementremoveUserName in interface CredentialType<T>CredentialTypepublic CredentialType<T> password(String password)
password elementpassword in interface CredentialType<T>password - the value for the element passwordCredentialTypepublic String getPassword()
password elementgetPassword in interface CredentialType<T>passwordpublic CredentialType<T> removePassword()
password elementremovePassword in interface CredentialType<T>CredentialTypepublic CredentialType<T> securityDomain(String securityDomain)
security-domain elementsecurityDomain in interface CredentialType<T>securityDomain - the value for the element security-domainCredentialTypepublic String getSecurityDomain()
security-domain elementgetSecurityDomain in interface CredentialType<T>security-domainpublic CredentialType<T> removeSecurityDomain()
security-domain elementremoveSecurityDomain in interface CredentialType<T>CredentialTypeCopyright © 2021 JBoss by Red Hat. All rights reserved.