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 the
admin-objectsType xsd type-
Method Summary
Modifier and TypeMethodDescriptionCreates a newadmin-objectelementReturns alladmin-objectelementsIf not already created, a newadmin-objectelement will be created and returned.Removes alladmin-objectelementsMethods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
-
Method Details
-
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<AdminObjectsType>
-
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<AdminObjectsType>
-