Class EnvEntryTypeImpl<T>

java.lang.Object
org.jboss.shrinkwrap.descriptor.impl.javaee7.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>
    • 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
    • removeLookupName

      public EnvEntryType<T> removeLookupName()
      Removes the lookup-name element
      Specified by:
      removeLookupName in interface EnvEntryType<T>
      Returns:
      the current instance of EnvEntryType
    • 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
    • removeMappedName

      public EnvEntryType<T> removeMappedName()
      Removes the mapped-name element
      Specified by:
      removeMappedName in interface EnvEntryType<T>
      Returns:
      the current instance of EnvEntryType
    • 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
    • createInjectionTarget

      public InjectionTargetType<EnvEntryType<T>> createInjectionTarget()
      Creates a new injection-target element
      Specified by:
      createInjectionTarget in interface EnvEntryType<T>
      Returns:
      the new created instance of InjectionTargetType<EnvEntryType>
    • getAllInjectionTarget

      public List<InjectionTargetType<EnvEntryType<T>>> getAllInjectionTarget()
      Returns all injection-target elements
      Specified by:
      getAllInjectionTarget in interface EnvEntryType<T>
      Returns:
      list of injection-target
    • removeAllInjectionTarget

      public EnvEntryType<T> removeAllInjectionTarget()
      Removes all injection-target elements
      Specified by:
      removeAllInjectionTarget in interface EnvEntryType<T>
      Returns:
      the current instance of InjectionTargetType<EnvEntryType>
    • 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(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
    • removeEnvEntryType

      public EnvEntryType<T> removeEnvEntryType()
      Removes the env-entry-type element
      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