Interface AuthenticationMechanismType<T>
- All Superinterfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>
- All Known Implementing Classes:
AuthenticationMechanismTypeImpl
public interface AuthenticationMechanismType<T>
extends org.jboss.shrinkwrap.descriptor.api.Child<T>
This interface defines the contract for the
authentication-mechanismType xsd type-
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 theidattributeMethods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
-
Method Details
-
description
Creates for all String objects representingdescriptionelements, a newdescriptionelement- Parameters:
values- list ofdescriptionobjects- Returns:
- the current instance of
AuthenticationMechanismType
-
getAllDescription
Returns alldescriptionelements- Returns:
- list of
description
-
removeAllDescription
AuthenticationMechanismType<T> removeAllDescription()Removes thedescriptionelement- Returns:
- the current instance of
AuthenticationMechanismType
-
authenticationMechanismType
Sets theauthentication-mechanism-typeelement- Parameters:
authenticationMechanismType- the value for the elementauthentication-mechanism-type- Returns:
- the current instance of
AuthenticationMechanismType
-
getAuthenticationMechanismType
String getAuthenticationMechanismType()Returns theauthentication-mechanism-typeelement- Returns:
- the node defined for the element
authentication-mechanism-type
-
removeAuthenticationMechanismType
AuthenticationMechanismType<T> removeAuthenticationMechanismType()Removes theauthentication-mechanism-typeelement- Returns:
- the current instance of
AuthenticationMechanismType
-
credentialInterface
Sets thecredential-interfaceelement- Parameters:
credentialInterface- the value for the elementcredential-interface- Returns:
- the current instance of
AuthenticationMechanismType
-
credentialInterface
Sets thecredential-interfaceelement- Parameters:
credentialInterface- the value for the elementcredential-interface- Returns:
- the current instance of
AuthenticationMechanismType
-
getCredentialInterface
CredentialInterfaceType getCredentialInterface()Returns thecredential-interfaceelement- Returns:
- the value found for the element
credential-interface
-
getCredentialInterfaceAsString
String getCredentialInterfaceAsString()Returns thecredential-interfaceelement- Returns:
- the value found for the element
credential-interface
-
removeCredentialInterface
AuthenticationMechanismType<T> removeCredentialInterface()Removes thecredential-interfaceattribute- Returns:
- the current instance of
AuthenticationMechanismType
-
id
Sets theidattribute- Parameters:
id- the value for the attributeid- Returns:
- the current instance of
AuthenticationMechanismType
-
getId
String getId()Returns theidattribute- Returns:
- the value defined for the attribute
id
-
removeId
AuthenticationMechanismType<T> removeId()Removes theidattribute- Returns:
- the current instance of
AuthenticationMechanismType
-