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