Class AuthenticationMechanismTypeImpl<T>
java.lang.Object
org.jboss.shrinkwrap.descriptor.impl.connector16.AuthenticationMechanismTypeImpl<T>
- All Implemented Interfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>,AuthenticationMechanismType<T>
public class AuthenticationMechanismTypeImpl<T>
extends Object
implements org.jboss.shrinkwrap.descriptor.api.Child<T>, AuthenticationMechanismType<T>
This class implements the
authentication-mechanismType xsd type-
Constructor Summary
ConstructorsConstructorDescriptionAuthenticationMechanismTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node) AuthenticationMechanismTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node, org.jboss.shrinkwrap.descriptor.spi.node.Node childNode) -
Method Summary
Modifier and TypeMethodDescriptionauthenticationMechanismType(String authenticationMechanismType) Sets theauthentication-mechanism-typeelementcredentialInterface(String credentialInterface) Sets thecredential-interfaceelementcredentialInterface(CredentialInterfaceType credentialInterface) Sets thecredential-interfaceelementdescription(String... values) Creates for all String objects representingdescriptionelements, a newdescriptionelementReturns alldescriptionelementsReturns theauthentication-mechanism-typeelementReturns thecredential-interfaceelementReturns thecredential-interfaceelementgetId()Returns theidattributeSets theidattributeRemoves thedescriptionelementRemoves theauthentication-mechanism-typeelementRemoves thecredential-interfaceattributeremoveId()Removes theidattributeup()
-
Constructor Details
-
AuthenticationMechanismTypeImpl
-
AuthenticationMechanismTypeImpl
-
-
Method Details
-
up
- Specified by:
upin interfaceorg.jboss.shrinkwrap.descriptor.api.Child<T>
-
description
Creates for all String objects representingdescriptionelements, a newdescriptionelement- Specified by:
descriptionin interfaceAuthenticationMechanismType<T>- Parameters:
values- list ofdescriptionobjects- Returns:
- the current instance of
AuthenticationMechanismType
-
getAllDescription
Returns alldescriptionelements- Specified by:
getAllDescriptionin interfaceAuthenticationMechanismType<T>- Returns:
- list of
description
-
removeAllDescription
Removes thedescriptionelement- Specified by:
removeAllDescriptionin interfaceAuthenticationMechanismType<T>- Returns:
- the current instance of
AuthenticationMechanismType
-
authenticationMechanismType
public AuthenticationMechanismType<T> authenticationMechanismType(String authenticationMechanismType) Sets theauthentication-mechanism-typeelement- Specified by:
authenticationMechanismTypein interfaceAuthenticationMechanismType<T>- Parameters:
authenticationMechanismType- the value for the elementauthentication-mechanism-type- Returns:
- the current instance of
AuthenticationMechanismType
-
getAuthenticationMechanismType
Returns theauthentication-mechanism-typeelement- Specified by:
getAuthenticationMechanismTypein interfaceAuthenticationMechanismType<T>- Returns:
- the node defined for the element
authentication-mechanism-type
-
removeAuthenticationMechanismType
Removes theauthentication-mechanism-typeelement- Specified by:
removeAuthenticationMechanismTypein interfaceAuthenticationMechanismType<T>- Returns:
- the current instance of
AuthenticationMechanismType
-
credentialInterface
public AuthenticationMechanismType<T> credentialInterface(CredentialInterfaceType credentialInterface) Sets thecredential-interfaceelement- Specified by:
credentialInterfacein interfaceAuthenticationMechanismType<T>- Parameters:
credentialInterface- the value for the elementcredential-interface- Returns:
- the current instance of
AuthenticationMechanismType
-
credentialInterface
Sets thecredential-interfaceelement- Specified by:
credentialInterfacein interfaceAuthenticationMechanismType<T>- Parameters:
credentialInterface- the value for the elementcredential-interface- Returns:
- the current instance of
AuthenticationMechanismType
-
getCredentialInterface
Returns thecredential-interfaceelement- Specified by:
getCredentialInterfacein interfaceAuthenticationMechanismType<T>- Returns:
- the value found for the element
credential-interface
-
getCredentialInterfaceAsString
Returns thecredential-interfaceelement- Specified by:
getCredentialInterfaceAsStringin interfaceAuthenticationMechanismType<T>- Returns:
- the value found for the element
credential-interface
-
removeCredentialInterface
Removes thecredential-interfaceattribute- Specified by:
removeCredentialInterfacein interfaceAuthenticationMechanismType<T>- Returns:
- the current instance of
AuthenticationMechanismType
-
id
Sets theidattribute- Specified by:
idin interfaceAuthenticationMechanismType<T>- Parameters:
id- the value for the attributeid- Returns:
- the current instance of
AuthenticationMechanismType
-
getId
Returns theidattribute- Specified by:
getIdin interfaceAuthenticationMechanismType<T>- Returns:
- the value defined for the attribute
id
-
removeId
Removes theidattribute- Specified by:
removeIdin interfaceAuthenticationMechanismType<T>- Returns:
- the current instance of
AuthenticationMechanismType
-