org.jboss.ironjacamar.api
Interface CredentialType<T>

All Superinterfaces:
Child<T>
All Known Implementing Classes:
CredentialTypeImpl

public interface CredentialType<T>
extends Child<T>

This interface defines the contract for the credentialType xsd type

Since:
Generation date :2013-01-26T19:27:02.583+01:00
Author:
Ralf Battenfeld, Andrew Lee Rubinger

Method Summary
 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
 CredentialType<T> userName(String userName)
          Sets the user-name element
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

userName

CredentialType<T> userName(String userName)
Sets the user-name element

Parameters:
userName - the value for the element user-name
Returns:
the current instance of CredentialType

getUserName

String getUserName()
Returns the user-name element

Returns:
the node defined for the element user-name

removeUserName

CredentialType<T> removeUserName()
Removes the user-name element

Returns:
the current instance of CredentialType

password

CredentialType<T> password(String password)
Sets the password element

Parameters:
password - the value for the element password
Returns:
the current instance of CredentialType

getPassword

String getPassword()
Returns the password element

Returns:
the node defined for the element password

removePassword

CredentialType<T> removePassword()
Removes the password element

Returns:
the current instance of CredentialType

securityDomain

CredentialType<T> securityDomain(String securityDomain)
Sets the security-domain element

Parameters:
securityDomain - the value for the element security-domain
Returns:
the current instance of CredentialType

getSecurityDomain

String getSecurityDomain()
Returns the security-domain element

Returns:
the node defined for the element security-domain

removeSecurityDomain

CredentialType<T> removeSecurityDomain()
Removes the security-domain element

Returns:
the current instance of CredentialType


Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.