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 theenv-entryTypexsd type
-
-
Constructor Summary
Constructors Constructor 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)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EnvEntryType<T>description(String... values)Creates for all String objects representingdescriptionelements, a newdescriptionelementEnvEntryType<T>envEntryName(String envEntryName)Sets theenv-entry-nameelementEnvEntryType<T>envEntryType(String envEntryType)Sets theenv-entry-typeelementEnvEntryType<T>envEntryType(EnvEntryTypeValuesType envEntryType)Sets theenv-entry-typeelementEnvEntryType<T>envEntryValue(String envEntryValue)Sets theenv-entry-valueelementList<String>getAllDescription()Returns alldescriptionelementsStringgetEnvEntryName()Returns theenv-entry-nameelementEnvEntryTypeValuesTypegetEnvEntryType()Returns theenv-entry-typeelementStringgetEnvEntryTypeAsString()Returns theenv-entry-typeelementStringgetEnvEntryValue()Returns theenv-entry-valueelementStringgetId()Returns theidattributeEnvEntryType<T>id(String id)Sets theidattributeEnvEntryType<T>removeAllDescription()Removes thedescriptionelementEnvEntryType<T>removeEnvEntryName()Removes theenv-entry-nameelementEnvEntryType<T>removeEnvEntryType()Removes theenv-entry-typeattributeEnvEntryType<T>removeEnvEntryValue()Removes theenv-entry-valueelementEnvEntryType<T>removeId()Removes theidattributeTup()
-
-
-
Method Detail
-
description
public EnvEntryType<T> description(String... values)
Creates for all String objects representingdescriptionelements, a newdescriptionelement- Specified by:
descriptionin interfaceEnvEntryType<T>- Parameters:
values- list ofdescriptionobjects- Returns:
- the current instance of
EnvEntryType
-
getAllDescription
public List<String> getAllDescription()
Returns alldescriptionelements- Specified by:
getAllDescriptionin interfaceEnvEntryType<T>- Returns:
- list of
description
-
removeAllDescription
public EnvEntryType<T> removeAllDescription()
Removes thedescriptionelement- Specified by:
removeAllDescriptionin interfaceEnvEntryType<T>- Returns:
- the current instance of
EnvEntryType
-
envEntryName
public EnvEntryType<T> envEntryName(String 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
public String getEnvEntryName()
Returns theenv-entry-nameelement- Specified by:
getEnvEntryNamein interfaceEnvEntryType<T>- Returns:
- the node defined for the element
env-entry-name
-
removeEnvEntryName
public EnvEntryType<T> removeEnvEntryName()
Removes theenv-entry-nameelement- Specified by:
removeEnvEntryNamein interfaceEnvEntryType<T>- Returns:
- the current instance of
EnvEntryType
-
envEntryType
public EnvEntryType<T> envEntryType(EnvEntryTypeValuesType 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
public EnvEntryType<T> envEntryType(String 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
public EnvEntryTypeValuesType getEnvEntryType()
Returns theenv-entry-typeelement- Specified by:
getEnvEntryTypein interfaceEnvEntryType<T>- Returns:
- the value found for the element
env-entry-type
-
getEnvEntryTypeAsString
public String getEnvEntryTypeAsString()
Returns theenv-entry-typeelement- Specified by:
getEnvEntryTypeAsStringin interfaceEnvEntryType<T>- Returns:
- the value found for the element
env-entry-type
-
removeEnvEntryType
public EnvEntryType<T> removeEnvEntryType()
Removes theenv-entry-typeattribute- Specified by:
removeEnvEntryTypein interfaceEnvEntryType<T>- Returns:
- the current instance of
EnvEntryType
-
envEntryValue
public EnvEntryType<T> envEntryValue(String 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
public String getEnvEntryValue()
Returns theenv-entry-valueelement- Specified by:
getEnvEntryValuein interfaceEnvEntryType<T>- Returns:
- the node defined for the element
env-entry-value
-
removeEnvEntryValue
public EnvEntryType<T> removeEnvEntryValue()
Removes theenv-entry-valueelement- Specified by:
removeEnvEntryValuein interfaceEnvEntryType<T>- Returns:
- the current instance of
EnvEntryType
-
id
public EnvEntryType<T> id(String id)
Sets theidattribute- Specified by:
idin interfaceEnvEntryType<T>- Parameters:
id- the value for the attributeid- Returns:
- the current instance of
EnvEntryType
-
getId
public String getId()
Returns theidattribute- Specified by:
getIdin interfaceEnvEntryType<T>- Returns:
- the value defined for the attribute
id
-
removeId
public EnvEntryType<T> removeId()
Removes theidattribute- Specified by:
removeIdin interfaceEnvEntryType<T>- Returns:
- the current instance of
EnvEntryType
-
-