public class EnvEntryTypeImpl<T> extends Object implements org.jboss.shrinkwrap.descriptor.api.Child<T>, EnvEntryType<T>
env-entryType
xsd typeConstructor 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-name
EnvEntryType
public String getLookupName()
lookup-name
elementgetLookupName
in interface EnvEntryType<T>
lookup-name
public EnvEntryType<T> removeLookupName()
lookup-name
elementremoveLookupName
in interface EnvEntryType<T>
EnvEntryType
public EnvEntryType<T> mappedName(String mappedName)
mapped-name
elementmappedName
in interface EnvEntryType<T>
mappedName
- the value for the element mapped-name
EnvEntryType
public String getMappedName()
mapped-name
elementgetMappedName
in interface EnvEntryType<T>
mapped-name
public EnvEntryType<T> removeMappedName()
mapped-name
elementremoveMappedName
in interface EnvEntryType<T>
EnvEntryType
public 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-target
public 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-target
public 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
objectsEnvEntryType
public List<String> getAllDescription()
description
elementsgetAllDescription
in interface EnvEntryType<T>
description
public EnvEntryType<T> removeAllDescription()
description
elementremoveAllDescription
in interface EnvEntryType<T>
EnvEntryType
public EnvEntryType<T> envEntryName(String envEntryName)
env-entry-name
elementenvEntryName
in interface EnvEntryType<T>
envEntryName
- the value for the element env-entry-name
EnvEntryType
public String getEnvEntryName()
env-entry-name
elementgetEnvEntryName
in interface EnvEntryType<T>
env-entry-name
public EnvEntryType<T> removeEnvEntryName()
env-entry-name
elementremoveEnvEntryName
in interface EnvEntryType<T>
EnvEntryType
public EnvEntryType<T> envEntryType(String envEntryType)
env-entry-type
elementenvEntryType
in interface EnvEntryType<T>
envEntryType
- the value for the element env-entry-type
EnvEntryType
public String getEnvEntryType()
env-entry-type
elementgetEnvEntryType
in interface EnvEntryType<T>
env-entry-type
public EnvEntryType<T> removeEnvEntryType()
env-entry-type
elementremoveEnvEntryType
in interface EnvEntryType<T>
EnvEntryType
public EnvEntryType<T> envEntryValue(String envEntryValue)
env-entry-value
elementenvEntryValue
in interface EnvEntryType<T>
envEntryValue
- the value for the element env-entry-value
EnvEntryType
public String getEnvEntryValue()
env-entry-value
elementgetEnvEntryValue
in interface EnvEntryType<T>
env-entry-value
public EnvEntryType<T> removeEnvEntryValue()
env-entry-value
elementremoveEnvEntryValue
in interface EnvEntryType<T>
EnvEntryType
public EnvEntryType<T> id(String id)
id
attributeid
in interface EnvEntryType<T>
id
- the value for the attribute id
EnvEntryType
public String getId()
id
attributegetId
in interface EnvEntryType<T>
id
public EnvEntryType<T> removeId()
id
attributeremoveId
in interface EnvEntryType<T>
EnvEntryType
Copyright © 2021 JBoss by Red Hat. All rights reserved.