org.jboss.ironjacamar.impl
Class CredentialTypeImpl<T>

java.lang.Object
  extended by org.jboss.ironjacamar.impl.CredentialTypeImpl<T>
All Implemented Interfaces:
CredentialType<T>, Child<T>

public class CredentialTypeImpl<T>
extends Object
implements Child<T>, CredentialType<T>

This class implements the credentialType xsd type

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

Constructor Summary
CredentialTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node)
           
CredentialTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node, org.jboss.shrinkwrap.descriptor.spi.node.Node childNode)
           
 
Method Summary
 String getPassword()
          Returns the password element
 String getSecurityDomain()
          Returns the security-domain element
 String getUserName()
          Returns the user-name element
 CredentialType<T> password(String password)
          Sets the password element
 CredentialType<T> removePassword()
          Removes the password element
 CredentialType<T> removeSecurityDomain()
          Removes the security-domain element
 CredentialType<T> removeUserName()
          Removes the user-name element
 CredentialType<T> securityDomain(String securityDomain)
          Sets the security-domain element
 T up()
          Returns the parent of this Child
 CredentialType<T> userName(String userName)
          Sets the user-name element
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CredentialTypeImpl

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

CredentialTypeImpl

public CredentialTypeImpl(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

userName

public CredentialType<T> userName(String userName)
Sets the user-name element

Specified by:
userName in interface CredentialType<T>
Parameters:
userName - the value for the element user-name
Returns:
the current instance of CredentialType

getUserName

public String getUserName()
Returns the user-name element

Specified by:
getUserName in interface CredentialType<T>
Returns:
the node defined for the element user-name

removeUserName

public CredentialType<T> removeUserName()
Removes the user-name element

Specified by:
removeUserName in interface CredentialType<T>
Returns:
the current instance of CredentialType

password

public CredentialType<T> password(String password)
Sets the password element

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

getPassword

public String getPassword()
Returns the password element

Specified by:
getPassword in interface CredentialType<T>
Returns:
the node defined for the element password

removePassword

public CredentialType<T> removePassword()
Removes the password element

Specified by:
removePassword in interface CredentialType<T>
Returns:
the current instance of CredentialType

securityDomain

public CredentialType<T> securityDomain(String securityDomain)
Sets the security-domain element

Specified by:
securityDomain in interface CredentialType<T>
Parameters:
securityDomain - the value for the element security-domain
Returns:
the current instance of CredentialType

getSecurityDomain

public String getSecurityDomain()
Returns the security-domain element

Specified by:
getSecurityDomain in interface CredentialType<T>
Returns:
the node defined for the element security-domain

removeSecurityDomain

public CredentialType<T> removeSecurityDomain()
Removes the security-domain element

Specified by:
removeSecurityDomain in interface CredentialType<T>
Returns:
the current instance of CredentialType


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