public class ResourceadapterTypeImpl<T> extends Object implements org.jboss.shrinkwrap.descriptor.api.Child<T>, ResourceadapterType<T>
resourceadapterType xsd type| Constructor and Description |
|---|
ResourceadapterTypeImpl(T t,
String nodeName,
org.jboss.shrinkwrap.descriptor.spi.node.Node node) |
ResourceadapterTypeImpl(T t,
String nodeName,
org.jboss.shrinkwrap.descriptor.spi.node.Node node,
org.jboss.shrinkwrap.descriptor.spi.node.Node childNode) |
| Modifier and Type | Method and Description |
|---|---|
AdminobjectType<ResourceadapterType<T>> |
createAdminobject()
Creates a new
adminobject element |
ConfigPropertyType<ResourceadapterType<T>> |
createConfigProperty()
Creates a new
config-property element |
SecurityPermissionType<ResourceadapterType<T>> |
createSecurityPermission()
Creates a new
security-permission element |
List<AdminobjectType<ResourceadapterType<T>>> |
getAllAdminobject()
Returns all
adminobject elements |
List<ConfigPropertyType<ResourceadapterType<T>>> |
getAllConfigProperty()
Returns all
config-property elements |
List<SecurityPermissionType<ResourceadapterType<T>>> |
getAllSecurityPermission()
Returns all
security-permission elements |
String |
getId()
Returns the
id attribute |
AdminobjectType<ResourceadapterType<T>> |
getOrCreateAdminobject()
If not already created, a new
adminobject element will be created and returned. |
ConfigPropertyType<ResourceadapterType<T>> |
getOrCreateConfigProperty()
If not already created, a new
config-property element will be created and returned. |
InboundResourceadapterType<ResourceadapterType<T>> |
getOrCreateInboundResourceadapter()
If not already created, a new
inbound-resourceadapter element with the given value will be created. |
OutboundResourceadapterType<ResourceadapterType<T>> |
getOrCreateOutboundResourceadapter()
If not already created, a new
outbound-resourceadapter element with the given value will be created. |
SecurityPermissionType<ResourceadapterType<T>> |
getOrCreateSecurityPermission()
If not already created, a new
security-permission element will be created and returned. |
String |
getResourceadapterClass()
Returns the
resourceadapter-class element |
ResourceadapterType<T> |
id(String id)
Sets the
id attribute |
ResourceadapterType<T> |
removeAllAdminobject()
Removes all
adminobject elements |
ResourceadapterType<T> |
removeAllConfigProperty()
Removes all
config-property elements |
ResourceadapterType<T> |
removeAllSecurityPermission()
Removes all
security-permission elements |
ResourceadapterType<T> |
removeId()
Removes the
id attribute |
ResourceadapterType<T> |
removeInboundResourceadapter()
Removes the
inbound-resourceadapter element |
ResourceadapterType<T> |
removeOutboundResourceadapter()
Removes the
outbound-resourceadapter element |
ResourceadapterType<T> |
removeResourceadapterClass()
Removes the
resourceadapter-class element |
ResourceadapterType<T> |
resourceadapterClass(String resourceadapterClass)
Sets the
resourceadapter-class element |
T |
up() |
public ResourceadapterTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node)
public ResourceadapterType<T> resourceadapterClass(String resourceadapterClass)
resourceadapter-class elementresourceadapterClass in interface ResourceadapterType<T>resourceadapterClass - the value for the element resourceadapter-classResourceadapterTypepublic String getResourceadapterClass()
resourceadapter-class elementgetResourceadapterClass in interface ResourceadapterType<T>resourceadapter-classpublic ResourceadapterType<T> removeResourceadapterClass()
resourceadapter-class elementremoveResourceadapterClass in interface ResourceadapterType<T>ResourceadapterTypepublic ConfigPropertyType<ResourceadapterType<T>> getOrCreateConfigProperty()
config-property element will be created and returned.
Otherwise, the first existing config-property element will be returned.getOrCreateConfigProperty in interface ResourceadapterType<T>config-propertypublic ConfigPropertyType<ResourceadapterType<T>> createConfigProperty()
config-property elementcreateConfigProperty in interface ResourceadapterType<T>ConfigPropertyType> public List<ConfigPropertyType<ResourceadapterType<T>>> getAllConfigProperty()
config-property elementsgetAllConfigProperty in interface ResourceadapterType<T>config-propertypublic ResourceadapterType<T> removeAllConfigProperty()
config-property elementsremoveAllConfigProperty in interface ResourceadapterType<T>ConfigPropertyType> public OutboundResourceadapterType<ResourceadapterType<T>> getOrCreateOutboundResourceadapter()
outbound-resourceadapter element with the given value will be created.
Otherwise, the existing outbound-resourceadapter element will be returned.getOrCreateOutboundResourceadapter in interface ResourceadapterType<T>OutboundResourceadapterType> public ResourceadapterType<T> removeOutboundResourceadapter()
outbound-resourceadapter elementremoveOutboundResourceadapter in interface ResourceadapterType<T>ResourceadapterTypepublic InboundResourceadapterType<ResourceadapterType<T>> getOrCreateInboundResourceadapter()
inbound-resourceadapter element with the given value will be created.
Otherwise, the existing inbound-resourceadapter element will be returned.getOrCreateInboundResourceadapter in interface ResourceadapterType<T>InboundResourceadapterType> public ResourceadapterType<T> removeInboundResourceadapter()
inbound-resourceadapter elementremoveInboundResourceadapter in interface ResourceadapterType<T>ResourceadapterTypepublic AdminobjectType<ResourceadapterType<T>> getOrCreateAdminobject()
adminobject element will be created and returned.
Otherwise, the first existing adminobject element will be returned.getOrCreateAdminobject in interface ResourceadapterType<T>adminobjectpublic AdminobjectType<ResourceadapterType<T>> createAdminobject()
adminobject elementcreateAdminobject in interface ResourceadapterType<T>AdminobjectType> public List<AdminobjectType<ResourceadapterType<T>>> getAllAdminobject()
adminobject elementsgetAllAdminobject in interface ResourceadapterType<T>adminobjectpublic ResourceadapterType<T> removeAllAdminobject()
adminobject elementsremoveAllAdminobject in interface ResourceadapterType<T>AdminobjectType> public SecurityPermissionType<ResourceadapterType<T>> getOrCreateSecurityPermission()
security-permission element will be created and returned.
Otherwise, the first existing security-permission element will be returned.getOrCreateSecurityPermission in interface ResourceadapterType<T>security-permissionpublic SecurityPermissionType<ResourceadapterType<T>> createSecurityPermission()
security-permission elementcreateSecurityPermission in interface ResourceadapterType<T>SecurityPermissionType> public List<SecurityPermissionType<ResourceadapterType<T>>> getAllSecurityPermission()
security-permission elementsgetAllSecurityPermission in interface ResourceadapterType<T>security-permissionpublic ResourceadapterType<T> removeAllSecurityPermission()
security-permission elementsremoveAllSecurityPermission in interface ResourceadapterType<T>SecurityPermissionType> public ResourceadapterType<T> id(String id)
id attributeid in interface ResourceadapterType<T>id - the value for the attribute idResourceadapterTypepublic String getId()
id attributegetId in interface ResourceadapterType<T>idpublic ResourceadapterType<T> removeId()
id attributeremoveId in interface ResourceadapterType<T>ResourceadapterTypeCopyright © 2021 JBoss by Red Hat. All rights reserved.