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>
      • 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
      • getEnvEntryTypeAsString

        public String getEnvEntryTypeAsString()
        Returns the env-entry-type element
        Specified by:
        getEnvEntryTypeAsString in interface EnvEntryType<T>
        Returns:
        the value found 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