Class CredentialTypeImpl<T>
- java.lang.Object
-
- org.jboss.jca.embedded.dsl.resourceadapters11.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 thecredentialTypexsd type
-
-
Constructor Summary
Constructors Constructor 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)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetPassword()Returns thepasswordelementStringgetSecurityDomain()Returns thesecurity-domainelementStringgetUserName()Returns theuser-nameelementCredentialType<T>password(String password)Sets thepasswordelementCredentialType<T>removePassword()Removes thepasswordelementCredentialType<T>removeSecurityDomain()Removes thesecurity-domainelementCredentialType<T>removeUserName()Removes theuser-nameelementCredentialType<T>securityDomain(String securityDomain)Sets thesecurity-domainelementTup()CredentialType<T>userName(String userName)Sets theuser-nameelement
-
-
-
Method Detail
-
userName
public CredentialType<T> userName(String userName)
Sets theuser-nameelement- Specified by:
userNamein interfaceCredentialType<T>- Parameters:
userName- the value for the elementuser-name- Returns:
- the current instance of
CredentialType
-
getUserName
public String getUserName()
Returns theuser-nameelement- Specified by:
getUserNamein interfaceCredentialType<T>- Returns:
- the node defined for the element
user-name
-
removeUserName
public CredentialType<T> removeUserName()
Removes theuser-nameelement- Specified by:
removeUserNamein interfaceCredentialType<T>- Returns:
- the current instance of
CredentialType
-
password
public CredentialType<T> password(String password)
Sets thepasswordelement- Specified by:
passwordin interfaceCredentialType<T>- Parameters:
password- the value for the elementpassword- Returns:
- the current instance of
CredentialType
-
getPassword
public String getPassword()
Returns thepasswordelement- Specified by:
getPasswordin interfaceCredentialType<T>- Returns:
- the node defined for the element
password
-
removePassword
public CredentialType<T> removePassword()
Removes thepasswordelement- Specified by:
removePasswordin interfaceCredentialType<T>- Returns:
- the current instance of
CredentialType
-
securityDomain
public CredentialType<T> securityDomain(String securityDomain)
Sets thesecurity-domainelement- Specified by:
securityDomainin interfaceCredentialType<T>- Parameters:
securityDomain- the value for the elementsecurity-domain- Returns:
- the current instance of
CredentialType
-
getSecurityDomain
public String getSecurityDomain()
Returns thesecurity-domainelement- Specified by:
getSecurityDomainin interfaceCredentialType<T>- Returns:
- the node defined for the element
security-domain
-
removeSecurityDomain
public CredentialType<T> removeSecurityDomain()
Removes thesecurity-domainelement- Specified by:
removeSecurityDomainin interfaceCredentialType<T>- Returns:
- the current instance of
CredentialType
-
-