public class SecurityRoleTypeImpl<T> extends Object implements org.jboss.shrinkwrap.descriptor.api.Child<T>, SecurityRoleType<T>
security-roleType xsd type| Constructor and 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) |
| Modifier and Type | Method and Description |
|---|---|
SecurityRoleType<T> |
description(String... values)
Creates for all String objects representing
description elements,
a new description element |
List<String> |
getAllDescription()
Returns all
description elements |
String |
getId()
Returns the
id attribute |
String |
getRoleName()
Returns the
role-name element |
SecurityRoleType<T> |
id(String id)
Sets the
id attribute |
SecurityRoleType<T> |
removeAllDescription()
Removes the
description element |
SecurityRoleType<T> |
removeId()
Removes the
id attribute |
SecurityRoleType<T> |
removeRoleName()
Removes the
role-name element |
SecurityRoleType<T> |
roleName(String roleName)
Sets the
role-name element |
T |
up() |
public SecurityRoleTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node)
public SecurityRoleType<T> description(String... values)
description elements,
a new description elementdescription in interface SecurityRoleType<T>values - list of description objectsSecurityRoleTypepublic List<String> getAllDescription()
description elementsgetAllDescription in interface SecurityRoleType<T>descriptionpublic SecurityRoleType<T> removeAllDescription()
description elementremoveAllDescription in interface SecurityRoleType<T>SecurityRoleTypepublic SecurityRoleType<T> roleName(String roleName)
role-name elementroleName in interface SecurityRoleType<T>roleName - the value for the element role-nameSecurityRoleTypepublic String getRoleName()
role-name elementgetRoleName in interface SecurityRoleType<T>role-namepublic SecurityRoleType<T> removeRoleName()
role-name elementremoveRoleName in interface SecurityRoleType<T>SecurityRoleTypepublic SecurityRoleType<T> id(String id)
id attributeid in interface SecurityRoleType<T>id - the value for the attribute idSecurityRoleTypepublic String getId()
id attributegetId in interface SecurityRoleType<T>idpublic SecurityRoleType<T> removeId()
id attributeremoveId in interface SecurityRoleType<T>SecurityRoleTypeCopyright © 2021 JBoss by Red Hat. All rights reserved.