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 thesecurity-role-refTypexsd type
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SecurityRoleRefType<T>description(String... values)Creates for all String objects representingdescriptionelements, a newdescriptionelementList<String>getAllDescription()Returns alldescriptionelementsStringgetId()Returns theidattributeStringgetRoleLink()Returns therole-linkelementStringgetRoleName()Returns therole-nameelementSecurityRoleRefType<T>id(String id)Sets theidattributeSecurityRoleRefType<T>removeAllDescription()Removes thedescriptionelementSecurityRoleRefType<T>removeId()Removes theidattributeSecurityRoleRefType<T>removeRoleLink()Removes therole-linkelementSecurityRoleRefType<T>removeRoleName()Removes therole-nameelementSecurityRoleRefType<T>roleLink(String roleLink)Sets therole-linkelementSecurityRoleRefType<T>roleName(String roleName)Sets therole-nameelement
-
-
-
Method Detail
-
description
SecurityRoleRefType<T> description(String... values)
Creates for all String objects representingdescriptionelements, a newdescriptionelement- Parameters:
values- list ofdescriptionobjects- Returns:
- the current instance of
SecurityRoleRefType
-
getAllDescription
List<String> getAllDescription()
Returns alldescriptionelements- Returns:
- list of
description
-
removeAllDescription
SecurityRoleRefType<T> removeAllDescription()
Removes thedescriptionelement- Returns:
- the current instance of
SecurityRoleRefType
-
roleName
SecurityRoleRefType<T> roleName(String 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
SecurityRoleRefType<T> roleLink(String 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
SecurityRoleRefType<T> id(String 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
-
-