|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.shrinkwrap.descriptor.impl.jbosscommon51.SecurityRoleTypeImpl<T>
public class SecurityRoleTypeImpl<T>
This class implements the security-roleType xsd type
Original Documentation:
The security-role element contains the definition of a security role.
The definition consists of an the security role name and principal name element(s).
| Constructor Summary | |
|---|---|
SecurityRoleTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node)
|
|
SecurityRoleTypeImpl(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.util.List<java.lang.String> |
getPrincipalNameList()
Returns all principal-name elements |
java.lang.String |
getRoleName()
Returns the role-name element |
SecurityRoleType<T> |
removeAllDescription()
Removes the description element |
SecurityRoleType<T> |
removeAllPrincipalName()
Removes the principal-name element |
SecurityRoleType<T> |
removeRoleName()
Removes the role-name element |
SecurityRoleType<T> |
setDescription(java.lang.String description)
Creates a new description element |
SecurityRoleType<T> |
setDescriptionList(java.lang.String... values)
Creates for all String objects representing description elements,
a new description element |
SecurityRoleType<T> |
setPrincipalName(java.lang.String principalName)
Creates a new principal-name element |
SecurityRoleType<T> |
setPrincipalNameList(java.lang.String... values)
Creates for all String objects representing principal-name elements,
a new principal-name element |
SecurityRoleType<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 SecurityRoleTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node)
public SecurityRoleTypeImpl(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 SecurityRoleType<T> setDescription(java.lang.String description)
description element
setDescription in interface SecurityRoleType<T>SecurityRoleTypepublic SecurityRoleType<T> setDescriptionList(java.lang.String... values)
description elements,
a new description element
setDescriptionList in interface SecurityRoleType<T>list - of description objects
SecurityRoleTypepublic SecurityRoleType<T> removeAllDescription()
description element
removeAllDescription in interface SecurityRoleType<T>SecurityRoleTypepublic java.util.List<java.lang.String> getDescriptionList()
description elements
getDescriptionList in interface SecurityRoleType<T>descriptionpublic SecurityRoleType<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 SecurityRoleType<T>SecurityRoleTypepublic SecurityRoleType<T> removeRoleName()
role-name element
removeRoleName in interface SecurityRoleType<T>SecurityRoleTypepublic java.lang.String getRoleName()
role-name element
getRoleName in interface SecurityRoleType<T>role-namepublic SecurityRoleType<T> setPrincipalName(java.lang.String principalName)
principal-name element
setPrincipalName in interface SecurityRoleType<T>SecurityRoleTypepublic SecurityRoleType<T> setPrincipalNameList(java.lang.String... values)
principal-name elements,
a new principal-name element
setPrincipalNameList in interface SecurityRoleType<T>list - of principal-name objects
SecurityRoleTypepublic SecurityRoleType<T> removeAllPrincipalName()
principal-name element
removeAllPrincipalName in interface SecurityRoleType<T>SecurityRoleTypepublic java.util.List<java.lang.String> getPrincipalNameList()
principal-name elements
getPrincipalNameList in interface SecurityRoleType<T>principal-name
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||