Interface SecurityPermissionType<T>
- All Superinterfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>
- All Known Implementing Classes:
SecurityPermissionTypeImpl
public interface SecurityPermissionType<T>
extends org.jboss.shrinkwrap.descriptor.api.Child<T>
This interface defines the contract for the
security-permissionType xsd type-
Method Summary
Modifier and TypeMethodDescriptiondescription(String... values) Creates for all String objects representingdescriptionelements, a newdescriptionelementReturns alldescriptionelementsgetId()Returns theidattributeReturns thesecurity-permission-specelementSets theidattributeRemoves thedescriptionelementremoveId()Removes theidattributeRemoves thesecurity-permission-specelementsecurityPermissionSpec(String securityPermissionSpec) Sets thesecurity-permission-specelementMethods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
-
Method Details
-
description
Creates for all String objects representingdescriptionelements, a newdescriptionelement- Parameters:
values- list ofdescriptionobjects- Returns:
- the current instance of
SecurityPermissionType
-
getAllDescription
Returns alldescriptionelements- Returns:
- list of
description
-
removeAllDescription
SecurityPermissionType<T> removeAllDescription()Removes thedescriptionelement- Returns:
- the current instance of
SecurityPermissionType
-
securityPermissionSpec
Sets thesecurity-permission-specelement- Parameters:
securityPermissionSpec- the value for the elementsecurity-permission-spec- Returns:
- the current instance of
SecurityPermissionType
-
getSecurityPermissionSpec
String getSecurityPermissionSpec()Returns thesecurity-permission-specelement- Returns:
- the node defined for the element
security-permission-spec
-
removeSecurityPermissionSpec
SecurityPermissionType<T> removeSecurityPermissionSpec()Removes thesecurity-permission-specelement- Returns:
- the current instance of
SecurityPermissionType
-
id
Sets theidattribute- Parameters:
id- the value for the attributeid- Returns:
- the current instance of
SecurityPermissionType
-
getId
String getId()Returns theidattribute- Returns:
- the value defined for the attribute
id
-
removeId
SecurityPermissionType<T> removeId()Removes theidattribute- Returns:
- the current instance of
SecurityPermissionType
-