Class EnvEntryTypeImpl<T>
java.lang.Object
org.jboss.shrinkwrap.descriptor.impl.j2ee14.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 TypeMethodDescriptiondescription(String... values) Creates for all String objects representingdescriptionelements, a newdescriptionelementenvEntryName(String envEntryName) Sets theenv-entry-nameelementenvEntryType(String envEntryType) Sets theenv-entry-typeelementenvEntryType(EnvEntryTypeValuesType envEntryType) Sets theenv-entry-typeelementenvEntryValue(String envEntryValue) Sets theenv-entry-valueelementReturns alldescriptionelementsReturns theenv-entry-nameelementReturns theenv-entry-typeelementReturns theenv-entry-typeelementReturns theenv-entry-valueelementgetId()Returns theidattributeSets theidattributeRemoves thedescriptionelementRemoves theenv-entry-nameelementRemoves theenv-entry-typeattributeRemoves theenv-entry-valueelementremoveId()Removes theidattributeup()
-
Constructor Details
-
EnvEntryTypeImpl
-
EnvEntryTypeImpl
-
-
Method Details
-
up
- Specified by:
upin interfaceorg.jboss.shrinkwrap.descriptor.api.Child<T>
-
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
-
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 value found for the element
env-entry-type
-
getEnvEntryTypeAsString
Returns theenv-entry-typeelement- Specified by:
getEnvEntryTypeAsStringin interfaceEnvEntryType<T>- Returns:
- the value found for the element
env-entry-type
-
removeEnvEntryType
Removes theenv-entry-typeattribute- 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
-