ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

org.jboss.shrinkwrap.descriptor.api.ejbjar31
Interface MethodPermissionType<T>

All Superinterfaces:
Child<T>

public interface MethodPermissionType<T>
extends Child<T>

This interface defines the contract for the method-permissionType xsd type

Since:
Generation date :2012-05-09T23:45:05.33-07:00
Author:
Ralf Battenfeld, Andrew Lee Rubinger

Method Summary
 MethodType<MethodPermissionType<T>> createMethod()
          Creates a new method element
 MethodPermissionType<T> description(String... values)
          Creates for all String objects representing description elements, a new description element
 List<String> getAllDescription()
          Returns all description elements
 List<MethodType<MethodPermissionType<T>>> getAllMethod()
          Returns all method elements
 List<String> getAllRoleName()
          Returns all role-name elements
 MethodType<MethodPermissionType<T>> getOrCreateMethod()
          If not already created, a new method element will be created and returned.
 Boolean isUnchecked()
          Removes the unchecked element
 MethodPermissionType<T> removeAllDescription()
          Removes the description element
 MethodPermissionType<T> removeAllMethod()
          Removes all method elements
 MethodPermissionType<T> removeAllRoleName()
          Removes the role-name element
 MethodPermissionType<T> removeUnchecked()
          Removes the unchecked element
 MethodPermissionType<T> roleName(String... values)
          Creates for all String objects representing role-name elements, a new role-name element
 MethodPermissionType<T> unchecked()
          Sets the unchecked element
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

description

MethodPermissionType<T> description(String... values)
Creates for all String objects representing description elements, a new description element

Parameters:
values - list of description objects
Returns:
the current instance of MethodPermissionType

getAllDescription

List<String> getAllDescription()
Returns all description elements

Returns:
list of description

removeAllDescription

MethodPermissionType<T> removeAllDescription()
Removes the description element

Returns:
the current instance of MethodPermissionType

roleName

MethodPermissionType<T> roleName(String... values)
Creates for all String objects representing role-name elements, a new role-name element

Parameters:
values - list of role-name objects
Returns:
the current instance of MethodPermissionType

getAllRoleName

List<String> getAllRoleName()
Returns all role-name elements

Returns:
list of role-name

removeAllRoleName

MethodPermissionType<T> removeAllRoleName()
Removes the role-name element

Returns:
the current instance of MethodPermissionType

unchecked

MethodPermissionType<T> unchecked()
Sets the unchecked element

Returns:
the current instance of MethodPermissionType

isUnchecked

Boolean isUnchecked()
Removes the unchecked element

Returns:
the current instance of MethodPermissionType

removeUnchecked

MethodPermissionType<T> removeUnchecked()
Removes the unchecked element

Returns:
the current instance of MethodPermissionType

getOrCreateMethod

MethodType<MethodPermissionType<T>> getOrCreateMethod()
If not already created, a new method element will be created and returned. Otherwise, the first existing method element will be returned.

Returns:
the instance defined for the element method

createMethod

MethodType<MethodPermissionType<T>> createMethod()
Creates a new method element

Returns:
the new created instance of MethodType>

getAllMethod

List<MethodType<MethodPermissionType<T>>> getAllMethod()
Returns all method elements

Returns:
list of method

removeAllMethod

MethodPermissionType<T> removeAllMethod()
Removes all method elements

Returns:
the current instance of MethodType>

ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.