public class EnvEntryTypeImpl<T> extends Object implements org.jboss.shrinkwrap.descriptor.api.Child<T>, EnvEntryType<T>
env-entryType xsd type| Constructor and Description |
|---|
EnvEntryTypeImpl(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) |
| Modifier and Type | Method and Description |
|---|---|
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 |
getId()
Returns the
id attribute |
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> |
id(String id)
Sets the
id attribute |
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> |
removeId()
Removes the
id attribute |
EnvEntryType<T> |
removeLookupName()
Removes the
lookup-name element |
EnvEntryType<T> |
removeMappedName()
Removes the
mapped-name element |
T |
up() |
public EnvEntryTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node)
public EnvEntryType<T> lookupName(String lookupName)
lookup-name elementlookupName in interface EnvEntryType<T>lookupName - the value for the element lookup-nameEnvEntryTypepublic String getLookupName()
lookup-name elementgetLookupName in interface EnvEntryType<T>lookup-namepublic EnvEntryType<T> removeLookupName()
lookup-name elementremoveLookupName in interface EnvEntryType<T>EnvEntryTypepublic EnvEntryType<T> mappedName(String mappedName)
mapped-name elementmappedName in interface EnvEntryType<T>mappedName - the value for the element mapped-nameEnvEntryTypepublic String getMappedName()
mapped-name elementgetMappedName in interface EnvEntryType<T>mapped-namepublic EnvEntryType<T> removeMappedName()
mapped-name elementremoveMappedName in interface EnvEntryType<T>EnvEntryTypepublic InjectionTargetType<EnvEntryType<T>> getOrCreateInjectionTarget()
injection-target element will be created and returned.
Otherwise, the first existing injection-target element will be returned.getOrCreateInjectionTarget in interface EnvEntryType<T>injection-targetpublic InjectionTargetType<EnvEntryType<T>> createInjectionTarget()
injection-target elementcreateInjectionTarget in interface EnvEntryType<T>InjectionTargetType> public List<InjectionTargetType<EnvEntryType<T>>> getAllInjectionTarget()
injection-target elementsgetAllInjectionTarget in interface EnvEntryType<T>injection-targetpublic EnvEntryType<T> removeAllInjectionTarget()
injection-target elementsremoveAllInjectionTarget in interface EnvEntryType<T>InjectionTargetType> public EnvEntryType<T> description(String... values)
description elements,
a new description elementdescription in interface EnvEntryType<T>values - list of description objectsEnvEntryTypepublic List<String> getAllDescription()
description elementsgetAllDescription in interface EnvEntryType<T>descriptionpublic EnvEntryType<T> removeAllDescription()
description elementremoveAllDescription in interface EnvEntryType<T>EnvEntryTypepublic EnvEntryType<T> envEntryName(String envEntryName)
env-entry-name elementenvEntryName in interface EnvEntryType<T>envEntryName - the value for the element env-entry-nameEnvEntryTypepublic String getEnvEntryName()
env-entry-name elementgetEnvEntryName in interface EnvEntryType<T>env-entry-namepublic EnvEntryType<T> removeEnvEntryName()
env-entry-name elementremoveEnvEntryName in interface EnvEntryType<T>EnvEntryTypepublic EnvEntryType<T> envEntryType(String envEntryType)
env-entry-type elementenvEntryType in interface EnvEntryType<T>envEntryType - the value for the element env-entry-typeEnvEntryTypepublic String getEnvEntryType()
env-entry-type elementgetEnvEntryType in interface EnvEntryType<T>env-entry-typepublic EnvEntryType<T> removeEnvEntryType()
env-entry-type elementremoveEnvEntryType in interface EnvEntryType<T>EnvEntryTypepublic EnvEntryType<T> envEntryValue(String envEntryValue)
env-entry-value elementenvEntryValue in interface EnvEntryType<T>envEntryValue - the value for the element env-entry-valueEnvEntryTypepublic String getEnvEntryValue()
env-entry-value elementgetEnvEntryValue in interface EnvEntryType<T>env-entry-valuepublic EnvEntryType<T> removeEnvEntryValue()
env-entry-value elementremoveEnvEntryValue in interface EnvEntryType<T>EnvEntryTypepublic EnvEntryType<T> id(String id)
id attributeid in interface EnvEntryType<T>id - the value for the attribute idEnvEntryTypepublic String getId()
id attributegetId in interface EnvEntryType<T>idpublic EnvEntryType<T> removeId()
id attributeremoveId in interface EnvEntryType<T>EnvEntryTypeCopyright © 2021 JBoss by Red Hat. All rights reserved.