Class AdminobjectTypeImpl<T>
java.lang.Object
org.jboss.shrinkwrap.descriptor.impl.connector17.AdminobjectTypeImpl<T>
- All Implemented Interfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>,AdminobjectType<T>
public class AdminobjectTypeImpl<T>
extends Object
implements org.jboss.shrinkwrap.descriptor.api.Child<T>, AdminobjectType<T>
This class implements the
adminobjectType xsd type-
Constructor Summary
ConstructorsConstructorDescriptionAdminobjectTypeImpl(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) -
Method Summary
Modifier and TypeMethodDescriptionadminobjectClass(String adminobjectClass) Sets theadminobject-classelementadminobjectInterface(String adminobjectInterface) Sets theadminobject-interfaceelementCreates a newconfig-propertyelementReturns theadminobject-classelementReturns theadminobject-interfaceelementReturns allconfig-propertyelementsgetId()Returns theidattributeIf not already created, a newconfig-propertyelement will be created and returned.Sets theidattributeRemoves theadminobject-classelementRemoves theadminobject-interfaceelementRemoves allconfig-propertyelementsremoveId()Removes theidattributeup()
-
Constructor Details
-
AdminobjectTypeImpl
-
AdminobjectTypeImpl
-
-
Method Details
-
up
- Specified by:
upin interfaceorg.jboss.shrinkwrap.descriptor.api.Child<T>
-
adminobjectInterface
Sets theadminobject-interfaceelement- Specified by:
adminobjectInterfacein interfaceAdminobjectType<T>- Parameters:
adminobjectInterface- the value for the elementadminobject-interface- Returns:
- the current instance of
AdminobjectType
-
getAdminobjectInterface
Returns theadminobject-interfaceelement- Specified by:
getAdminobjectInterfacein interfaceAdminobjectType<T>- Returns:
- the node defined for the element
adminobject-interface
-
removeAdminobjectInterface
Removes theadminobject-interfaceelement- Specified by:
removeAdminobjectInterfacein interfaceAdminobjectType<T>- Returns:
- the current instance of
AdminobjectType
-
adminobjectClass
Sets theadminobject-classelement- Specified by:
adminobjectClassin interfaceAdminobjectType<T>- Parameters:
adminobjectClass- the value for the elementadminobject-class- Returns:
- the current instance of
AdminobjectType
-
getAdminobjectClass
Returns theadminobject-classelement- Specified by:
getAdminobjectClassin interfaceAdminobjectType<T>- Returns:
- the node defined for the element
adminobject-class
-
removeAdminobjectClass
Removes theadminobject-classelement- Specified by:
removeAdminobjectClassin interfaceAdminobjectType<T>- Returns:
- the current instance of
AdminobjectType
-
getOrCreateConfigProperty
If not already created, a newconfig-propertyelement will be created and returned. Otherwise, the first existingconfig-propertyelement will be returned.- Specified by:
getOrCreateConfigPropertyin interfaceAdminobjectType<T>- Returns:
- the instance defined for the element
config-property
-
createConfigProperty
Creates a newconfig-propertyelement- Specified by:
createConfigPropertyin interfaceAdminobjectType<T>- Returns:
- the new created instance of
ConfigPropertyType<AdminobjectType>
-
getAllConfigProperty
Returns allconfig-propertyelements- Specified by:
getAllConfigPropertyin interfaceAdminobjectType<T>- Returns:
- list of
config-property
-
removeAllConfigProperty
Removes allconfig-propertyelements- Specified by:
removeAllConfigPropertyin interfaceAdminobjectType<T>- Returns:
- the current instance of
ConfigPropertyType<AdminobjectType>
-
id
Sets theidattribute- Specified by:
idin interfaceAdminobjectType<T>- Parameters:
id- the value for the attributeid- Returns:
- the current instance of
AdminobjectType
-
getId
Returns theidattribute- Specified by:
getIdin interfaceAdminobjectType<T>- Returns:
- the value defined for the attribute
id
-
removeId
Removes theidattribute- Specified by:
removeIdin interfaceAdminobjectType<T>- Returns:
- the current instance of
AdminobjectType
-