Class WorkmanagerSecurityMappingsTypeImpl<T>
java.lang.Object
org.jboss.jca.embedded.dsl.resourceadapters11.impl.WorkmanagerSecurityMappingsTypeImpl<T>
- All Implemented Interfaces:
WorkmanagerSecurityMappingsType<T>,org.jboss.shrinkwrap.descriptor.api.Child<T>
public class WorkmanagerSecurityMappingsTypeImpl<T>
extends Object
implements org.jboss.shrinkwrap.descriptor.api.Child<T>, WorkmanagerSecurityMappingsType<T>
This class implements the
workmanagerSecurityMappingsType xsd type-
Constructor Summary
ConstructorsConstructorDescriptionWorkmanagerSecurityMappingsTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node) WorkmanagerSecurityMappingsTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node, org.jboss.shrinkwrap.descriptor.spi.node.Node childNode) -
Method Summary
Modifier and TypeMethodDescriptionIf not already created, a newgroupselement with the given value will be created.If not already created, a newuserselement with the given value will be created.Removes thegroupselementRemoves theuserselementup()
-
Constructor Details
-
WorkmanagerSecurityMappingsTypeImpl
-
WorkmanagerSecurityMappingsTypeImpl
-
-
Method Details
-
up
- Specified by:
upin interfaceorg.jboss.shrinkwrap.descriptor.api.Child<T>
-
getOrCreateUsers
If not already created, a newuserselement with the given value will be created. Otherwise, the existinguserselement will be returned.- Specified by:
getOrCreateUsersin interfaceWorkmanagerSecurityMappingsType<T>- Returns:
- a new or existing instance of
WorkmanagerSecurityMappingsUsersType<WorkmanagerSecurityMappingsType>
-
removeUsers
Removes theuserselement- Specified by:
removeUsersin interfaceWorkmanagerSecurityMappingsType<T>- Returns:
- the current instance of
WorkmanagerSecurityMappingsType
-
getOrCreateGroups
public WorkmanagerSecurityMappingsGroupsType<WorkmanagerSecurityMappingsType<T>> getOrCreateGroups()If not already created, a newgroupselement with the given value will be created. Otherwise, the existinggroupselement will be returned.- Specified by:
getOrCreateGroupsin interfaceWorkmanagerSecurityMappingsType<T>- Returns:
- a new or existing instance of
WorkmanagerSecurityMappingsGroupsType<WorkmanagerSecurityMappingsType>
-
removeGroups
Removes thegroupselement- Specified by:
removeGroupsin interfaceWorkmanagerSecurityMappingsType<T>- Returns:
- the current instance of
WorkmanagerSecurityMappingsType
-