public class AdminObjectsTypeImpl<T> extends Object implements org.jboss.shrinkwrap.descriptor.api.Child<T>, AdminObjectsType<T>
admin-objectsType
xsd typeConstructor and 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) |
Modifier and Type | Method and Description |
---|---|
AdminObjectType<AdminObjectsType<T>> |
createAdminObject()
Creates a new
admin-object element |
List<AdminObjectType<AdminObjectsType<T>>> |
getAllAdminObject()
Returns all
admin-object elements |
AdminObjectType<AdminObjectsType<T>> |
getOrCreateAdminObject()
If not already created, a new
admin-object element will be created and returned. |
AdminObjectsType<T> |
removeAllAdminObject()
Removes all
admin-object elements |
T |
up() |
public AdminObjectsTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node)
public AdminObjectType<AdminObjectsType<T>> getOrCreateAdminObject()
admin-object
element will be created and returned.
Otherwise, the first existing admin-object
element will be returned.getOrCreateAdminObject
in interface AdminObjectsType<T>
admin-object
public AdminObjectType<AdminObjectsType<T>> createAdminObject()
admin-object
elementcreateAdminObject
in interface AdminObjectsType<T>
AdminObjectType>
public List<AdminObjectType<AdminObjectsType<T>>> getAllAdminObject()
admin-object
elementsgetAllAdminObject
in interface AdminObjectsType<T>
admin-object
public AdminObjectsType<T> removeAllAdminObject()
admin-object
elementsremoveAllAdminObject
in interface AdminObjectsType<T>
AdminObjectType>
Copyright © 2017 JBoss by Red Hat. All rights reserved.