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 the
env-entryType xsd type-
Method Summary
Modifier and TypeMethodDescriptionCreates a newinjection-targetelementdescription(String... values) Creates for all String objects representingdescriptionelements, a newdescriptionelementenvEntryName(String envEntryName) Sets theenv-entry-nameelementenvEntryType(String envEntryType) Sets theenv-entry-typeelementenvEntryValue(String envEntryValue) Sets theenv-entry-valueelementReturns alldescriptionelementsReturns allinjection-targetelementsReturns theenv-entry-nameelementReturns theenv-entry-typeelementReturns theenv-entry-valueelementgetId()Returns theidattributeReturns thelookup-nameelementReturns themapped-nameelementIf not already created, a newinjection-targetelement will be created and returned.Sets theidattributelookupName(String lookupName) Sets thelookup-nameelementmappedName(String mappedName) Sets themapped-nameelementRemoves thedescriptionelementRemoves allinjection-targetelementsRemoves theenv-entry-nameelementRemoves theenv-entry-typeelementRemoves theenv-entry-valueelementremoveId()Removes theidattributeRemoves thelookup-nameelementRemoves themapped-nameelementMethods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
-
Method Details
-
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
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<EnvEntryType>
-
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<EnvEntryType>
-
description
Creates for all String objects representingdescriptionelements, a newdescriptionelement- Parameters:
values- list ofdescriptionobjects- Returns:
- the current instance of
EnvEntryType
-
getAllDescription
Returns alldescriptionelements- Returns:
- list of
description
-
removeAllDescription
EnvEntryType<T> removeAllDescription()Removes thedescriptionelement- Returns:
- the current instance of
EnvEntryType
-
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
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
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
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
-