public class SecurityRoleTypeImpl<T> extends Object implements org.jboss.shrinkwrap.descriptor.api.Child<T>, SecurityRoleType<T>
security-roleType
xsd typeConstructor 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
objectsSecurityRoleType
public List<String> getAllDescription()
description
elementsgetAllDescription
in interface SecurityRoleType<T>
description
public SecurityRoleType<T> removeAllDescription()
description
elementremoveAllDescription
in interface SecurityRoleType<T>
SecurityRoleType
public SecurityRoleType<T> roleName(String roleName)
role-name
elementroleName
in interface SecurityRoleType<T>
roleName
- the value for the element role-name
SecurityRoleType
public String getRoleName()
role-name
elementgetRoleName
in interface SecurityRoleType<T>
role-name
public SecurityRoleType<T> removeRoleName()
role-name
elementremoveRoleName
in interface SecurityRoleType<T>
SecurityRoleType
public SecurityRoleType<T> id(String id)
id
attributeid
in interface SecurityRoleType<T>
id
- the value for the attribute id
SecurityRoleType
public String getId()
id
attributegetId
in interface SecurityRoleType<T>
id
public SecurityRoleType<T> removeId()
id
attributeremoveId
in interface SecurityRoleType<T>
SecurityRoleType
Copyright © 2021 JBoss by Red Hat. All rights reserved.