org.jboss.shrinkwrap.descriptor.test.impl.connector10
Class SecurityPermissionImpl<T>

java.lang.Object
  extended by org.jboss.shrinkwrap.descriptor.test.impl.connector10.SecurityPermissionImpl<T>
All Implemented Interfaces:
Child<T>, SecurityPermission<T>

public class SecurityPermissionImpl<T>
extends Object
implements Child<T>, SecurityPermission<T>

This class implements the security-permission xsd type

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

Constructor Summary
SecurityPermissionImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node)
           
SecurityPermissionImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node, org.jboss.shrinkwrap.descriptor.spi.node.Node childNode)
           
 
Method Summary
 SecurityPermission<T> description(String description)
          Sets the description element
 String getDescription()
          Returns the description element
 String getSecurityPermissionSpec()
          Returns the security-permission-spec element
 SecurityPermission<T> removeDescription()
          Removes the description element
 SecurityPermission<T> removeSecurityPermissionSpec()
          Removes the security-permission-spec element
 SecurityPermission<T> securityPermissionSpec(String securityPermissionSpec)
          Sets the security-permission-spec 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

SecurityPermissionImpl

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

SecurityPermissionImpl

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

securityPermissionSpec

public SecurityPermission<T> securityPermissionSpec(String securityPermissionSpec)
Sets the security-permission-spec element

Specified by:
securityPermissionSpec in interface SecurityPermission<T>
Parameters:
securityPermissionSpec - the value for the element security-permission-spec
Returns:
the current instance of SecurityPermission

getSecurityPermissionSpec

public String getSecurityPermissionSpec()
Returns the security-permission-spec element

Specified by:
getSecurityPermissionSpec in interface SecurityPermission<T>
Returns:
the node defined for the element security-permission-spec

removeSecurityPermissionSpec

public SecurityPermission<T> removeSecurityPermissionSpec()
Removes the security-permission-spec element

Specified by:
removeSecurityPermissionSpec in interface SecurityPermission<T>
Returns:
the current instance of SecurityPermission

description

public SecurityPermission<T> description(String description)
Sets the description element

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

getDescription

public String getDescription()
Returns the description element

Specified by:
getDescription in interface SecurityPermission<T>
Returns:
the node defined for the element description

removeDescription

public SecurityPermission<T> removeDescription()
Removes the description element

Specified by:
removeDescription in interface SecurityPermission<T>
Returns:
the current instance of SecurityPermission


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