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

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

public class SecurityTypeImpl<T>
extends Object
implements Child<T>, SecurityType<T>

This class implements the securityType xsd type

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

Constructor Summary
SecurityTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node)
           
SecurityTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node, org.jboss.shrinkwrap.descriptor.spi.node.Node childNode)
           
 
Method Summary
 SecurityType<T> application()
          Sets the application element
 String getSecurityDomain()
          Returns the security-domain element
 String getSecurityDomainAndApplication()
          Returns the security-domain-and-application element
 Boolean isApplication()
          Removes the application element
 SecurityType<T> removeApplication()
          Removes the application element
 SecurityType<T> removeSecurityDomain()
          Removes the security-domain element
 SecurityType<T> removeSecurityDomainAndApplication()
          Removes the security-domain-and-application element
 SecurityType<T> securityDomain(String securityDomain)
          Sets the security-domain element
 SecurityType<T> securityDomainAndApplication(String securityDomainAndApplication)
          Sets the security-domain-and-application 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

SecurityTypeImpl

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

SecurityTypeImpl

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

application

public SecurityType<T> application()
Sets the application element

Specified by:
application in interface SecurityType<T>
Returns:
the current instance of SecurityType

isApplication

public Boolean isApplication()
Removes the application element

Specified by:
isApplication in interface SecurityType<T>
Returns:
the current instance of SecurityType

removeApplication

public SecurityType<T> removeApplication()
Removes the application element

Specified by:
removeApplication in interface SecurityType<T>
Returns:
the current instance of SecurityType

securityDomain

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

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

getSecurityDomain

public String getSecurityDomain()
Returns the security-domain element

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

removeSecurityDomain

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

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

securityDomainAndApplication

public SecurityType<T> securityDomainAndApplication(String securityDomainAndApplication)
Sets the security-domain-and-application element

Specified by:
securityDomainAndApplication in interface SecurityType<T>
Parameters:
securityDomainAndApplication - the value for the element security-domain-and-application
Returns:
the current instance of SecurityType

getSecurityDomainAndApplication

public String getSecurityDomainAndApplication()
Returns the security-domain-and-application element

Specified by:
getSecurityDomainAndApplication in interface SecurityType<T>
Returns:
the node defined for the element security-domain-and-application

removeSecurityDomainAndApplication

public SecurityType<T> removeSecurityDomainAndApplication()
Removes the security-domain-and-application element

Specified by:
removeSecurityDomainAndApplication in interface SecurityType<T>
Returns:
the current instance of SecurityType


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