Class WorkmanagerSecurityTypeImpl<T>
- java.lang.Object
-
- org.jboss.jca.embedded.dsl.ironjacamar12.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 theworkmanagerSecurityTypexsd type
-
-
Constructor Summary
Constructors Constructor Description WorkmanagerSecurityTypeImpl(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkmanagerSecurityType<T>defaultPrincipal(String defaultPrincipal)Sets thedefault-principalelementWorkmanagerSecurityType<T>domain(String domain)Sets thedomainelementStringgetDefaultPrincipal()Returns thedefault-principalelementStringgetDomain()Returns thedomainelementWorkmanagerSecurityGroupsType<WorkmanagerSecurityType<T>>getOrCreateDefaultGroups()If not already created, a newdefault-groupselement with the given value will be created.WorkmanagerSecurityMappingsType<WorkmanagerSecurityType<T>>getOrCreateMappings()If not already created, a newmappingselement with the given value will be created.BooleanisMappingRequired()Returns themapping-requiredelementWorkmanagerSecurityType<T>mappingRequired(Boolean mappingRequired)Sets themapping-requiredelementWorkmanagerSecurityType<T>removeDefaultGroups()Removes thedefault-groupselementWorkmanagerSecurityType<T>removeDefaultPrincipal()Removes thedefault-principalelementWorkmanagerSecurityType<T>removeDomain()Removes thedomainelementWorkmanagerSecurityType<T>removeMappingRequired()Removes themapping-requiredelementWorkmanagerSecurityType<T>removeMappings()Removes themappingselementTup()
-
-
-
Method Detail
-
mappingRequired
public WorkmanagerSecurityType<T> mappingRequired(Boolean mappingRequired)
Sets themapping-requiredelement- Specified by:
mappingRequiredin interfaceWorkmanagerSecurityType<T>- Parameters:
mappingRequired- the value for the elementmapping-required- Returns:
- the current instance of
WorkmanagerSecurityType
-
isMappingRequired
public Boolean isMappingRequired()
Returns themapping-requiredelement- Specified by:
isMappingRequiredin interfaceWorkmanagerSecurityType<T>- Returns:
- the node defined for the element
mapping-required
-
removeMappingRequired
public WorkmanagerSecurityType<T> removeMappingRequired()
Removes themapping-requiredelement- Specified by:
removeMappingRequiredin interfaceWorkmanagerSecurityType<T>- Returns:
- the current instance of
WorkmanagerSecurityType
-
domain
public WorkmanagerSecurityType<T> domain(String domain)
Sets thedomainelement- Specified by:
domainin interfaceWorkmanagerSecurityType<T>- Parameters:
domain- the value for the elementdomain- Returns:
- the current instance of
WorkmanagerSecurityType
-
getDomain
public String getDomain()
Returns thedomainelement- Specified by:
getDomainin interfaceWorkmanagerSecurityType<T>- Returns:
- the node defined for the element
domain
-
removeDomain
public WorkmanagerSecurityType<T> removeDomain()
Removes thedomainelement- Specified by:
removeDomainin interfaceWorkmanagerSecurityType<T>- Returns:
- the current instance of
WorkmanagerSecurityType
-
defaultPrincipal
public WorkmanagerSecurityType<T> defaultPrincipal(String defaultPrincipal)
Sets thedefault-principalelement- Specified by:
defaultPrincipalin interfaceWorkmanagerSecurityType<T>- Parameters:
defaultPrincipal- the value for the elementdefault-principal- Returns:
- the current instance of
WorkmanagerSecurityType
-
getDefaultPrincipal
public String getDefaultPrincipal()
Returns thedefault-principalelement- Specified by:
getDefaultPrincipalin interfaceWorkmanagerSecurityType<T>- Returns:
- the node defined for the element
default-principal
-
removeDefaultPrincipal
public WorkmanagerSecurityType<T> removeDefaultPrincipal()
Removes thedefault-principalelement- Specified by:
removeDefaultPrincipalin interfaceWorkmanagerSecurityType<T>- Returns:
- the current instance of
WorkmanagerSecurityType
-
getOrCreateDefaultGroups
public WorkmanagerSecurityGroupsType<WorkmanagerSecurityType<T>> 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>
-
removeDefaultGroups
public WorkmanagerSecurityType<T> removeDefaultGroups()
Removes thedefault-groupselement- Specified by:
removeDefaultGroupsin interfaceWorkmanagerSecurityType<T>- Returns:
- the current instance of
WorkmanagerSecurityType
-
getOrCreateMappings
public WorkmanagerSecurityMappingsType<WorkmanagerSecurityType<T>> 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>
-
removeMappings
public WorkmanagerSecurityType<T> removeMappings()
Removes themappingselement- Specified by:
removeMappingsin interfaceWorkmanagerSecurityType<T>- Returns:
- the current instance of
WorkmanagerSecurityType
-
-