ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

org.jboss.shrinkwrap.descriptor.api.javaee6
Interface EnvEntryType<T>

All Superinterfaces:
Child<T>

public interface EnvEntryType<T>
extends Child<T>

This interface defines the contract for the env-entryType xsd type

Since:
Generation date :2012-05-09T23:45:05.33-07:00
Author:
Ralf Battenfeld, Andrew Lee Rubinger

Method Summary
 InjectionTargetType<EnvEntryType<T>> createInjectionTarget()
          Creates a new injection-target element
 EnvEntryType<T> description(String... values)
          Creates for all String objects representing description elements, a new description element
 EnvEntryType<T> envEntryName(String envEntryName)
          Sets the env-entry-name element
 EnvEntryType<T> envEntryType(String envEntryType)
          Sets the env-entry-type element
 EnvEntryType<T> envEntryValue(String envEntryValue)
          Sets the env-entry-value element
 List<String> getAllDescription()
          Returns all description elements
 List<InjectionTargetType<EnvEntryType<T>>> getAllInjectionTarget()
          Returns all injection-target elements
 String getEnvEntryName()
          Returns the env-entry-name element
 String getEnvEntryType()
          Returns the env-entry-type element
 String getEnvEntryValue()
          Returns the env-entry-value element
 String getLookupName()
          Returns the lookup-name element
 String getMappedName()
          Returns the mapped-name element
 InjectionTargetType<EnvEntryType<T>> getOrCreateInjectionTarget()
          If not already created, a new injection-target element will be created and returned.
 EnvEntryType<T> lookupName(String lookupName)
          Sets the lookup-name element
 EnvEntryType<T> mappedName(String mappedName)
          Sets the mapped-name element
 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> removeEnvEntryType()
          Removes the env-entry-type element
 EnvEntryType<T> removeEnvEntryValue()
          Removes the env-entry-value element
 EnvEntryType<T> removeLookupName()
          Removes the lookup-name element
 EnvEntryType<T> removeMappedName()
          Removes the mapped-name element
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

lookupName

EnvEntryType<T> lookupName(String lookupName)
Sets the lookup-name element

Parameters:
lookupName - the value for the element lookup-name
Returns:
the current instance of EnvEntryType

getLookupName

String getLookupName()
Returns the lookup-name element

Returns:
the node defined for the element lookup-name

removeLookupName

EnvEntryType<T> removeLookupName()
Removes the lookup-name element

Returns:
the current instance of EnvEntryType

mappedName

EnvEntryType<T> mappedName(String mappedName)
Sets the mapped-name element

Parameters:
mappedName - the value for the element mapped-name
Returns:
the current instance of EnvEntryType

getMappedName

String getMappedName()
Returns the mapped-name element

Returns:
the node defined for the element mapped-name

removeMappedName

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

Returns:
the current instance of EnvEntryType

getOrCreateInjectionTarget

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.

Returns:
the instance defined for the element injection-target

createInjectionTarget

InjectionTargetType<EnvEntryType<T>> createInjectionTarget()
Creates a new injection-target element

Returns:
the new created instance of InjectionTargetType>

getAllInjectionTarget

List<InjectionTargetType<EnvEntryType<T>>> getAllInjectionTarget()
Returns all injection-target elements

Returns:
list of injection-target

removeAllInjectionTarget

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

Returns:
the current instance of InjectionTargetType>

description

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

Parameters:
values - list of description objects
Returns:
the current instance of EnvEntryType

getAllDescription

List<String> getAllDescription()
Returns all description elements

Returns:
list of description

removeAllDescription

EnvEntryType<T> removeAllDescription()
Removes the description element

Returns:
the current instance of EnvEntryType

envEntryName

EnvEntryType<T> envEntryName(String envEntryName)
Sets the env-entry-name element

Parameters:
envEntryName - the value for the element env-entry-name
Returns:
the current instance of EnvEntryType

getEnvEntryName

String getEnvEntryName()
Returns the env-entry-name element

Returns:
the node defined for the element env-entry-name

removeEnvEntryName

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

Returns:
the current instance of EnvEntryType

envEntryType

EnvEntryType<T> envEntryType(String envEntryType)
Sets the env-entry-type element

Parameters:
envEntryType - the value for the element env-entry-type
Returns:
the current instance of EnvEntryType

getEnvEntryType

String getEnvEntryType()
Returns the env-entry-type element

Returns:
the node defined for the element env-entry-type

removeEnvEntryType

EnvEntryType<T> removeEnvEntryType()
Removes the env-entry-type element

Returns:
the current instance of EnvEntryType

envEntryValue

EnvEntryType<T> envEntryValue(String envEntryValue)
Sets the env-entry-value element

Parameters:
envEntryValue - the value for the element env-entry-value
Returns:
the current instance of EnvEntryType

getEnvEntryValue

String getEnvEntryValue()
Returns the env-entry-value element

Returns:
the node defined for the element env-entry-value

removeEnvEntryValue

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

Returns:
the current instance of EnvEntryType

ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.