Class AuthenticationMechanismImpl<T>
- java.lang.Object
-
- org.jboss.shrinkwrap.descriptor.impl.connector10.AuthenticationMechanismImpl<T>
-
- All Implemented Interfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>,AuthenticationMechanism<T>
public class AuthenticationMechanismImpl<T> extends Object implements org.jboss.shrinkwrap.descriptor.api.Child<T>, AuthenticationMechanism<T>
This class implements theauthentication-mechanismxsd type
-
-
Constructor Summary
Constructors Constructor Description AuthenticationMechanismImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node)AuthenticationMechanismImpl(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 AuthenticationMechanism<T>authenticationMechanismType(String authenticationMechanismType)Sets theauthentication-mechanism-typeelementAuthenticationMechanism<T>credentialInterface(String credentialInterface)Sets thecredential-interfaceelementAuthenticationMechanism<T>description(String description)Sets thedescriptionelementStringgetAuthenticationMechanismType()Returns theauthentication-mechanism-typeelementStringgetCredentialInterface()Returns thecredential-interfaceelementStringgetDescription()Returns thedescriptionelementAuthenticationMechanism<T>removeAuthenticationMechanismType()Removes theauthentication-mechanism-typeelementAuthenticationMechanism<T>removeCredentialInterface()Removes thecredential-interfaceelementAuthenticationMechanism<T>removeDescription()Removes thedescriptionelementTup()
-
-
-
Method Detail
-
description
public AuthenticationMechanism<T> description(String description)
Sets thedescriptionelement- Specified by:
descriptionin interfaceAuthenticationMechanism<T>- Parameters:
description- the value for the elementdescription- Returns:
- the current instance of
AuthenticationMechanism
-
getDescription
public String getDescription()
Returns thedescriptionelement- Specified by:
getDescriptionin interfaceAuthenticationMechanism<T>- Returns:
- the node defined for the element
description
-
removeDescription
public AuthenticationMechanism<T> removeDescription()
Removes thedescriptionelement- Specified by:
removeDescriptionin interfaceAuthenticationMechanism<T>- Returns:
- the current instance of
AuthenticationMechanism
-
authenticationMechanismType
public AuthenticationMechanism<T> authenticationMechanismType(String authenticationMechanismType)
Sets theauthentication-mechanism-typeelement- Specified by:
authenticationMechanismTypein interfaceAuthenticationMechanism<T>- Parameters:
authenticationMechanismType- the value for the elementauthentication-mechanism-type- Returns:
- the current instance of
AuthenticationMechanism
-
getAuthenticationMechanismType
public String getAuthenticationMechanismType()
Returns theauthentication-mechanism-typeelement- Specified by:
getAuthenticationMechanismTypein interfaceAuthenticationMechanism<T>- Returns:
- the node defined for the element
authentication-mechanism-type
-
removeAuthenticationMechanismType
public AuthenticationMechanism<T> removeAuthenticationMechanismType()
Removes theauthentication-mechanism-typeelement- Specified by:
removeAuthenticationMechanismTypein interfaceAuthenticationMechanism<T>- Returns:
- the current instance of
AuthenticationMechanism
-
credentialInterface
public AuthenticationMechanism<T> credentialInterface(String credentialInterface)
Sets thecredential-interfaceelement- Specified by:
credentialInterfacein interfaceAuthenticationMechanism<T>- Parameters:
credentialInterface- the value for the elementcredential-interface- Returns:
- the current instance of
AuthenticationMechanism
-
getCredentialInterface
public String getCredentialInterface()
Returns thecredential-interfaceelement- Specified by:
getCredentialInterfacein interfaceAuthenticationMechanism<T>- Returns:
- the node defined for the element
credential-interface
-
removeCredentialInterface
public AuthenticationMechanism<T> removeCredentialInterface()
Removes thecredential-interfaceelement- Specified by:
removeCredentialInterfacein interfaceAuthenticationMechanism<T>- Returns:
- the current instance of
AuthenticationMechanism
-
-