Class EnvEntryTypeImpl<T>

  • All Implemented Interfaces:
    org.jboss.shrinkwrap.descriptor.api.Child<T>, EnvEntryType<T>

    public class EnvEntryTypeImpl<T>
    extends Object
    implements org.jboss.shrinkwrap.descriptor.api.Child<T>, EnvEntryType<T>
    This class implements the env-entryType xsd type
    • Constructor Detail

      • EnvEntryTypeImpl

        public EnvEntryTypeImpl​(T t,
                                String nodeName,
                                org.jboss.shrinkwrap.descriptor.spi.node.Node node)
      • EnvEntryTypeImpl

        public EnvEntryTypeImpl​(T t,
                                String nodeName,
                                org.jboss.shrinkwrap.descriptor.spi.node.Node node,
                                org.jboss.shrinkwrap.descriptor.spi.node.Node childNode)
    • Method Detail

      • up

        public T up()
        Specified by:
        up in interface org.jboss.shrinkwrap.descriptor.api.Child<T>
      • lookupName

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

        public String getLookupName()
        Returns the lookup-name element
        Specified by:
        getLookupName in interface EnvEntryType<T>
        Returns:
        the node defined for the element lookup-name
      • mappedName

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

        public String getMappedName()
        Returns the mapped-name element
        Specified by:
        getMappedName in interface EnvEntryType<T>
        Returns:
        the node defined for the element mapped-name
      • getOrCreateInjectionTarget

        public 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.
        Specified by:
        getOrCreateInjectionTarget in interface EnvEntryType<T>
        Returns:
        the instance defined for the element injection-target
      • description

        public EnvEntryType<T> description​(String... values)
        Creates for all String objects representing description elements, a new description element
        Specified by:
        description in interface EnvEntryType<T>
        Parameters:
        values - list of description objects
        Returns:
        the current instance of EnvEntryType
      • envEntryName

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

        public String getEnvEntryName()
        Returns the env-entry-name element
        Specified by:
        getEnvEntryName in interface EnvEntryType<T>
        Returns:
        the node defined for the element env-entry-name
      • envEntryType

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

        public String getEnvEntryType()
        Returns the env-entry-type element
        Specified by:
        getEnvEntryType in interface EnvEntryType<T>
        Returns:
        the node defined for the element env-entry-type
      • envEntryValue

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

        public String getEnvEntryValue()
        Returns the env-entry-value element
        Specified by:
        getEnvEntryValue in interface EnvEntryType<T>
        Returns:
        the node defined for the element env-entry-value
      • id

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

        public String getId()
        Returns the id attribute
        Specified by:
        getId in interface EnvEntryType<T>
        Returns:
        the value defined for the attribute id
      • removeId

        public EnvEntryType<T> removeId()
        Removes the id attribute
        Specified by:
        removeId in interface EnvEntryType<T>
        Returns:
        the current instance of EnvEntryType