Interface EnvEntryType<T>
-
- All Superinterfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>
- All Known Implementing Classes:
EnvEntryTypeImpl
public interface EnvEntryType<T> extends org.jboss.shrinkwrap.descriptor.api.Child<T>This interface defines the contract for theenv-entryTypexsd type
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InjectionTargetType<EnvEntryType<T>>createInjectionTarget()Creates a newinjection-targetelementEnvEntryType<T>description(String... values)Creates for all String objects representingdescriptionelements, a newdescriptionelementEnvEntryType<T>envEntryName(String envEntryName)Sets theenv-entry-nameelementEnvEntryType<T>envEntryType(String envEntryType)Sets theenv-entry-typeelementEnvEntryType<T>envEntryValue(String envEntryValue)Sets theenv-entry-valueelementList<String>getAllDescription()Returns alldescriptionelementsList<InjectionTargetType<EnvEntryType<T>>>getAllInjectionTarget()Returns allinjection-targetelementsStringgetEnvEntryName()Returns theenv-entry-nameelementStringgetEnvEntryType()Returns theenv-entry-typeelementStringgetEnvEntryValue()Returns theenv-entry-valueelementStringgetId()Returns theidattributeStringgetLookupName()Returns thelookup-nameelementStringgetMappedName()Returns themapped-nameelementInjectionTargetType<EnvEntryType<T>>getOrCreateInjectionTarget()If not already created, a newinjection-targetelement will be created and returned.EnvEntryType<T>id(String id)Sets theidattributeEnvEntryType<T>lookupName(String lookupName)Sets thelookup-nameelementEnvEntryType<T>mappedName(String mappedName)Sets themapped-nameelementEnvEntryType<T>removeAllDescription()Removes thedescriptionelementEnvEntryType<T>removeAllInjectionTarget()Removes allinjection-targetelementsEnvEntryType<T>removeEnvEntryName()Removes theenv-entry-nameelementEnvEntryType<T>removeEnvEntryType()Removes theenv-entry-typeelementEnvEntryType<T>removeEnvEntryValue()Removes theenv-entry-valueelementEnvEntryType<T>removeId()Removes theidattributeEnvEntryType<T>removeLookupName()Removes thelookup-nameelementEnvEntryType<T>removeMappedName()Removes themapped-nameelement
-
-
-
Method Detail
-
lookupName
EnvEntryType<T> lookupName(String lookupName)
Sets thelookup-nameelement- Parameters:
lookupName- the value for the elementlookup-name- Returns:
- the current instance of
EnvEntryType
-
getLookupName
String getLookupName()
Returns thelookup-nameelement- Returns:
- the node defined for the element
lookup-name
-
removeLookupName
EnvEntryType<T> removeLookupName()
Removes thelookup-nameelement- Returns:
- the current instance of
EnvEntryType
-
mappedName
EnvEntryType<T> mappedName(String mappedName)
Sets themapped-nameelement- Parameters:
mappedName- the value for the elementmapped-name- Returns:
- the current instance of
EnvEntryType
-
getMappedName
String getMappedName()
Returns themapped-nameelement- Returns:
- the node defined for the element
mapped-name
-
removeMappedName
EnvEntryType<T> removeMappedName()
Removes themapped-nameelement- Returns:
- the current instance of
EnvEntryType
-
getOrCreateInjectionTarget
InjectionTargetType<EnvEntryType<T>> getOrCreateInjectionTarget()
If not already created, a newinjection-targetelement will be created and returned. Otherwise, the first existinginjection-targetelement will be returned.- Returns:
- the instance defined for the element
injection-target
-
createInjectionTarget
InjectionTargetType<EnvEntryType<T>> createInjectionTarget()
Creates a newinjection-targetelement- Returns:
- the new created instance of
InjectionTargetType>
-
getAllInjectionTarget
List<InjectionTargetType<EnvEntryType<T>>> getAllInjectionTarget()
Returns allinjection-targetelements- Returns:
- list of
injection-target
-
removeAllInjectionTarget
EnvEntryType<T> removeAllInjectionTarget()
Removes allinjection-targetelements- Returns:
- the current instance of
InjectionTargetType>
-
description
EnvEntryType<T> description(String... values)
Creates for all String objects representingdescriptionelements, a newdescriptionelement- Parameters:
values- list ofdescriptionobjects- Returns:
- the current instance of
EnvEntryType
-
getAllDescription
List<String> getAllDescription()
Returns alldescriptionelements- Returns:
- list of
description
-
removeAllDescription
EnvEntryType<T> removeAllDescription()
Removes thedescriptionelement- Returns:
- the current instance of
EnvEntryType
-
envEntryName
EnvEntryType<T> envEntryName(String envEntryName)
Sets theenv-entry-nameelement- Parameters:
envEntryName- the value for the elementenv-entry-name- Returns:
- the current instance of
EnvEntryType
-
getEnvEntryName
String getEnvEntryName()
Returns theenv-entry-nameelement- Returns:
- the node defined for the element
env-entry-name
-
removeEnvEntryName
EnvEntryType<T> removeEnvEntryName()
Removes theenv-entry-nameelement- Returns:
- the current instance of
EnvEntryType
-
envEntryType
EnvEntryType<T> envEntryType(String envEntryType)
Sets theenv-entry-typeelement- Parameters:
envEntryType- the value for the elementenv-entry-type- Returns:
- the current instance of
EnvEntryType
-
getEnvEntryType
String getEnvEntryType()
Returns theenv-entry-typeelement- Returns:
- the node defined for the element
env-entry-type
-
removeEnvEntryType
EnvEntryType<T> removeEnvEntryType()
Removes theenv-entry-typeelement- Returns:
- the current instance of
EnvEntryType
-
envEntryValue
EnvEntryType<T> envEntryValue(String envEntryValue)
Sets theenv-entry-valueelement- Parameters:
envEntryValue- the value for the elementenv-entry-value- Returns:
- the current instance of
EnvEntryType
-
getEnvEntryValue
String getEnvEntryValue()
Returns theenv-entry-valueelement- Returns:
- the node defined for the element
env-entry-value
-
removeEnvEntryValue
EnvEntryType<T> removeEnvEntryValue()
Removes theenv-entry-valueelement- Returns:
- the current instance of
EnvEntryType
-
id
EnvEntryType<T> id(String id)
Sets theidattribute- Parameters:
id- the value for the attributeid- Returns:
- the current instance of
EnvEntryType
-
getId
String getId()
Returns theidattribute- Returns:
- the value defined for the attribute
id
-
removeId
EnvEntryType<T> removeId()
Removes theidattribute- Returns:
- the current instance of
EnvEntryType
-
-