Class EnvEntryTypeImpl<T>

java.lang.Object
org.jboss.shrinkwrap.descriptor.impl.j2ee14.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 Details

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

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

      public List<String> getAllDescription()
      Returns all description elements
      Specified by:
      getAllDescription in interface EnvEntryType<T>
      Returns:
      list of description
    • removeAllDescription

      public EnvEntryType<T> removeAllDescription()
      Removes the description element
      Specified by:
      removeAllDescription in interface EnvEntryType<T>
      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
    • removeEnvEntryName

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

      public EnvEntryType<T> envEntryType(EnvEntryTypeValuesType 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
    • 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 EnvEntryTypeValuesType getEnvEntryType()
      Returns the env-entry-type element
      Specified by:
      getEnvEntryType in interface EnvEntryType<T>
      Returns:
      the value found for the element env-entry-type
    • 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
    • removeEnvEntryType

      public EnvEntryType<T> removeEnvEntryType()
      Removes the env-entry-type attribute
      Specified by:
      removeEnvEntryType in interface EnvEntryType<T>
      Returns:
      the current instance of EnvEntryType
    • 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
    • removeEnvEntryValue

      public EnvEntryType<T> removeEnvEntryValue()
      Removes the env-entry-value element
      Specified by:
      removeEnvEntryValue in interface EnvEntryType<T>
      Returns:
      the current instance of EnvEntryType
    • 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