org.jboss.shrinkwrap.descriptor.api.ejbjar30
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 :2013-01-26T19:26:58.657+01: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
 String getId()
          Returns the id attribute
 MethodType<MethodPermissionType<T>> getOrCreateMethod()
          If not already created, a new method element will be created and returned.
 MethodPermissionType<T> id(String id)
          Sets the id attribute
 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> removeId()
          Removes the id attribute
 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>

id

MethodPermissionType<T> id(String id)
Sets the id attribute

Parameters:
id - the value for the attribute id
Returns:
the current instance of MethodPermissionType

getId

String getId()
Returns the id attribute

Returns:
the value defined for the attribute id

removeId

MethodPermissionType<T> removeId()
Removes the id attribute

Returns:
the current instance of MethodPermissionType


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