Interface AdminObjectsType<T>
-
- All Superinterfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>
- All Known Implementing Classes:
AdminObjectsTypeImpl
public interface AdminObjectsType<T> extends org.jboss.shrinkwrap.descriptor.api.Child<T>This interface defines the contract for theadmin-objectsTypexsd type
-
-
Method Summary
All Methods Instance Methods Abstract 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-objectelements
-
-
-
Method Detail
-
getOrCreateAdminObject
AdminObjectType<AdminObjectsType<T>> getOrCreateAdminObject()
If not already created, a newadmin-objectelement will be created and returned. Otherwise, the first existingadmin-objectelement will be returned.- Returns:
- the instance defined for the element
admin-object
-
createAdminObject
AdminObjectType<AdminObjectsType<T>> createAdminObject()
Creates a newadmin-objectelement- Returns:
- the new created instance of
AdminObjectType>
-
getAllAdminObject
List<AdminObjectType<AdminObjectsType<T>>> getAllAdminObject()
Returns alladmin-objectelements- Returns:
- list of
admin-object
-
removeAllAdminObject
AdminObjectsType<T> removeAllAdminObject()
Removes alladmin-objectelements- Returns:
- the current instance of
AdminObjectType>
-
-