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 the administered-objectType xsd type
    • Method Detail

      • description

        AdministeredObjectType<T> description​(String description)
        Sets the description element
        Parameters:
        description - the value for the element description
        Returns:
        the current instance of AdministeredObjectType
      • getDescription

        String getDescription()
        Returns the description element
        Returns:
        the node defined for the element description
      • removeDescription

        AdministeredObjectType<T> removeDescription()
        Removes the description element
        Returns:
        the current instance of AdministeredObjectType
      • name

        AdministeredObjectType<T> name​(String name)
        Sets the name element
        Parameters:
        name - the value for the element name
        Returns:
        the current instance of AdministeredObjectType
      • getName

        String getName()
        Returns the name element
        Returns:
        the node defined for the element name
      • removeName

        AdministeredObjectType<T> removeName()
        Removes the name element
        Returns:
        the current instance of AdministeredObjectType
      • interfaceName

        AdministeredObjectType<T> interfaceName​(String interfaceName)
        Sets the interface-name element
        Parameters:
        interfaceName - the value for the element interface-name
        Returns:
        the current instance of AdministeredObjectType
      • getInterfaceName

        String getInterfaceName()
        Returns the interface-name element
        Returns:
        the node defined for the element interface-name
      • removeInterfaceName

        AdministeredObjectType<T> removeInterfaceName()
        Removes the interface-name element
        Returns:
        the current instance of AdministeredObjectType
      • className

        AdministeredObjectType<T> className​(String className)
        Sets the class-name element
        Parameters:
        className - the value for the element class-name
        Returns:
        the current instance of AdministeredObjectType
      • getClassName

        String getClassName()
        Returns the class-name element
        Returns:
        the node defined for the element class-name
      • removeClassName

        AdministeredObjectType<T> removeClassName()
        Removes the class-name element
        Returns:
        the current instance of AdministeredObjectType
      • resourceAdapter

        AdministeredObjectType<T> resourceAdapter​(String resourceAdapter)
        Sets the resource-adapter element
        Parameters:
        resourceAdapter - the value for the element resource-adapter
        Returns:
        the current instance of AdministeredObjectType
      • getResourceAdapter

        String getResourceAdapter()
        Returns the resource-adapter element
        Returns:
        the node defined for the element resource-adapter
      • removeResourceAdapter

        AdministeredObjectType<T> removeResourceAdapter()
        Removes the resource-adapter element
        Returns:
        the current instance of AdministeredObjectType
      • getOrCreateProperty

        PropertyType<AdministeredObjectType<T>> getOrCreateProperty()
        If not already created, a new property element will be created and returned. Otherwise, the first existing property element will be returned.
        Returns:
        the instance defined for the element property
      • removeAllProperty

        AdministeredObjectType<T> removeAllProperty()
        Removes all property elements
        Returns:
        the current instance of PropertyType>
      • id

        AdministeredObjectType<T> id​(String id)
        Sets the id attribute
        Parameters:
        id - the value for the attribute id
        Returns:
        the current instance of AdministeredObjectType
      • getId

        String getId()
        Returns the id attribute
        Returns:
        the value defined for the attribute id
      • removeId

        AdministeredObjectType<T> removeId()
        Removes the id attribute
        Returns:
        the current instance of AdministeredObjectType