Interface ResourceadapterType<T>
-
- All Superinterfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>
- All Known Implementing Classes:
ResourceadapterTypeImpl
public interface ResourceadapterType<T> extends org.jboss.shrinkwrap.descriptor.api.Child<T>This interface defines the contract for theresourceadapterTypexsd type
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AdminobjectType<ResourceadapterType<T>>createAdminobject()Creates a newadminobjectelementConfigPropertyType<ResourceadapterType<T>>createConfigProperty()Creates a newconfig-propertyelementSecurityPermissionType<ResourceadapterType<T>>createSecurityPermission()Creates a newsecurity-permissionelementList<AdminobjectType<ResourceadapterType<T>>>getAllAdminobject()Returns alladminobjectelementsList<ConfigPropertyType<ResourceadapterType<T>>>getAllConfigProperty()Returns allconfig-propertyelementsList<SecurityPermissionType<ResourceadapterType<T>>>getAllSecurityPermission()Returns allsecurity-permissionelementsStringgetId()Returns theidattributeAdminobjectType<ResourceadapterType<T>>getOrCreateAdminobject()If not already created, a newadminobjectelement will be created and returned.ConfigPropertyType<ResourceadapterType<T>>getOrCreateConfigProperty()If not already created, a newconfig-propertyelement will be created and returned.InboundResourceadapterType<ResourceadapterType<T>>getOrCreateInboundResourceadapter()If not already created, a newinbound-resourceadapterelement with the given value will be created.OutboundResourceadapterType<ResourceadapterType<T>>getOrCreateOutboundResourceadapter()If not already created, a newoutbound-resourceadapterelement with the given value will be created.SecurityPermissionType<ResourceadapterType<T>>getOrCreateSecurityPermission()If not already created, a newsecurity-permissionelement will be created and returned.StringgetResourceadapterClass()Returns theresourceadapter-classelementResourceadapterType<T>id(String id)Sets theidattributeResourceadapterType<T>removeAllAdminobject()Removes alladminobjectelementsResourceadapterType<T>removeAllConfigProperty()Removes allconfig-propertyelementsResourceadapterType<T>removeAllSecurityPermission()Removes allsecurity-permissionelementsResourceadapterType<T>removeId()Removes theidattributeResourceadapterType<T>removeInboundResourceadapter()Removes theinbound-resourceadapterelementResourceadapterType<T>removeOutboundResourceadapter()Removes theoutbound-resourceadapterelementResourceadapterType<T>removeResourceadapterClass()Removes theresourceadapter-classelementResourceadapterType<T>resourceadapterClass(String resourceadapterClass)Sets theresourceadapter-classelement
-
-
-
Method Detail
-
resourceadapterClass
ResourceadapterType<T> resourceadapterClass(String resourceadapterClass)
Sets theresourceadapter-classelement- Parameters:
resourceadapterClass- the value for the elementresourceadapter-class- Returns:
- the current instance of
ResourceadapterType
-
getResourceadapterClass
String getResourceadapterClass()
Returns theresourceadapter-classelement- Returns:
- the node defined for the element
resourceadapter-class
-
removeResourceadapterClass
ResourceadapterType<T> removeResourceadapterClass()
Removes theresourceadapter-classelement- Returns:
- the current instance of
ResourceadapterType
-
getOrCreateConfigProperty
ConfigPropertyType<ResourceadapterType<T>> getOrCreateConfigProperty()
If not already created, a newconfig-propertyelement will be created and returned. Otherwise, the first existingconfig-propertyelement will be returned.- Returns:
- the instance defined for the element
config-property
-
createConfigProperty
ConfigPropertyType<ResourceadapterType<T>> createConfigProperty()
Creates a newconfig-propertyelement- Returns:
- the new created instance of
ConfigPropertyType>
-
getAllConfigProperty
List<ConfigPropertyType<ResourceadapterType<T>>> getAllConfigProperty()
Returns allconfig-propertyelements- Returns:
- list of
config-property
-
removeAllConfigProperty
ResourceadapterType<T> removeAllConfigProperty()
Removes allconfig-propertyelements- Returns:
- the current instance of
ConfigPropertyType>
-
getOrCreateOutboundResourceadapter
OutboundResourceadapterType<ResourceadapterType<T>> getOrCreateOutboundResourceadapter()
If not already created, a newoutbound-resourceadapterelement with the given value will be created. Otherwise, the existingoutbound-resourceadapterelement will be returned.- Returns:
- a new or existing instance of
OutboundResourceadapterType>
-
removeOutboundResourceadapter
ResourceadapterType<T> removeOutboundResourceadapter()
Removes theoutbound-resourceadapterelement- Returns:
- the current instance of
ResourceadapterType
-
getOrCreateInboundResourceadapter
InboundResourceadapterType<ResourceadapterType<T>> getOrCreateInboundResourceadapter()
If not already created, a newinbound-resourceadapterelement with the given value will be created. Otherwise, the existinginbound-resourceadapterelement will be returned.- Returns:
- a new or existing instance of
InboundResourceadapterType>
-
removeInboundResourceadapter
ResourceadapterType<T> removeInboundResourceadapter()
Removes theinbound-resourceadapterelement- Returns:
- the current instance of
ResourceadapterType
-
getOrCreateAdminobject
AdminobjectType<ResourceadapterType<T>> getOrCreateAdminobject()
If not already created, a newadminobjectelement will be created and returned. Otherwise, the first existingadminobjectelement will be returned.- Returns:
- the instance defined for the element
adminobject
-
createAdminobject
AdminobjectType<ResourceadapterType<T>> createAdminobject()
Creates a newadminobjectelement- Returns:
- the new created instance of
AdminobjectType>
-
getAllAdminobject
List<AdminobjectType<ResourceadapterType<T>>> getAllAdminobject()
Returns alladminobjectelements- Returns:
- list of
adminobject
-
removeAllAdminobject
ResourceadapterType<T> removeAllAdminobject()
Removes alladminobjectelements- Returns:
- the current instance of
AdminobjectType>
-
getOrCreateSecurityPermission
SecurityPermissionType<ResourceadapterType<T>> getOrCreateSecurityPermission()
If not already created, a newsecurity-permissionelement will be created and returned. Otherwise, the first existingsecurity-permissionelement will be returned.- Returns:
- the instance defined for the element
security-permission
-
createSecurityPermission
SecurityPermissionType<ResourceadapterType<T>> createSecurityPermission()
Creates a newsecurity-permissionelement- Returns:
- the new created instance of
SecurityPermissionType>
-
getAllSecurityPermission
List<SecurityPermissionType<ResourceadapterType<T>>> getAllSecurityPermission()
Returns allsecurity-permissionelements- Returns:
- list of
security-permission
-
removeAllSecurityPermission
ResourceadapterType<T> removeAllSecurityPermission()
Removes allsecurity-permissionelements- Returns:
- the current instance of
SecurityPermissionType>
-
id
ResourceadapterType<T> id(String id)
Sets theidattribute- Parameters:
id- the value for the attributeid- Returns:
- the current instance of
ResourceadapterType
-
getId
String getId()
Returns theidattribute- Returns:
- the value defined for the attribute
id
-
removeId
ResourceadapterType<T> removeId()
Removes theidattribute- Returns:
- the current instance of
ResourceadapterType
-
-