org.jboss.shrinkwrap.descriptor.impl.jbosscommon51
Class EnvEntryTypeImpl<T>

java.lang.Object
  extended by org.jboss.shrinkwrap.descriptor.impl.jbosscommon51.EnvEntryTypeImpl<T>
All Implemented Interfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>, EnvEntryType<T>

public class EnvEntryTypeImpl<T>
extends java.lang.Object
implements org.jboss.shrinkwrap.descriptor.api.Child<T>, EnvEntryType<T>

This class implements the env-entryType xsd type

Since:
Generation date :2011-07-19T22:54:35.59+02:00
Author:
Ralf Battenfeld

Constructor Summary
EnvEntryTypeImpl(T t, java.lang.String nodeName, org.jboss.shrinkwrap.descriptor.spi.Node node)
           
EnvEntryTypeImpl(T t, java.lang.String nodeName, org.jboss.shrinkwrap.descriptor.spi.Node node, org.jboss.shrinkwrap.descriptor.spi.Node childNode)
           
 
Method Summary
 java.util.List<java.lang.String> getDescriptionList()
          Returns all description elements
 java.lang.String getEnvEntryName()
          Returns the env-entry-name element
 EnvEntryTypeValuesType getEnvEntryType()
          Returns the env-entry-type element
 java.lang.String getEnvEntryTypeAsString()
          Returns the env-entry-type element
 java.lang.String getEnvEntryValue()
          Returns the env-entry-value element
 java.util.List<InjectionTargetType<EnvEntryType<T>>> getInjectionTargetList()
          Returns all injection-target elements
 java.lang.String getJndiName()
          Returns the jndi-name element
 java.lang.String getMappedName()
          Returns the mapped-name element
 EnvEntryType<T> ignoreDependency()
           
 InjectionTargetType<EnvEntryType<T>> injectionTarget()
          Returns the injection-target element
 java.lang.Boolean isIgnoreDependency()
           
 EnvEntryType<T> removeAllDescription()
          Removes the description element
 EnvEntryType<T> removeAllInjectionTarget()
          Removes all injection-target elements
 EnvEntryType<T> removeEnvEntryName()
          Removes the env-entry-name element
 EnvEntryType<T> removeEnvEntryValue()
          Removes the env-entry-value element
 EnvEntryType<T> removeJndiName()
          Removes the jndi-name element
 EnvEntryType<T> removeMappedName()
          Removes the mapped-name element
 EnvEntryType<T> setDescription(java.lang.String description)
          Creates a new description element
 EnvEntryType<T> setDescriptionList(java.lang.String... values)
          Creates for all String objects representing description elements, a new description element
 EnvEntryType<T> setEnvEntryName(java.lang.String envEntryName)
          If not already created, a new env-entry-name element with the given value will be created.
 EnvEntryType<T> setEnvEntryType(EnvEntryTypeValuesType envEntryType)
          If not already created, a new env-entry-type element with the given value will be created.
 EnvEntryType<T> setEnvEntryType(java.lang.String envEntryType)
          If not already created, a new env-entry-type element with the given value will be created.
 EnvEntryType<T> setEnvEntryValue(java.lang.String envEntryValue)
          If not already created, a new env-entry-value element with the given value will be created.
 EnvEntryType<T> setJndiName(java.lang.String jndiName)
          If not already created, a new jndi-name element with the given value will be created.
 EnvEntryType<T> setMappedName(java.lang.String mappedName)
          If not already created, a new mapped-name element with the given value will be created.
 T up()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EnvEntryTypeImpl

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

EnvEntryTypeImpl

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

up

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

setJndiName

public EnvEntryType<T> setJndiName(java.lang.String jndiName)
If not already created, a new jndi-name element with the given value will be created. Otherwise, the existing jndi-name element will be updated with the given value.

Specified by:
setJndiName in interface EnvEntryType<T>
Returns:
the current instance of EnvEntryType

removeJndiName

public EnvEntryType<T> removeJndiName()
Removes the jndi-name element

Specified by:
removeJndiName in interface EnvEntryType<T>
Returns:
the current instance of EnvEntryType

getJndiName

public java.lang.String getJndiName()
Returns the jndi-name element

Specified by:
getJndiName in interface EnvEntryType<T>
Returns:
the node defined for the element jndi-name

setMappedName

public EnvEntryType<T> setMappedName(java.lang.String mappedName)
If not already created, a new mapped-name element with the given value will be created. Otherwise, the existing mapped-name element will be updated with the given value.

