Interface AdminobjectType<T>
-
- All Superinterfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>
- All Known Implementing Classes:
AdminobjectTypeImpl
public interface AdminobjectType<T> extends org.jboss.shrinkwrap.descriptor.api.Child<T>This interface defines the contract for theadminobjectTypexsd type
-
-
Method Summary
All Methods Instance Methods Abstract 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 theidattribute
-
-
-
Method Detail
-
adminobjectInterface
AdminobjectType<T> adminobjectInterface(String adminobjectInterface)
Sets theadminobject-interfaceelement- Parameters:
adminobjectInterface- the value for the elementadminobject-interface- Returns:
- the current instance of
AdminobjectType
-
getAdminobjectInterface
String getAdminobjectInterface()
Returns theadminobject-interfaceelement- Returns:
- the node defined for the element
adminobject-interface
-
removeAdminobjectInterface
AdminobjectType<T> removeAdminobjectInterface()
Removes theadminobject-interfaceelement- Returns:
- the current instance of
AdminobjectType
-
adminobjectClass
AdminobjectType<T> adminobjectClass(String adminobjectClass)
Sets theadminobject-classelement- Parameters:
adminobjectClass- the value for the elementadminobject-class- Returns:
- the current instance of
AdminobjectType
-
getAdminobjectClass
String getAdminobjectClass()
Returns theadminobject-classelement- Returns:
- the node defined for the element
adminobject-class
-
removeAdminobjectClass
AdminobjectType<T> removeAdminobjectClass()
Removes theadminobject-classelement- Returns:
- the current instance of
AdminobjectType
-
getOrCreateConfigProperty
ConfigPropertyType<AdminobjectType<T>> getOrCreateConfigProperty()
If not already created, a newconfig-propertyelement will be created and returned. Otherwise, the first existingconfig-propertyelement will be returned.- Returns:
- the instance defined for the element
config-property
-
createConfigProperty
ConfigPropertyType<AdminobjectType<T>> createConfigProperty()
Creates a newconfig-propertyelement- Returns:
- the new created instance of
ConfigPropertyType>
-
getAllConfigProperty
List<ConfigPropertyType<AdminobjectType<T>>> getAllConfigProperty()
Returns allconfig-propertyelements- Returns:
- list of
config-property
-
removeAllConfigProperty
AdminobjectType<T> removeAllConfigProperty()
Removes allconfig-propertyelements- Returns:
- the current instance of
ConfigPropertyType>
-
id
AdminobjectType<T> id(String id)
Sets theidattribute- Parameters:
id- the value for the attributeid- Returns:
- the current instance of
AdminobjectType
-
getId
String getId()
Returns theidattribute- Returns:
- the value defined for the attribute
id
-
removeId
AdminobjectType<T> removeId()
Removes theidattribute- Returns:
- the current instance of
AdminobjectType
-
-