Class AuthenticationMechanismTypeImpl<T>
- java.lang.Object
-
- org.jboss.shrinkwrap.descriptor.impl.connector17.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 theauthentication-mechanismTypexsd type
-
-
Constructor Summary
Constructors Constructor Description AuthenticationMechanismTypeImpl(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthenticationMechanismType<T>authenticationMechanismType(String authenticationMechanismType)Sets theauthentication-mechanism-typeelementAuthenticationMechanismType<T>credentialInterface(String credentialInterface)Sets thecredential-interfaceelementAuthenticationMechanismType<T>credentialInterface(CredentialInterfaceType credentialInterface)Sets thecredential-interfaceelementAuthenticationMechanismType<T>description(String... values)Creates for all String objects representingdescriptionelements, a newdescriptionelementList<String>getAllDescription()Returns alldescriptionelementsStringgetAuthenticationMechanismType()Returns theauthentication-mechanism-typeelementCredentialInterfaceTypegetCredentialInterface()Returns thecredential-interfaceelementStringgetCredentialInterfaceAsString()Returns thecredential-interfaceelementStringgetId()Returns theidattributeAuthenticationMechanismType<T>id(String id)Sets theidattributeAuthenticationMechanismType<T>removeAllDescription()Removes thedescriptionelementAuthenticationMechanismType<T>removeAuthenticationMechanismType()Removes theauthentication-mechanism-typeelementAuthenticationMechanismType<T>removeCredentialInterface()Removes thecredential-interfaceattributeAuthenticationMechanismType<T>removeId()Removes theidattributeTup()
-
-
-
Method Detail
-
description
public AuthenticationMechanismType<T> description(String... values)
Creates for all String objects representingdescriptionelements, a newdescriptionelement- Specified by:
descriptionin interfaceAuthenticationMechanismType<T>- Parameters:
values- list ofdescriptionobjects- Returns:
- the current instance of
AuthenticationMechanismType
-
getAllDescription
public List<String> getAllDescription()
Returns alldescriptionelements- Specified by:
getAllDescriptionin interfaceAuthenticationMechanismType<T>- Returns:
- list of
description
-
removeAllDescription
public AuthenticationMechanismType<T> 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
public String getAuthenticationMechanismType()
Returns theauthentication-mechanism-typeelement- Specified by:
getAuthenticationMechanismTypein interfaceAuthenticationMechanismType<T>- Returns:
- the node defined for the element
authentication-mechanism-type
-
removeAuthenticationMechanismType
public AuthenticationMechanismType<T> 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
public AuthenticationMechanismType<T> credentialInterface(String credentialInterface)
Sets thecredential-interfaceelement- Specified by:
credentialInterfacein interfaceAuthenticationMechanismType<T>- Parameters:
credentialInterface- the value for the elementcredential-interface- Returns:
- the current instance of
AuthenticationMechanismType
-
getCredentialInterface
public CredentialInterfaceType getCredentialInterface()
Returns thecredential-interfaceelement- Specified by:
getCredentialInterfacein interfaceAuthenticationMechanismType<T>- Returns:
- the value found for the element
credential-interface
-
getCredentialInterfaceAsString
public String getCredentialInterfaceAsString()
Returns thecredential-interfaceelement- Specified by:
getCredentialInterfaceAsStringin interfaceAuthenticationMechanismType<T>- Returns:
- the value found for the element
credential-interface
-
removeCredentialInterface
public AuthenticationMechanismType<T> removeCredentialInterface()
Removes thecredential-interfaceattribute- Specified by:
removeCredentialInterfacein interfaceAuthenticationMechanismType<T>- Returns:
- the current instance of
AuthenticationMechanismType
-
id
public AuthenticationMechanismType<T> id(String id)
Sets theidattribute- Specified by:
idin interfaceAuthenticationMechanismType<T>- Parameters:
id- the value for the attributeid- Returns:
- the current instance of
AuthenticationMechanismType
-
getId
public String getId()
Returns theidattribute- Specified by:
getIdin interfaceAuthenticationMechanismType<T>- Returns:
- the value defined for the attribute
id
-
removeId
public AuthenticationMechanismType<T> removeId()
Removes theidattribute- Specified by:
removeIdin interfaceAuthenticationMechanismType<T>- Returns:
- the current instance of
AuthenticationMechanismType
-
-