Interface EnvEntryType<T>

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

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

      • lookupName

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

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

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

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

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

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

        InjectionTargetType<EnvEntryType<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
      • createInjectionTarget

        InjectionTargetType<EnvEntryType<T>> createInjectionTarget()
        Creates a new injection-target element
        Returns:
        the new created instance of InjectionTargetType>
      • removeAllInjectionTarget

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

        EnvEntryType<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 EnvEntryType
      • getAllDescription

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

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

        EnvEntryType<T> envEntryName​(String envEntryName)
        Sets the env-entry-name element
        Parameters:
        envEntryName - the value for the element env-entry-name
        Returns:
        the current instance of EnvEntryType
      • getEnvEntryName

        String getEnvEntryName()
        Returns the env-entry-name element
        Returns:
        the node defined for the element env-entry-name
      • removeEnvEntryName

        EnvEntryType<T> removeEnvEntryName()
        Removes the env-entry-name element
        Returns:
        the current instance of EnvEntryType
      • envEntryType

        EnvEntryType<T> envEntryType​(String envEntryType)
        Sets the env-entry-type element
        Parameters:
        envEntryType - the value for the element env-entry-type
        Returns:
        the current instance of EnvEntryType
      • getEnvEntryType

        String getEnvEntryType()
        Returns the env-entry-type element
        Returns:
        the node defined for the element env-entry-type
      • removeEnvEntryType

        EnvEntryType<T> removeEnvEntryType()
        Removes the env-entry-type element
        Returns:
        the current instance of EnvEntryType
      • envEntryValue

        EnvEntryType<T> envEntryValue​(String envEntryValue)
        Sets the env-entry-value element
        Parameters:
        envEntryValue - the value for the element env-entry-value
        Returns:
        the current instance of EnvEntryType
      • getEnvEntryValue

        String getEnvEntryValue()
        Returns the env-entry-value element
        Returns:
        the node defined for the element env-entry-value
      • removeEnvEntryValue

        EnvEntryType<T> removeEnvEntryValue()
        Removes the env-entry-value element
        Returns:
        the current instance of EnvEntryType
      • id

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

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

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