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 thesecurity-roleTypexsd type
-
-
Constructor Summary
Constructors Constructor Description SecurityRoleTypeImpl(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SecurityRoleType<T>description(String... values)Creates for all String objects representingdescriptionelements, a newdescriptionelementList<String>getAllDescription()Returns alldescriptionelementsStringgetId()Returns theidattributeStringgetRoleName()Returns therole-nameelementSecurityRoleType<T>id(String id)Sets theidattributeSecurityRoleType<T>removeAllDescription()Removes thedescriptionelementSecurityRoleType<T>removeId()Removes theidattributeSecurityRoleType<T>removeRoleName()Removes therole-nameelementSecurityRoleType<T>roleName(String roleName)Sets therole-nameelementTup()
-
-
-
Method Detail
-
description
public SecurityRoleType<T> description(String... values)
Creates for all String objects representingdescriptionelements, a newdescriptionelement- Specified by:
descriptionin interfaceSecurityRoleType<T>- Parameters:
values- list ofdescriptionobjects- Returns:
- the current instance of
SecurityRoleType
-
getAllDescription
public List<String> getAllDescription()
Returns alldescriptionelements- Specified by:
getAllDescriptionin interfaceSecurityRoleType<T>- Returns:
- list of
description
-
removeAllDescription
public SecurityRoleType<T> removeAllDescription()
Removes thedescriptionelement- Specified by:
removeAllDescriptionin interfaceSecurityRoleType<T>- Returns:
- the current instance of
SecurityRoleType
-
roleName
public SecurityRoleType<T> roleName(String roleName)
Sets therole-nameelement- Specified by:
roleNamein interfaceSecurityRoleType<T>- Parameters:
roleName- the value for the elementrole-name- Returns:
- the current instance of
SecurityRoleType
-
getRoleName
public String getRoleName()
Returns therole-nameelement- Specified by:
getRoleNamein interfaceSecurityRoleType<T>- Returns:
- the node defined for the element
role-name
-
removeRoleName
public SecurityRoleType<T> removeRoleName()
Removes therole-nameelement- Specified by:
removeRoleNamein interfaceSecurityRoleType<T>- Returns:
- the current instance of
SecurityRoleType
-
id
public SecurityRoleType<T> id(String id)
Sets theidattribute- Specified by:
idin interfaceSecurityRoleType<T>- Parameters:
id- the value for the attributeid- Returns:
- the current instance of
SecurityRoleType
-
getId
public String getId()
Returns theidattribute- Specified by:
getIdin interfaceSecurityRoleType<T>- Returns:
- the value defined for the attribute
id
-
removeId
public SecurityRoleType<T> removeId()
Removes theidattribute- Specified by:
removeIdin interfaceSecurityRoleType<T>- Returns:
- the current instance of
SecurityRoleType
-
-