|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.shrinkwrap.descriptor.impl.javaee6.SecurityRoleRefTypeImpl<T>
public class SecurityRoleRefTypeImpl<T>
This class implements the security-role-refType xsd type
Original Documentation:
The security-role-refType contains the declaration of a
security role reference in a component's or a
Deployment Component's code. The declaration consists of an
optional description, the security role name used in the
code, and an optional link to a security role. If the
security role is not specified, the Deployer must choose an
appropriate security role.
| Constructor Summary | |
|---|---|
SecurityRoleRefTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node)
|
|
SecurityRoleRefTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node,
org.jboss.shrinkwrap.descriptor.spi.Node childNode)
|
|
| Method Summary | |
|---|---|
java.util.List<java.lang.String> |
getDescriptionList()
Returns all description elements |
java.lang.String |
getRoleLink()
Returns the role-link element |
java.lang.String |
getRoleName()
Returns the role-name element |
SecurityRoleRefType<T> |
removeAllDescription()
Removes the description element |
SecurityRoleRefType<T> |
removeRoleLink()
Removes the role-link element |
SecurityRoleRefType<T> |
removeRoleName()
Removes the role-name element |
SecurityRoleRefType<T> |
setDescription(java.lang.String description)
Creates a new description element |
SecurityRoleRefType<T> |
setDescriptionList(java.lang.String... values)
Creates for all String objects representing description elements,
a new description element |
SecurityRoleRefType<T> |
setRoleLink(java.lang.String roleLink)
If not already created, a new role-link element with the given value will be created. |
SecurityRoleRefType<T> |
setRoleName(java.lang.String roleName)
If not already created, a new role-name element with the given value will be created. |
T |
up()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SecurityRoleRefTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node)
public SecurityRoleRefTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node,
org.jboss.shrinkwrap.descriptor.spi.Node childNode)
| Method Detail |
|---|
public T up()
up in interface org.jboss.shrinkwrap.descriptor.api.Child<T>public SecurityRoleRefType<T> setDescription(java.lang.String description)
description element
setDescription in interface SecurityRoleRefType<T>SecurityRoleRefTypepublic SecurityRoleRefType<T> setDescriptionList(java.lang.String... values)
description elements,
a new description element
setDescriptionList in interface SecurityRoleRefType<T>list - of description objects
SecurityRoleRefTypepublic SecurityRoleRefType<T> removeAllDescription()
description element
removeAllDescription in interface SecurityRoleRefType<T>SecurityRoleRefTypepublic java.util.List<java.lang.String> getDescriptionList()
description elements
getDescriptionList in interface SecurityRoleRefType<T>descriptionpublic SecurityRoleRefType<T> setRoleName(java.lang.String roleName)
role-name element with the given value will be created.
Otherwise, the existing role-name element will be updated with the given value.
setRoleName in interface SecurityRoleRefType<T>SecurityRoleRefTypepublic SecurityRoleRefType<T> removeRoleName()
role-name element
removeRoleName in interface SecurityRoleRefType<T>SecurityRoleRefTypepublic java.lang.String getRoleName()
role-name element
getRoleName in interface SecurityRoleRefType<T>role-namepublic SecurityRoleRefType<T> setRoleLink(java.lang.String roleLink)
role-link element with the given value will be created.
Otherwise, the existing role-link element will be updated with the given value.
setRoleLink in interface SecurityRoleRefType<T>SecurityRoleRefTypepublic SecurityRoleRefType<T> removeRoleLink()
role-link element
removeRoleLink in interface SecurityRoleRefType<T>SecurityRoleRefTypepublic java.lang.String getRoleLink()
role-link element
getRoleLink in interface SecurityRoleRefType<T>role-link
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||