public class AdminobjectTypeImpl<T> extends Object implements org.jboss.shrinkwrap.descriptor.api.Child<T>, AdminobjectType<T>
adminobjectType xsd type| Constructor 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-interfaceAdminobjectTypepublic String getAdminobjectInterface()
adminobject-interface elementgetAdminobjectInterface in interface AdminobjectType<T>adminobject-interfacepublic AdminobjectType<T> removeAdminobjectInterface()
adminobject-interface elementremoveAdminobjectInterface in interface AdminobjectType<T>AdminobjectTypepublic AdminobjectType<T> adminobjectClass(String adminobjectClass)
adminobject-class elementadminobjectClass in interface AdminobjectType<T>adminobjectClass - the value for the element adminobject-classAdminobjectTypepublic String getAdminobjectClass()
adminobject-class elementgetAdminobjectClass in interface AdminobjectType<T>adminobject-classpublic AdminobjectType<T> removeAdminobjectClass()
adminobject-class elementremoveAdminobjectClass in interface AdminobjectType<T>AdminobjectTypepublic 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-propertypublic 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-propertypublic 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 idAdminobjectTypepublic String getId()
id attributegetId in interface AdminobjectType<T>idpublic AdminobjectType<T> removeId()
id attributeremoveId in interface AdminobjectType<T>AdminobjectTypeCopyright © 2021 JBoss by Red Hat. All rights reserved.