Class WorkmanagerSecurityTypeImpl<T>
java.lang.Object
org.jboss.jca.embedded.dsl.resourceadapters13.impl.WorkmanagerSecurityTypeImpl<T>
- All Implemented Interfaces:
WorkmanagerSecurityType<T>,org.jboss.shrinkwrap.descriptor.api.Child<T>
public class WorkmanagerSecurityTypeImpl<T>
extends Object
implements org.jboss.shrinkwrap.descriptor.api.Child<T>, WorkmanagerSecurityType<T>
This class implements the
workmanagerSecurityType xsd type-
Constructor Summary
ConstructorsConstructorDescriptionWorkmanagerSecurityTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node) WorkmanagerSecurityTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node, org.jboss.shrinkwrap.descriptor.spi.node.Node childNode) -
Method Summary
Modifier and TypeMethodDescriptiondefaultPrincipal(String defaultPrincipal) Sets thedefault-principalelementSets thedomainelementReturns thedefault-principalelementReturns thedomainelementIf not already created, a newdefault-groupselement with the given value will be created.If not already created, a newmappingselement with the given value will be created.Returns themapping-requiredelementmappingRequired(Boolean mappingRequired) Sets themapping-requiredelementRemoves thedefault-groupselementRemoves thedefault-principalelementRemoves thedomainelementRemoves themapping-requiredelementRemoves themappingselementup()
-
Constructor Details
-
WorkmanagerSecurityTypeImpl
-
WorkmanagerSecurityTypeImpl
-
-
Method Details
-
up
- Specified by:
upin interfaceorg.jboss.shrinkwrap.descriptor.api.Child<T>
-
mappingRequired
Sets themapping-requiredelement- Specified by:
mappingRequiredin interfaceWorkmanagerSecurityType<T>- Parameters:
mappingRequired- the value for the elementmapping-required- Returns:
- the current instance of
WorkmanagerSecurityType
-
isMappingRequired
Returns themapping-requiredelement- Specified by:
isMappingRequiredin interfaceWorkmanagerSecurityType<T>- Returns:
- the node defined for the element
mapping-required
-
removeMappingRequired
Removes themapping-requiredelement- Specified by:
removeMappingRequiredin interfaceWorkmanagerSecurityType<T>- Returns:
- the current instance of
WorkmanagerSecurityType
-
domain
Sets thedomainelement- Specified by:
domainin interfaceWorkmanagerSecurityType<T>- Parameters:
domain- the value for the elementdomain- Returns:
- the current instance of
WorkmanagerSecurityType
-
getDomain
Returns thedomainelement- Specified by:
getDomainin interfaceWorkmanagerSecurityType<T>- Returns:
- the node defined for the element
domain
-
removeDomain
Removes thedomainelement- Specified by:
removeDomainin interfaceWorkmanagerSecurityType<T>- Returns:
- the current instance of
WorkmanagerSecurityType
-
defaultPrincipal
Sets thedefault-principalelement- Specified by:
defaultPrincipalin interfaceWorkmanagerSecurityType<T>- Parameters:
defaultPrincipal- the value for the elementdefault-principal- Returns:
- the current instance of
WorkmanagerSecurityType
-
getDefaultPrincipal
Returns thedefault-principalelement- Specified by:
getDefaultPrincipalin interfaceWorkmanagerSecurityType<T>- Returns:
- the node defined for the element
default-principal
-
removeDefaultPrincipal
Removes thedefault-principalelement- Specified by:
removeDefaultPrincipalin interfaceWorkmanagerSecurityType<T>- Returns:
- the current instance of
WorkmanagerSecurityType
-
getOrCreateDefaultGroups
If not already created, a newdefault-groupselement with the given value will be created. Otherwise, the existingdefault-groupselement will be returned.- Specified by:
getOrCreateDefaultGroupsin interfaceWorkmanagerSecurityType<T>- Returns:
- a new or existing instance of
WorkmanagerSecurityGroupsType<WorkmanagerSecurityType>
-
removeDefaultGroups
Removes thedefault-groupselement- Specified by:
removeDefaultGroupsin interfaceWorkmanagerSecurityType<T>- Returns:
- the current instance of
WorkmanagerSecurityType
-
getOrCreateMappings
If not already created, a newmappingselement with the given value will be created. Otherwise, the existingmappingselement will be returned.- Specified by:
getOrCreateMappingsin interfaceWorkmanagerSecurityType<T>- Returns:
- a new or existing instance of
WorkmanagerSecurityMappingsType<WorkmanagerSecurityType>
-
removeMappings
Removes themappingselement- Specified by:
removeMappingsin interfaceWorkmanagerSecurityType<T>- Returns:
- the current instance of
WorkmanagerSecurityType
-