Interface ResourceEnvRefType<T>

  • All Superinterfaces:
    org.jboss.shrinkwrap.descriptor.api.Child<T>
    All Known Implementing Classes:
    ResourceEnvRefTypeImpl

    public interface ResourceEnvRefType<T>
    extends org.jboss.shrinkwrap.descriptor.api.Child<T>
    This interface defines the contract for the resource-env-refType xsd type
    • Method Detail

      • lookupName

        ResourceEnvRefType<T> lookupName​(String lookupName)
        Sets the lookup-name element
        Parameters:
        lookupName - the value for the element lookup-name
        Returns:
        the current instance of ResourceEnvRefType
      • getLookupName

        String getLookupName()
        Returns the lookup-name element
        Returns:
        the node defined for the element lookup-name
      • removeLookupName

        ResourceEnvRefType<T> removeLookupName()
        Removes the lookup-name element
        Returns:
        the current instance of ResourceEnvRefType
      • mappedName

        ResourceEnvRefType<T> mappedName​(String mappedName)
        Sets the mapped-name element
        Parameters:
        mappedName - the value for the element mapped-name
        Returns:
        the current instance of ResourceEnvRefType
      • getMappedName

        String getMappedName()
        Returns the mapped-name element
        Returns:
        the node defined for the element mapped-name
      • removeMappedName

        ResourceEnvRefType<T> removeMappedName()
        Removes the mapped-name element
        Returns:
        the current instance of ResourceEnvRefType
      • getOrCreateInjectionTarget

        InjectionTargetType<ResourceEnvRefType<T>> getOrCreateInjectionTarget()
        If not already created, a new injection-target element will be created and returned. Otherwise, the first existing injection-target element will be returned.
        Returns:
        the instance defined for the element injection-target
      • removeAllInjectionTarget

        ResourceEnvRefType<T> removeAllInjectionTarget()
        Removes all injection-target elements
        Returns:
        the current instance of InjectionTargetType>
      • description

        ResourceEnvRefType<T> description​(String... values)
        Creates for all String objects representing description elements, a new description element
        Parameters:
        values - list of description objects
        Returns:
        the current instance of ResourceEnvRefType
      • getAllDescription

        List<String> getAllDescription()
        Returns all description elements
        Returns:
        list of description
      • removeAllDescription

        ResourceEnvRefType<T> removeAllDescription()
        Removes the description element
        Returns:
        the current instance of ResourceEnvRefType
      • resourceEnvRefName

        ResourceEnvRefType<T> resourceEnvRefName​(String resourceEnvRefName)
        Sets the resource-env-ref-name element
        Parameters:
        resourceEnvRefName - the value for the element resource-env-ref-name
        Returns:
        the current instance of ResourceEnvRefType
      • getResourceEnvRefName

        String getResourceEnvRefName()
        Returns the resource-env-ref-name element
        Returns:
        the node defined for the element resource-env-ref-name
      • removeResourceEnvRefName

        ResourceEnvRefType<T> removeResourceEnvRefName()
        Removes the resource-env-ref-name element
        Returns:
        the current instance of ResourceEnvRefType
      • resourceEnvRefType

        ResourceEnvRefType<T> resourceEnvRefType​(String resourceEnvRefType)
        Sets the resource-env-ref-type element
        Parameters:
        resourceEnvRefType - the value for the element resource-env-ref-type
        Returns:
        the current instance of ResourceEnvRefType
      • getResourceEnvRefType

        String getResourceEnvRefType()
        Returns the resource-env-ref-type element
        Returns:
        the node defined for the element resource-env-ref-type
      • removeResourceEnvRefType

        ResourceEnvRefType<T> removeResourceEnvRefType()
        Removes the resource-env-ref-type element
        Returns:
        the current instance of ResourceEnvRefType
      • id

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

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

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