public class AdminobjectTypeImpl<T> extends Object implements org.jboss.shrinkwrap.descriptor.api.Child<T>, AdminobjectType<T>
adminobjectType
xsd typeConstructor and Description |
---|
AdminobjectTypeImpl(T t,
String nodeName,
org.jboss.shrinkwrap.descriptor.spi.node.Node node) |
AdminobjectTypeImpl(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<T> |
adminobjectClass(String adminobjectClass)
Sets the
adminobject-class element |
AdminobjectType<T> |
adminobjectInterface(String adminobjectInterface)
Sets the
adminobject-interface element |
ConfigPropertyType<AdminobjectType<T>> |
createConfigProperty()
Creates a new
config-property element |
String |
getAdminobjectClass()
Returns the
adminobject-class element |
String |
getAdminobjectInterface()
Returns the
adminobject-interface element |
List<ConfigPropertyType<AdminobjectType<T>>> |
getAllConfigProperty()
Returns all
config-property elements |
String |
getId()
Returns the
id attribute |
ConfigPropertyType<AdminobjectType<T>> |
getOrCreateConfigProperty()
If not already created, a new
config-property element will be created and returned. |
AdminobjectType<T> |
id(String id)
Sets the
id attribute |
AdminobjectType<T> |
removeAdminobjectClass()
Removes the
adminobject-class element |
AdminobjectType<T> |
removeAdminobjectInterface()
Removes the
adminobject-interface element |
AdminobjectType<T> |
removeAllConfigProperty()
Removes all
config-property elements |
AdminobjectType<T> |
removeId()
Removes the
id attribute |
T |
up() |
public AdminobjectTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node)
public AdminobjectType<T> adminobjectInterface(String adminobjectInterface)
adminobject-interface
elementadminobjectInterface
in interface AdminobjectType<T>
adminobjectInterface
- the value for the element adminobject-interface
AdminobjectType
public String getAdminobjectInterface()
adminobject-interface
elementgetAdminobjectInterface
in interface AdminobjectType<T>
adminobject-interface
public AdminobjectType<T> removeAdminobjectInterface()
adminobject-interface
elementremoveAdminobjectInterface
in interface AdminobjectType<T>
AdminobjectType
public AdminobjectType<T> adminobjectClass(String adminobjectClass)
adminobject-class
elementadminobjectClass
in interface AdminobjectType<T>
adminobjectClass
- the value for the element adminobject-class
AdminobjectType
public String getAdminobjectClass()
adminobject-class
elementgetAdminobjectClass
in interface AdminobjectType<T>
adminobject-class
public AdminobjectType<T> removeAdminobjectClass()
adminobject-class
elementremoveAdminobjectClass
in interface AdminobjectType<T>
AdminobjectType
public ConfigPropertyType<AdminobjectType<T>> getOrCreateConfigProperty()
config-property
element will be created and returned.
Otherwise, the first existing config-property
element will be returned.getOrCreateConfigProperty
in interface AdminobjectType<T>
config-property
public ConfigPropertyType<AdminobjectType<T>> createConfigProperty()
config-property
elementcreateConfigProperty
in interface AdminobjectType<T>
ConfigPropertyType>
public List<ConfigPropertyType<AdminobjectType<T>>> getAllConfigProperty()
config-property
elementsgetAllConfigProperty
in interface AdminobjectType<T>
config-property
public AdminobjectType<T> removeAllConfigProperty()
config-property
elementsremoveAllConfigProperty
in interface AdminobjectType<T>
ConfigPropertyType>
public AdminobjectType<T> id(String id)
id
attributeid
in interface AdminobjectType<T>
id
- the value for the attribute id
AdminobjectType
public String getId()
id
attributegetId
in interface AdminobjectType<T>
id
public AdminobjectType<T> removeId()
id
attributeremoveId
in interface AdminobjectType<T>
AdminobjectType
Copyright © 2021 JBoss by Red Hat. All rights reserved.