Class SecurityRoleRefTypeImpl<T>
- java.lang.Object
-
- org.jboss.shrinkwrap.descriptor.impl.j2ee14.SecurityRoleRefTypeImpl<T>
-
- All Implemented Interfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>,SecurityRoleRefType<T>
public class SecurityRoleRefTypeImpl<T> extends Object implements org.jboss.shrinkwrap.descriptor.api.Child<T>, SecurityRoleRefType<T>
This class implements thesecurity-role-refTypexsd type
-
-
Constructor Summary
Constructors Constructor Description SecurityRoleRefTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node)SecurityRoleRefTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node, org.jboss.shrinkwrap.descriptor.spi.node.Node childNode)
-
Method Summary
All Methods Instance Methods Concrete 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-nameelementTup()
-
-
-
Method Detail
-
description
public SecurityRoleRefType<T> description(String... values)
Creates for all String objects representingdescriptionelements, a newdescriptionelement- Specified by:
descriptionin interfaceSecurityRoleRefType<T>- Parameters:
values- list ofdescriptionobjects- Returns:
- the current instance of
SecurityRoleRefType
-
getAllDescription
public List<String> getAllDescription()
Returns alldescriptionelements- Specified by:
getAllDescriptionin interfaceSecurityRoleRefType<T>- Returns:
- list of
description
-
removeAllDescription
public SecurityRoleRefType<T> removeAllDescription()
Removes thedescriptionelement- Specified by:
removeAllDescriptionin interfaceSecurityRoleRefType<T>- Returns:
- the current instance of
SecurityRoleRefType
-
roleName
public SecurityRoleRefType<T> roleName(String roleName)
Sets therole-nameelement- Specified by:
roleNamein interfaceSecurityRoleRefType<T>- Parameters:
roleName- the value for the elementrole-name- Returns:
- the current instance of
SecurityRoleRefType
-
getRoleName
public String getRoleName()
Returns therole-nameelement- Specified by:
getRoleNamein interfaceSecurityRoleRefType<T>- Returns:
- the node defined for the element
role-name
-
removeRoleName
public SecurityRoleRefType<T> removeRoleName()
Removes therole-nameelement- Specified by:
removeRoleNamein interfaceSecurityRoleRefType<T>- Returns:
- the current instance of
SecurityRoleRefType
-
roleLink
public SecurityRoleRefType<T> roleLink(String roleLink)
Sets therole-linkelement- Specified by:
roleLinkin interfaceSecurityRoleRefType<T>- Parameters:
roleLink- the value for the elementrole-link- Returns:
- the current instance of
SecurityRoleRefType
-
getRoleLink
public String getRoleLink()
Returns therole-linkelement- Specified by:
getRoleLinkin interfaceSecurityRoleRefType<T>- Returns:
- the node defined for the element
role-link
-
removeRoleLink
public SecurityRoleRefType<T> removeRoleLink()
Removes therole-linkelement- Specified by:
removeRoleLinkin interfaceSecurityRoleRefType<T>- Returns:
- the current instance of
SecurityRoleRefType
-
id
public SecurityRoleRefType<T> id(String id)
Sets theidattribute- Specified by:
idin interfaceSecurityRoleRefType<T>- Parameters:
id- the value for the attributeid- Returns:
- the current instance of
SecurityRoleRefType
-
getId
public String getId()
Returns theidattribute- Specified by:
getIdin interfaceSecurityRoleRefType<T>- Returns:
- the value defined for the attribute
id
-
removeId
public SecurityRoleRefType<T> removeId()
Removes theidattribute- Specified by:
removeIdin interfaceSecurityRoleRefType<T>- Returns:
- the current instance of
SecurityRoleRefType
-
-