Class EnvEntryTypeImpl<T>
java.lang.Object
org.jboss.shrinkwrap.descriptor.impl.javaee6.EnvEntryTypeImpl<T>
- All Implemented Interfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>,EnvEntryType<T>
public class EnvEntryTypeImpl<T>
extends Object
implements org.jboss.shrinkwrap.descriptor.api.Child<T>, EnvEntryType<T>
This class implements the
env-entryType xsd type-
Constructor Summary
ConstructorsConstructorDescriptionEnvEntryTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node) EnvEntryTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node, org.jboss.shrinkwrap.descriptor.spi.node.Node childNode) -
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-nameelementup()
-
Constructor Details
-
EnvEntryTypeImpl
-
EnvEntryTypeImpl
-
-
Method Details
-
up
- Specified by:
upin interfaceorg.jboss.shrinkwrap.descriptor.api.Child<T>
-
lookupName
Sets thelookup-nameelement- Specified by:
lookupNamein interfaceEnvEntryType<T>- Parameters:
lookupName- the value for the elementlookup-name- Returns:
- the current instance of
EnvEntryType
-
getLookupName
Returns thelookup-nameelement- Specified by:
getLookupNamein interfaceEnvEntryType<T>- Returns:
- the node defined for the element
lookup-name
-
removeLookupName
Removes thelookup-nameelement- Specified by:
removeLookupNamein interfaceEnvEntryType<T>- Returns:
- the current instance of
EnvEntryType
-
mappedName
Sets themapped-nameelement- Specified by:
mappedNamein interfaceEnvEntryType<T>- Parameters:
mappedName- the value for the elementmapped-name- Returns:
- the current instance of
EnvEntryType
-
getMappedName
Returns themapped-nameelement- Specified by:
getMappedNamein interfaceEnvEntryType<T>- Returns:
- the node defined for the element
mapped-name
-
removeMappedName
Removes themapped-nameelement- Specified by:
removeMappedNamein interfaceEnvEntryType<T>- Returns:
- the current instance of
EnvEntryType
-
getOrCreateInjectionTarget
If not already created, a newinjection-targetelement will be created and returned. Otherwise, the first existinginjection-targetelement will be returned.- Specified by:
getOrCreateInjectionTargetin interfaceEnvEntryType<T>- Returns:
- the instance defined for the element
injection-target
-
createInjectionTarget
Creates a newinjection-targetelement- Specified by:
createInjectionTargetin interfaceEnvEntryType<T>- Returns:
- the new created instance of
InjectionTargetType<EnvEntryType>
-
getAllInjectionTarget
Returns allinjection-targetelements- Specified by:
getAllInjectionTargetin interfaceEnvEntryType<T>- Returns:
- list of
injection-target
-
removeAllInjectionTarget
Removes allinjection-targetelements- Specified by:
removeAllInjectionTargetin interfaceEnvEntryType<T>- Returns:
- the current instance of
InjectionTargetType<EnvEntryType>
-
description
Creates for all String objects representingdescriptionelements, a newdescriptionelement- Specified by:
descriptionin interfaceEnvEntryType<T>- Parameters:
values- list ofdescriptionobjects- Returns:
- the current instance of
EnvEntryType
-
getAllDescription
Returns alldescriptionelements- Specified by:
getAllDescriptionin interfaceEnvEntryType<T>- Returns:
- list of
description
-
removeAllDescription
Removes thedescriptionelement- Specified by:
removeAllDescriptionin interfaceEnvEntryType<T>- Returns:
- the current instance of
EnvEntryType
-
envEntryName
Sets theenv-entry-nameelement- Specified by:
envEntryNamein interfaceEnvEntryType<T>- Parameters:
envEntryName- the value for the elementenv-entry-name- Returns:
- the current instance of
EnvEntryType
-
getEnvEntryName
Returns theenv-entry-nameelement- Specified by:
getEnvEntryNamein interfaceEnvEntryType<T>- Returns:
- the node defined for the element
env-entry-name
-
removeEnvEntryName
Removes theenv-entry-nameelement- Specified by:
removeEnvEntryNamein interfaceEnvEntryType<T>- Returns:
- the current instance of
EnvEntryType
-
envEntryType
Sets theenv-entry-typeelement- Specified by:
envEntryTypein interfaceEnvEntryType<T>- Parameters:
envEntryType- the value for the elementenv-entry-type- Returns:
- the current instance of
EnvEntryType
-
getEnvEntryType
Returns theenv-entry-typeelement- Specified by:
getEnvEntryTypein interfaceEnvEntryType<T>- Returns:
- the node defined for the element
env-entry-type
-
removeEnvEntryType
Removes theenv-entry-typeelement- Specified by:
removeEnvEntryTypein interfaceEnvEntryType<T>- Returns:
- the current instance of
EnvEntryType
-
envEntryValue
Sets theenv-entry-valueelement- Specified by:
envEntryValuein interfaceEnvEntryType<T>- Parameters:
envEntryValue- the value for the elementenv-entry-value- Returns:
- the current instance of
EnvEntryType
-
getEnvEntryValue
Returns theenv-entry-valueelement- Specified by:
getEnvEntryValuein interfaceEnvEntryType<T>- Returns:
- the node defined for the element
env-entry-value
-
removeEnvEntryValue
Removes theenv-entry-valueelement- Specified by:
removeEnvEntryValuein interfaceEnvEntryType<T>- Returns:
- the current instance of
EnvEntryType
-
id
Sets theidattribute- Specified by:
idin interfaceEnvEntryType<T>- Parameters:
id- the value for the attributeid- Returns:
- the current instance of
EnvEntryType
-
getId
Returns theidattribute- Specified by:
getIdin interfaceEnvEntryType<T>- Returns:
- the value defined for the attribute
id
-
removeId
Removes theidattribute- Specified by:
removeIdin interfaceEnvEntryType<T>- Returns:
- the current instance of
EnvEntryType
-