Interface SecurityRoleType<T>
- All Superinterfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>
- All Known Implementing Classes:
SecurityRoleTypeImpl
public interface SecurityRoleType<T>
extends org.jboss.shrinkwrap.descriptor.api.Child<T>
This interface defines the contract for the
security-roleType xsd type-
Method Summary
Modifier and TypeMethodDescriptiondescription(String... values) Creates for all String objects representingdescriptionelements, a newdescriptionelementReturns alldescriptionelementsgetId()Returns theidattributeReturns therole-nameelementSets theidattributeRemoves thedescriptionelementremoveId()Removes theidattributeRemoves therole-nameelementSets therole-nameelementMethods 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
SecurityRoleType
-
getAllDescription
Returns alldescriptionelements- Returns:
- list of
description
-
removeAllDescription
SecurityRoleType<T> removeAllDescription()Removes thedescriptionelement- Returns:
- the current instance of
SecurityRoleType
-
roleName
Sets therole-nameelement- Parameters:
roleName- the value for the elementrole-name- Returns:
- the current instance of
SecurityRoleType
-
getRoleName
String getRoleName()Returns therole-nameelement- Returns:
- the node defined for the element
role-name
-
removeRoleName
SecurityRoleType<T> removeRoleName()Removes therole-nameelement- Returns:
- the current instance of
SecurityRoleType
-
id
Sets theidattribute- Parameters:
id- the value for the attributeid- Returns:
- the current instance of
SecurityRoleType
-
getId
String getId()Returns theidattribute- Returns:
- the value defined for the attribute
id
-
removeId
SecurityRoleType<T> removeId()Removes theidattribute- Returns:
- the current instance of
SecurityRoleType
-