Interface AdministeredObjectType<T>
-
- All Superinterfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>
- All Known Implementing Classes:
AdministeredObjectTypeImpl
public interface AdministeredObjectType<T> extends org.jboss.shrinkwrap.descriptor.api.Child<T>This interface defines the contract for theadministered-objectTypexsd type
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AdministeredObjectType<T>className(String className)Sets theclass-nameelementPropertyType<AdministeredObjectType<T>>createProperty()Creates a newpropertyelementAdministeredObjectType<T>description(String description)Sets thedescriptionelementList<PropertyType<AdministeredObjectType<T>>>getAllProperty()Returns allpropertyelementsStringgetClassName()Returns theclass-nameelementStringgetDescription()Returns thedescriptionelementStringgetId()Returns theidattributeStringgetInterfaceName()Returns theinterface-nameelementStringgetName()Returns thenameelementPropertyType<AdministeredObjectType<T>>getOrCreateProperty()If not already created, a newpropertyelement will be created and returned.StringgetResourceAdapter()Returns theresource-adapterelementAdministeredObjectType<T>id(String id)Sets theidattributeAdministeredObjectType<T>interfaceName(String interfaceName)Sets theinterface-nameelementAdministeredObjectType<T>name(String name)Sets thenameelementAdministeredObjectType<T>removeAllProperty()Removes allpropertyelementsAdministeredObjectType<T>removeClassName()Removes theclass-nameelementAdministeredObjectType<T>removeDescription()Removes thedescriptionelementAdministeredObjectType<T>removeId()Removes theidattributeAdministeredObjectType<T>removeInterfaceName()Removes theinterface-nameelementAdministeredObjectType<T>removeName()Removes thenameelementAdministeredObjectType<T>removeResourceAdapter()Removes theresource-adapterelementAdministeredObjectType<T>resourceAdapter(String resourceAdapter)Sets theresource-adapterelement
-
-
-
Method Detail
-
description
AdministeredObjectType<T> description(String description)
Sets thedescriptionelement- Parameters:
description- the value for the elementdescription- Returns:
- the current instance of
AdministeredObjectType
-
getDescription
String getDescription()
Returns thedescriptionelement- Returns:
- the node defined for the element
description
-
removeDescription
AdministeredObjectType<T> removeDescription()
Removes thedescriptionelement- Returns:
- the current instance of
AdministeredObjectType
-
name
AdministeredObjectType<T> name(String name)
Sets thenameelement- Parameters:
name- the value for the elementname- Returns:
- the current instance of
AdministeredObjectType
-
getName
String getName()
Returns thenameelement- Returns:
- the node defined for the element
name
-
removeName
AdministeredObjectType<T> removeName()
Removes thenameelement- Returns:
- the current instance of
AdministeredObjectType
-
interfaceName
AdministeredObjectType<T> interfaceName(String interfaceName)
Sets theinterface-nameelement- Parameters:
interfaceName- the value for the elementinterface-name- Returns:
- the current instance of
AdministeredObjectType
-
getInterfaceName
String getInterfaceName()
Returns theinterface-nameelement- Returns:
- the node defined for the element
interface-name
-
removeInterfaceName
AdministeredObjectType<T> removeInterfaceName()
Removes theinterface-nameelement- Returns:
- the current instance of
AdministeredObjectType
-
className
AdministeredObjectType<T> className(String className)
Sets theclass-nameelement- Parameters:
className- the value for the elementclass-name- Returns:
- the current instance of
AdministeredObjectType
-
getClassName
String getClassName()
Returns theclass-nameelement- Returns:
- the node defined for the element
class-name
-
removeClassName
AdministeredObjectType<T> removeClassName()
Removes theclass-nameelement- Returns:
- the current instance of
AdministeredObjectType
-
resourceAdapter
AdministeredObjectType<T> resourceAdapter(String resourceAdapter)
Sets theresource-adapterelement- Parameters:
resourceAdapter- the value for the elementresource-adapter- Returns:
- the current instance of
AdministeredObjectType
-
getResourceAdapter
String getResourceAdapter()
Returns theresource-adapterelement- Returns:
- the node defined for the element
resource-adapter
-
removeResourceAdapter
AdministeredObjectType<T> removeResourceAdapter()
Removes theresource-adapterelement- Returns:
- the current instance of
AdministeredObjectType
-
getOrCreateProperty
PropertyType<AdministeredObjectType<T>> getOrCreateProperty()
If not already created, a newpropertyelement will be created and returned. Otherwise, the first existingpropertyelement will be returned.- Returns:
- the instance defined for the element
property
-
createProperty
PropertyType<AdministeredObjectType<T>> createProperty()
Creates a newpropertyelement- Returns:
- the new created instance of
PropertyType>
-
getAllProperty
List<PropertyType<AdministeredObjectType<T>>> getAllProperty()
Returns allpropertyelements- Returns:
- list of
property
-
removeAllProperty
AdministeredObjectType<T> removeAllProperty()
Removes allpropertyelements- Returns:
- the current instance of
PropertyType>
-
id
AdministeredObjectType<T> id(String id)
Sets theidattribute- Parameters:
id- the value for the attributeid- Returns:
- the current instance of
AdministeredObjectType
-
getId
String getId()
Returns theidattribute- Returns:
- the value defined for the attribute
id
-
removeId
AdministeredObjectType<T> removeId()
Removes theidattribute- Returns:
- the current instance of
AdministeredObjectType
-
-