Class AdminObjectsTypeImpl<T>
- java.lang.Object
-
- org.jboss.jca.embedded.dsl.resourceadapters12.impl.AdminObjectsTypeImpl<T>
-
- All Implemented Interfaces:
AdminObjectsType<T>,org.jboss.shrinkwrap.descriptor.api.Child<T>
public class AdminObjectsTypeImpl<T> extends Object implements org.jboss.shrinkwrap.descriptor.api.Child<T>, AdminObjectsType<T>
This class implements theadmin-objectsTypexsd type
-
-
Constructor Summary
Constructors Constructor Description AdminObjectsTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node)AdminObjectsTypeImpl(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 AdminObjectType<AdminObjectsType<T>>createAdminObject()Creates a newadmin-objectelementList<AdminObjectType<AdminObjectsType<T>>>getAllAdminObject()Returns alladmin-objectelementsAdminObjectType<AdminObjectsType<T>>getOrCreateAdminObject()If not already created, a newadmin-objectelement will be created and returned.AdminObjectsType<T>removeAllAdminObject()Removes alladmin-objectelementsTup()
-
-
-
Method Detail
-
getOrCreateAdminObject
public AdminObjectType<AdminObjectsType<T>> getOrCreateAdminObject()
If not already created, a newadmin-objectelement will be created and returned. Otherwise, the first existingadmin-objectelement will be returned.- Specified by:
getOrCreateAdminObjectin interfaceAdminObjectsType<T>- Returns:
- the instance defined for the element
admin-object
-
createAdminObject
public AdminObjectType<AdminObjectsType<T>> createAdminObject()
Creates a newadmin-objectelement- Specified by:
createAdminObjectin interfaceAdminObjectsType<T>- Returns:
- the new created instance of
AdminObjectType>
-
getAllAdminObject
public List<AdminObjectType<AdminObjectsType<T>>> getAllAdminObject()
Returns alladmin-objectelements- Specified by:
getAllAdminObjectin interfaceAdminObjectsType<T>- Returns:
- list of
admin-object
-
removeAllAdminObject
public AdminObjectsType<T> removeAllAdminObject()
Removes alladmin-objectelements- Specified by:
removeAllAdminObjectin interfaceAdminObjectsType<T>- Returns:
- the current instance of
AdminObjectType>
-
-