Class AdminobjectTypeImpl<T>
- java.lang.Object
-
- org.jboss.shrinkwrap.descriptor.impl.connector16.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 theadminobjectTypexsd type
-
-
Constructor Summary
Constructors Constructor 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)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AdminobjectType<T>adminobjectClass(String adminobjectClass)Sets theadminobject-classelementAdminobjectType<T>adminobjectInterface(String adminobjectInterface)Sets theadminobject-interfaceelementConfigPropertyType<AdminobjectType<T>>createConfigProperty()Creates a newconfig-propertyelementStringgetAdminobjectClass()Returns theadminobject-classelementStringgetAdminobjectInterface()Returns theadminobject-interfaceelementList<ConfigPropertyType<AdminobjectType<T>>>getAllConfigProperty()Returns allconfig-propertyelementsStringgetId()Returns theidattributeConfigPropertyType<AdminobjectType<T>>getOrCreateConfigProperty()If not already created, a newconfig-propertyelement will be created and returned.AdminobjectType<T>id(String id)Sets theidattributeAdminobjectType<T>removeAdminobjectClass()Removes theadminobject-classelementAdminobjectType<T>removeAdminobjectInterface()Removes theadminobject-interfaceelementAdminobjectType<T>removeAllConfigProperty()Removes allconfig-propertyelementsAdminobjectType<T>removeId()Removes theidattributeTup()
-
-
-
Method Detail
-
adminobjectInterface
public AdminobjectType<T> adminobjectInterface(String adminobjectInterface)
Sets theadminobject-interfaceelement- Specified by:
adminobjectInterfacein interfaceAdminobjectType<T>- Parameters:
adminobjectInterface- the value for the elementadminobject-interface- Returns:
- the current instance of
AdminobjectType
-
getAdminobjectInterface
public String getAdminobjectInterface()
Returns theadminobject-interfaceelement- Specified by:
getAdminobjectInterfacein interfaceAdminobjectType<T>- Returns:
- the node defined for the element
adminobject-interface
-
removeAdminobjectInterface
public AdminobjectType<T> removeAdminobjectInterface()
Removes theadminobject-interfaceelement- Specified by:
removeAdminobjectInterfacein interfaceAdminobjectType<T>- Returns:
- the current instance of
AdminobjectType
-
adminobjectClass
public AdminobjectType<T> adminobjectClass(String adminobjectClass)
Sets theadminobject-classelement- Specified by:
adminobjectClassin interfaceAdminobjectType<T>- Parameters:
adminobjectClass- the value for the elementadminobject-class- Returns:
- the current instance of
AdminobjectType
-
getAdminobjectClass
public String getAdminobjectClass()
Returns theadminobject-classelement- Specified by:
getAdminobjectClassin interfaceAdminobjectType<T>- Returns:
- the node defined for the element
adminobject-class
-
removeAdminobjectClass
public AdminobjectType<T> removeAdminobjectClass()
Removes theadminobject-classelement- Specified by:
removeAdminobjectClassin interfaceAdminobjectType<T>- Returns:
- the current instance of
AdminobjectType
-
getOrCreateConfigProperty
public ConfigPropertyType<AdminobjectType<T>> 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
public ConfigPropertyType<AdminobjectType<T>> createConfigProperty()
Creates a newconfig-propertyelement- Specified by:
createConfigPropertyin interfaceAdminobjectType<T>- Returns:
- the new created instance of
ConfigPropertyType>
-
getAllConfigProperty
public List<ConfigPropertyType<AdminobjectType<T>>> getAllConfigProperty()
Returns allconfig-propertyelements- Specified by:
getAllConfigPropertyin interfaceAdminobjectType<T>- Returns:
- list of
config-property
-
removeAllConfigProperty
public AdminobjectType<T> removeAllConfigProperty()
Removes allconfig-propertyelements- Specified by:
removeAllConfigPropertyin interfaceAdminobjectType<T>- Returns:
- the current instance of
ConfigPropertyType>
-
id
public AdminobjectType<T> id(String id)
Sets theidattribute- Specified by:
idin interfaceAdminobjectType<T>- Parameters:
id- the value for the attributeid- Returns:
- the current instance of
AdminobjectType
-
getId
public String getId()
Returns theidattribute- Specified by:
getIdin interfaceAdminobjectType<T>- Returns:
- the value defined for the attribute
id
-
removeId
public AdminobjectType<T> removeId()
Removes theidattribute- Specified by:
removeIdin interfaceAdminobjectType<T>- Returns:
- the current instance of
AdminobjectType
-
-