public class SecurityRoleRefTypeImpl<T> extends Object implements org.jboss.shrinkwrap.descriptor.api.Child<T>, SecurityRoleRefType<T>
security-role-refType
xsd typeConstructor and Description |
---|
SecurityRoleRefTypeImpl(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) |
Modifier and Type | Method and Description |
---|---|
SecurityRoleRefType<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 |
getRoleLink()
Returns the
role-link element |
String |
getRoleName()
Returns the
role-name element |
SecurityRoleRefType<T> |
id(String id)
Sets the
id attribute |
SecurityRoleRefType<T> |
removeAllDescription()
Removes the
description element |
SecurityRoleRefType<T> |
removeId()
Removes the
id attribute |
SecurityRoleRefType<T> |
removeRoleLink()
Removes the
role-link element |
SecurityRoleRefType<T> |
removeRoleName()
Removes the
role-name element |
SecurityRoleRefType<T> |
roleLink(String roleLink)
Sets the
role-link element |
SecurityRoleRefType<T> |
roleName(String roleName)
Sets the
role-name element |
T |
up() |
public SecurityRoleRefTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node)
public SecurityRoleRefType<T> description(String... values)
description
elements,
a new description
elementdescription
in interface SecurityRoleRefType<T>
values
- list of description
objectsSecurityRoleRefType
public List<String> getAllDescription()
description
elementsgetAllDescription
in interface SecurityRoleRefType<T>
description
public SecurityRoleRefType<T> removeAllDescription()
description
elementremoveAllDescription
in interface SecurityRoleRefType<T>
SecurityRoleRefType
public SecurityRoleRefType<T> roleName(String roleName)
role-name
elementroleName
in interface SecurityRoleRefType<T>
roleName
- the value for the element role-name
SecurityRoleRefType
public String getRoleName()
role-name
elementgetRoleName
in interface SecurityRoleRefType<T>
role-name
public SecurityRoleRefType<T> removeRoleName()
role-name
elementremoveRoleName
in interface SecurityRoleRefType<T>
SecurityRoleRefType
public SecurityRoleRefType<T> roleLink(String roleLink)
role-link
elementroleLink
in interface SecurityRoleRefType<T>
roleLink
- the value for the element role-link
SecurityRoleRefType
public String getRoleLink()
role-link
elementgetRoleLink
in interface SecurityRoleRefType<T>
role-link
public SecurityRoleRefType<T> removeRoleLink()
role-link
elementremoveRoleLink
in interface SecurityRoleRefType<T>
SecurityRoleRefType
public SecurityRoleRefType<T> id(String id)
id
attributeid
in interface SecurityRoleRefType<T>
id
- the value for the attribute id
SecurityRoleRefType
public String getId()
id
attributegetId
in interface SecurityRoleRefType<T>
id
public SecurityRoleRefType<T> removeId()
id
attributeremoveId
in interface SecurityRoleRefType<T>
SecurityRoleRefType
Copyright © 2021 JBoss by Red Hat. All rights reserved.