Class SecurityRoleTypeImpl<T>
java.lang.Object
org.jboss.shrinkwrap.descriptor.impl.javaee7.SecurityRoleTypeImpl<T>
- All Implemented Interfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>,SecurityRoleType<T>
public class SecurityRoleTypeImpl<T>
extends Object
implements org.jboss.shrinkwrap.descriptor.api.Child<T>, SecurityRoleType<T>
This class implements the
security-roleType xsd type-
Constructor Summary
ConstructorsConstructorDescriptionSecurityRoleTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node) SecurityRoleTypeImpl(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-nameelementSets theidattributeRemoves thedescriptionelementremoveId()Removes theidattributeRemoves therole-nameelementSets therole-nameelementup()
-
Constructor Details
-
SecurityRoleTypeImpl
-
SecurityRoleTypeImpl
-
-
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 interfaceSecurityRoleType<T>- Parameters:
values- list ofdescriptionobjects- Returns:
- the current instance of
SecurityRoleType
-
getAllDescription
Returns alldescriptionelements- Specified by:
getAllDescriptionin interfaceSecurityRoleType<T>- Returns:
- list of
description
-
removeAllDescription
Removes thedescriptionelement- Specified by:
removeAllDescriptionin interfaceSecurityRoleType<T>- Returns:
- the current instance of
SecurityRoleType
-
roleName
Sets therole-nameelement- Specified by:
roleNamein interfaceSecurityRoleType<T>- Parameters:
roleName- the value for the elementrole-name- Returns:
- the current instance of
SecurityRoleType
-
getRoleName
Returns therole-nameelement- Specified by:
getRoleNamein interfaceSecurityRoleType<T>- Returns:
- the node defined for the element
role-name
-
removeRoleName
Removes therole-nameelement- Specified by:
removeRoleNamein interfaceSecurityRoleType<T>- Returns:
- the current instance of
SecurityRoleType
-
id
Sets theidattribute- Specified by:
idin interfaceSecurityRoleType<T>- Parameters:
id- the value for the attributeid- Returns:
- the current instance of
SecurityRoleType
-
getId
Returns theidattribute- Specified by:
getIdin interfaceSecurityRoleType<T>- Returns:
- the value defined for the attribute
id
-
removeId
Removes theidattribute- Specified by:
removeIdin interfaceSecurityRoleType<T>- Returns:
- the current instance of
SecurityRoleType
-