Class AdministeredObjectTypeImpl<T>
java.lang.Object
org.jboss.shrinkwrap.descriptor.impl.javaee7.AdministeredObjectTypeImpl<T>
- All Implemented Interfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>,AdministeredObjectType<T>
public class AdministeredObjectTypeImpl<T>
extends Object
implements org.jboss.shrinkwrap.descriptor.api.Child<T>, AdministeredObjectType<T>
This class implements the
administered-objectType xsd type-
Constructor Summary
ConstructorsConstructorDescriptionAdministeredObjectTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node) AdministeredObjectTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node, org.jboss.shrinkwrap.descriptor.spi.node.Node childNode) -
Method Summary
Modifier and TypeMethodDescriptionSets theclass-nameelementCreates a newpropertyelementdescription(String description) Sets thedescriptionelementReturns allpropertyelementsReturns theclass-nameelementReturns thedescriptionelementgetId()Returns theidattributeReturns theinterface-nameelementgetName()Returns thenameelementIf not already created, a newpropertyelement will be created and returned.Returns theresource-adapterelementSets theidattributeinterfaceName(String interfaceName) Sets theinterface-nameelementSets thenameelementRemoves allpropertyelementsRemoves theclass-nameelementRemoves thedescriptionelementremoveId()Removes theidattributeRemoves theinterface-nameelementRemoves thenameelementRemoves theresource-adapterelementresourceAdapter(String resourceAdapter) Sets theresource-adapterelementup()
-
Constructor Details
-
AdministeredObjectTypeImpl
-
AdministeredObjectTypeImpl
-
-
Method Details
-
up
- Specified by:
upin interfaceorg.jboss.shrinkwrap.descriptor.api.Child<T>
-
description
Sets thedescriptionelement- Specified by:
descriptionin interfaceAdministeredObjectType<T>- Parameters:
description- the value for the elementdescription- Returns:
- the current instance of
AdministeredObjectType
-
getDescription
Returns thedescriptionelement- Specified by:
getDescriptionin interfaceAdministeredObjectType<T>- Returns:
- the node defined for the element
description
-
removeDescription
Removes thedescriptionelement- Specified by:
removeDescriptionin interfaceAdministeredObjectType<T>- Returns:
- the current instance of
AdministeredObjectType
-
name
Sets thenameelement- Specified by:
namein interfaceAdministeredObjectType<T>- Parameters:
name- the value for the elementname- Returns:
- the current instance of
AdministeredObjectType
-
getName
Returns thenameelement- Specified by:
getNamein interfaceAdministeredObjectType<T>- Returns:
- the node defined for the element
name
-
removeName
Removes thenameelement- Specified by:
removeNamein interfaceAdministeredObjectType<T>- Returns:
- the current instance of
AdministeredObjectType
-
interfaceName
Sets theinterface-nameelement- Specified by:
interfaceNamein interfaceAdministeredObjectType<T>- Parameters:
interfaceName- the value for the elementinterface-name- Returns:
- the current instance of
AdministeredObjectType
-
getInterfaceName
Returns theinterface-nameelement- Specified by:
getInterfaceNamein interfaceAdministeredObjectType<T>- Returns:
- the node defined for the element
interface-name
-
removeInterfaceName
Removes theinterface-nameelement- Specified by:
removeInterfaceNamein interfaceAdministeredObjectType<T>- Returns:
- the current instance of
AdministeredObjectType
-
className
Sets theclass-nameelement- Specified by:
classNamein interfaceAdministeredObjectType<T>- Parameters:
className- the value for the elementclass-name- Returns:
- the current instance of
AdministeredObjectType
-
getClassName
Returns theclass-nameelement- Specified by:
getClassNamein interfaceAdministeredObjectType<T>- Returns:
- the node defined for the element
class-name
-
removeClassName
Removes theclass-nameelement- Specified by:
removeClassNamein interfaceAdministeredObjectType<T>- Returns:
- the current instance of
AdministeredObjectType
-
resourceAdapter
Sets theresource-adapterelement- Specified by:
resourceAdapterin interfaceAdministeredObjectType<T>- Parameters:
resourceAdapter- the value for the elementresource-adapter- Returns:
- the current instance of
AdministeredObjectType
-
getResourceAdapter
Returns theresource-adapterelement- Specified by:
getResourceAdapterin interfaceAdministeredObjectType<T>- Returns:
- the node defined for the element
resource-adapter
-
removeResourceAdapter
Removes theresource-adapterelement- Specified by:
removeResourceAdapterin interfaceAdministeredObjectType<T>- Returns:
- the current instance of
AdministeredObjectType
-
getOrCreateProperty
If not already created, a newpropertyelement will be created and returned. Otherwise, the first existingpropertyelement will be returned.- Specified by:
getOrCreatePropertyin interfaceAdministeredObjectType<T>- Returns:
- the instance defined for the element
property
-
createProperty
Creates a newpropertyelement- Specified by:
createPropertyin interfaceAdministeredObjectType<T>- Returns:
- the new created instance of
PropertyTypeinvalid input: '<'AdministeredObjectType>
-
getAllProperty
Returns allpropertyelements- Specified by:
getAllPropertyin interfaceAdministeredObjectType<T>- Returns:
- list of
property
-
removeAllProperty
Removes allpropertyelements- Specified by:
removeAllPropertyin interfaceAdministeredObjectType<T>- Returns:
- the current instance of
PropertyTypeinvalid input: '<'AdministeredObjectType>
-
id
Sets theidattribute- Specified by:
idin interfaceAdministeredObjectType<T>- Parameters:
id- the value for the attributeid- Returns:
- the current instance of
AdministeredObjectType
-
getId
Returns theidattribute- Specified by:
getIdin interfaceAdministeredObjectType<T>- Returns:
- the value defined for the attribute
id
-
removeId
Removes theidattribute- Specified by:
removeIdin interfaceAdministeredObjectType<T>- Returns:
- the current instance of
AdministeredObjectType
-