Class SecurityRoleRefTypeImpl<T>
java.lang.Object
org.jboss.shrinkwrap.descriptor.impl.javaee6.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 the
security-role-refType xsd type-
Constructor Summary
ConstructorsConstructorDescriptionSecurityRoleRefTypeImpl(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
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-nameelementup()
-
Constructor Details
-
SecurityRoleRefTypeImpl
-
SecurityRoleRefTypeImpl
-
-
Method Details
-
up
- Specified by:
upin interfaceorg.jboss.shrinkwrap.descriptor.api.Child<T>
-
description
Creates for all String objects representingdescriptionelements, a newdescriptionelement- Specified by:
descriptionin interfaceSecurityRoleRefType<T>- Parameters:
values- list ofdescriptionobjects- Returns:
- the current instance of
SecurityRoleRefType
-
getAllDescription
Returns alldescriptionelements- Specified by:
getAllDescriptionin interfaceSecurityRoleRefType<T>- Returns:
- list of
description
-
removeAllDescription
Removes thedescriptionelement- Specified by:
removeAllDescriptionin interfaceSecurityRoleRefType<T>- Returns:
- the current instance of
SecurityRoleRefType
-
roleName
Sets therole-nameelement- Specified by:
roleNamein interfaceSecurityRoleRefType<T>- Parameters:
roleName- the value for the elementrole-name- Returns:
- the current instance of
SecurityRoleRefType
-
getRoleName
Returns therole-nameelement- Specified by:
getRoleNamein interfaceSecurityRoleRefType<T>- Returns:
- the node defined for the element
role-name
-
removeRoleName
Removes therole-nameelement- Specified by:
removeRoleNamein interfaceSecurityRoleRefType<T>- Returns:
- the current instance of
SecurityRoleRefType
-
roleLink
Sets therole-linkelement- Specified by:
roleLinkin interfaceSecurityRoleRefType<T>- Parameters:
roleLink- the value for the elementrole-link- Returns:
- the current instance of
SecurityRoleRefType
-
getRoleLink
Returns therole-linkelement- Specified by:
getRoleLinkin interfaceSecurityRoleRefType<T>- Returns:
- the node defined for the element
role-link
-
removeRoleLink
Removes therole-linkelement- Specified by:
removeRoleLinkin interfaceSecurityRoleRefType<T>- Returns:
- the current instance of
SecurityRoleRefType
-
id
Sets theidattribute- Specified by:
idin interfaceSecurityRoleRefType<T>- Parameters:
id- the value for the attributeid- Returns:
- the current instance of
SecurityRoleRefType
-
getId
Returns theidattribute- Specified by:
getIdin interfaceSecurityRoleRefType<T>- Returns:
- the value defined for the attribute
id
-
removeId
Removes theidattribute- Specified by:
removeIdin interfaceSecurityRoleRefType<T>- Returns:
- the current instance of
SecurityRoleRefType
-