Specified by:
setMappedName in interface EnvEntryType<T>
Returns:
the current instance of EnvEntryType

removeMappedName

public EnvEntryType<T> removeMappedName()
Removes the mapped-name element

Specified by:
removeMappedName in interface EnvEntryType<T>
Returns:
the current instance of EnvEntryType

getMappedName

public java.lang.String getMappedName()
Returns the mapped-name element

Specified by:
getMappedName in interface EnvEntryType<T>
Returns:
the node defined for the element mapped-name

removeAllInjectionTarget

public EnvEntryType<T> removeAllInjectionTarget()
Removes all injection-target elements

Specified by:
removeAllInjectionTarget in interface EnvEntryType<T>
Returns:
the current instance of EnvEntryType

injectionTarget

public InjectionTargetType<EnvEntryType<T>> injectionTarget()
Returns the injection-target element

Specified by:
injectionTarget in interface EnvEntryType<T>
Returns:
the node defined for the element injection-target

getInjectionTargetList

public java.util.List<InjectionTargetType<EnvEntryType<T>>> getInjectionTargetList()
Returns all injection-target elements

Specified by:
getInjectionTargetList in interface EnvEntryType<T>
Returns:
list of injection-target

ignoreDependency

public EnvEntryType<T> ignoreDependency()
Specified by:
ignoreDependency in interface EnvEntryType<T>

isIgnoreDependency

public java.lang.Boolean isIgnoreDependency()
Specified by:
isIgnoreDependency in interface EnvEntryType<T>

setDescription

public EnvEntryType<T> setDescription(java.lang.String description)
Creates a new description element

Specified by:
setDescription in interface EnvEntryType<T>
Returns:
the current instance of EnvEntryType

setDescriptionList

public EnvEntryType<T> setDescriptionList(java.lang.String... values)
Creates for all String objects representing description elements, a new description element

Specified by:
setDescriptionList in interface EnvEntryType<T>
Parameters:
list - of description objects
Returns:
the current instance of EnvEntryType

removeAllDescription

public EnvEntryType<T> removeAllDescription()
Removes the description element

Specified by:
removeAllDescription in interface EnvEntryType<T>
Returns:
the current instance of EnvEntryType

getDescriptionList

public java.util.List<java.lang.String> getDescriptionList()
Returns all description elements

Specified by:
getDescriptionList in interface EnvEntryType<T>
Returns:
list of description

setEnvEntryName

public EnvEntryType<T> setEnvEntryName(java.lang.String envEntryName)
If not already created, a new env-entry-name element with the given value will be created. Otherwise, the existing env-entry-name element will be updated with the given value.

Specified by:
setEnvEntryName in interface EnvEntryType<T>
Returns:
the current instance of EnvEntryType

removeEnvEntryName

public EnvEntryType<T> removeEnvEntryName()
Removes the env-entry-name element

Specified by:
removeEnvEntryName in interface EnvEntryType<T>
Returns:
the current instance of EnvEntryType

getEnvEntryName

public java.lang.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

setEnvEntryType

public EnvEntryType<T> setEnvEntryType(EnvEntryTypeValuesType envEntryType)
If not already created, a new env-entry-type element with the given value will be created. Otherwise, the existing env-entry-type element will be updated with the given value.

Specified by:
setEnvEntryType in interface EnvEntryType<T>
Returns:
the current instance of EnvEntryType

setEnvEntryType

public EnvEntryType<T> setEnvEntryType(java.lang.String envEntryType)
If not already created, a new env-entry-type element with the given value will be created. Otherwise, the existing env-entry-type element will be updated with the given value.

Specified by:
setEnvEntryType in interface EnvEntryType<T>
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 node defined for the element env-entry-type

getEnvEntryTypeAsString

public java.lang.String getEnvEntryTypeAsString()
Returns the env-entry-type element

Specified by:
getEnvEntryTypeAsString in interface EnvEntryType<T>
Returns:
the node defined for the element env-entry-type

setEnvEntryValue

public EnvEntryType<T> setEnvEntryValue(java.lang.String envEntryValue)
If not already created, a new env-entry-value element with the given value will be created. Otherwise, the existing env-entry-value element will be updated with the given value.

Specified by:
setEnvEntryValue in interface EnvEntryType<T>
Returns:
the current instance of EnvEntryType

removeEnvEntryValue

public EnvEntryType<T> removeEnvEntryValue()
Removes the env-entry-value element

Specified by:
removeEnvEntryValue in interface EnvEntryType<T>
Returns:
the current instance of EnvEntryType

getEnvEntryValue

public java.lang.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