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 the
resourceadapterType xsd type-
Method Summary
Modifier and TypeMethodDescriptionCreates a newadminobjectelementCreates a newconfig-propertyelementCreates a newsecurity-permissionelementReturns alladminobjectelementsReturns allconfig-propertyelementsReturns allsecurity-permissionelementsgetId()Returns theidattributeIf not already created, a newadminobjectelement will be created and returned.If not already created, a newconfig-propertyelement will be created and returned.If not already created, a newinbound-resourceadapterelement with the given value will be created.If not already created, a newoutbound-resourceadapterelement with the given value will be created.If not already created, a newsecurity-permissionelement will be created and returned.Returns theresourceadapter-classelementSets theidattributeRemoves alladminobjectelementsRemoves allconfig-propertyelementsRemoves allsecurity-permissionelementsremoveId()Removes theidattributeRemoves theinbound-resourceadapterelementRemoves theoutbound-resourceadapterelementRemoves theresourceadapter-classelementresourceadapterClass(String resourceadapterClass) Sets theresourceadapter-classelementMethods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
-
Method Details
-
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
ConfigPropertyTypeinvalid input: '<'ResourceadapterType>
-
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
ConfigPropertyTypeinvalid input: '<'ResourceadapterType>
-
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
OutboundResourceadapterTypeinvalid input: '<'ResourceadapterType>
-
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
InboundResourceadapterTypeinvalid input: '<'ResourceadapterType>
-
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
AdminobjectTypeinvalid input: '<'ResourceadapterType>
-
getAllAdminobject
List<AdminobjectType<ResourceadapterType<T>>> getAllAdminobject()Returns alladminobjectelements- Returns:
- list of
adminobject
-
removeAllAdminobject
ResourceadapterType<T> removeAllAdminobject()Removes alladminobjectelements- Returns:
- the current instance of
AdminobjectTypeinvalid input: '<'ResourceadapterType>
-
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
SecurityPermissionTypeinvalid input: '<'ResourceadapterType>
-
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
SecurityPermissionTypeinvalid input: '<'ResourceadapterType>
-
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
-