org.jboss.shrinkwrap.descriptor.api.jbosscommon51
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 :2013-01-26T19:27:00.777+01: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(EnvEntryTypeValuesType envEntryType)
          Sets the env-entry-type 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
 EnvEntryTypeValuesType getEnvEntryType()
          Returns the env-entry-type element
 String getEnvEntryTypeAsString()
          Returns the env-entry-type element
 String getEnvEntryValue()
          Returns the env-entry-value element
 String getId()
          Returns the id attribute
 String getJndiName()
          Returns the jndi-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> id(String id)
          Sets the id attribute
 EnvEntryType<T> ignoreDependency()
          Sets the ignore-dependency element
 Boolean isIgnoreDependency()
          Removes the ignore-dependency element
 EnvEntryType<T> jndiName(String jndiName)
          Sets the jndi-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 attribute
 EnvEntryType<T> removeEnvEntryValue()
          Removes the env-entry-value element
 EnvEntryType<T> removeId()
          Removes the id attribute
 EnvEntryType<T> removeIgnoreDependency()
          Removes the ignore-dependency element
 EnvEntryType<T> removeJndiName()
          Removes the jndi-name element
 EnvEntryType<T> removeMappedName()
          Removes the mapped-name element
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

jndiName

EnvEntryType<T> jndiName(String jndiName)
Sets the jndi-name element

Parameters:
jndiName - the value for the element jndi-name
Returns:
the current instance of EnvEntryType

getJndiName

String getJndiName()
Returns the jndi-name element

Returns:
the node defined for the element jndi-name

removeJndiName

EnvEntryType<T> removeJndiName()
Removes the jndi-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>

ignoreDependency

EnvEntryType<T> ignoreDependency()
Sets the ignore-dependency element

Returns:
the current instance of EnvEntryType

isIgnoreDependency

Boolean isIgnoreDependency()
Removes the ignore-dependency element

Returns:
the current instance of EnvEntryType

removeIgnoreDependency

EnvEntryType<T> removeIgnoreDependency()
Removes the ignore-dependency element

Returns:
the current instance of EnvEntryType

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(EnvEntryTypeValuesType envEntryType)
Sets the env-entry-type element

Parameters:
envEntryType - the value for the element env-entry-type
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

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

Returns:
the value found for the element env-entry-type

getEnvEntryTypeAsString

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

Returns:
the value found for the element env-entry-type

removeEnvEntryType

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

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

id

EnvEntryType<T> id(String id)
Sets the id attribute

Parameters:
id - the value for the attribute id
Returns:
the current instance of EnvEntryType

getId

String getId()
Returns the id attribute

Returns:
the value defined for the attribute id

removeId

EnvEntryType<T> removeId()
Removes the id attribute

Returns:
the current instance of EnvEntryType


Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.