org.jboss.shrinkwrap.descriptor.test.impl.connector10
Class AuthenticationMechanismImpl<T>

java.lang.Object
  extended by org.jboss.shrinkwrap.descriptor.test.impl.connector10.AuthenticationMechanismImpl<T>
All Implemented Interfaces:
Child<T>, AuthenticationMechanism<T>

public class AuthenticationMechanismImpl<T>
extends Object
implements Child<T>, AuthenticationMechanism<T>

This class implements the authentication-mechanism xsd type

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

Constructor Summary
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
 AuthenticationMechanism<T> authenticationMechanismType(String authenticationMechanismType)
          Sets the authentication-mechanism-type element
 AuthenticationMechanism<T> credentialInterface(String credentialInterface)
          Sets the credential-interface element
 AuthenticationMechanism<T> description(String description)
          Sets the description element
 String getAuthenticationMechanismType()
          Returns the authentication-mechanism-type element
 String getCredentialInterface()
          Returns the credential-interface element
 String getDescription()
          Returns the description element
 AuthenticationMechanism<T> removeAuthenticationMechanismType()
          Removes the authentication-mechanism-type element
 AuthenticationMechanism<T> removeCredentialInterface()
          Removes the credential-interface element
 AuthenticationMechanism<T> removeDescription()
          Removes the description element
 T up()
          Returns the parent of this Child
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthenticationMechanismImpl

public AuthenticationMechanismImpl(T t,
                                   String nodeName,
                                   org.jboss.shrinkwrap.descriptor.spi.node.Node node)

AuthenticationMechanismImpl

public AuthenticationMechanismImpl(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()
Description copied from interface: Child
Returns the parent of this Child

Specified by:
up in interface Child<T>
Returns:
The parent of this Child

authenticationMechanismType

public AuthenticationMechanism<T> authenticationMechanismType(String authenticationMechanismType)
Sets the authentication-mechanism-type element

Specified by:
authenticationMechanismType in interface AuthenticationMechanism<T>
Parameters:
authenticationMechanismType - the value for the element authentication-mechanism-type
Returns:
the current instance of AuthenticationMechanism

getAuthenticationMechanismType

public String getAuthenticationMechanismType()
Returns the authentication-mechanism-type element

Specified by:
getAuthenticationMechanismType in interface AuthenticationMechanism<T>
Returns:
the node defined for the element authentication-mechanism-type

removeAuthenticationMechanismType

public AuthenticationMechanism<T> removeAuthenticationMechanismType()
Removes the authentication-mechanism-type element

Specified by:
removeAuthenticationMechanismType in interface AuthenticationMechanism<T>
Returns:
the current instance of AuthenticationMechanism

description

public AuthenticationMechanism<T> description(String description)
Sets the description element

Specified by:
description in interface AuthenticationMechanism<T>
Parameters:
description - the value for the element description
Returns:
the current instance of AuthenticationMechanism

getDescription

public String getDescription()
Returns the description element

Specified by:
getDescription in interface AuthenticationMechanism<T>
Returns:
the node defined for the element description

removeDescription

public AuthenticationMechanism<T> removeDescription()
Removes the description element

Specified by:
removeDescription in interface AuthenticationMechanism<T>
Returns:
the current instance of AuthenticationMechanism

credentialInterface

public AuthenticationMechanism<T> credentialInterface(String credentialInterface)
Sets the credential-interface element

Specified by:
credentialInterface in interface AuthenticationMechanism<T>
Parameters:
credentialInterface - the value for the element credential-interface
Returns:
the current instance of AuthenticationMechanism

getCredentialInterface

public String getCredentialInterface()
Returns the credential-interface element

Specified by:
getCredentialInterface in interface AuthenticationMechanism<T>
Returns:
the node defined for the element credential-interface

removeCredentialInterface

public AuthenticationMechanism<T> removeCredentialInterface()
Removes the credential-interface element

Specified by:
removeCredentialInterface in interface AuthenticationMechanism<T>
Returns:
the current instance of AuthenticationMechanism


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