Class ResourceEnvRefTypeImpl<T>
java.lang.Object
org.jboss.shrinkwrap.descriptor.impl.j2ee14.ResourceEnvRefTypeImpl<T>
- All Implemented Interfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>,ResourceEnvRefType<T>
public class ResourceEnvRefTypeImpl<T>
extends Object
implements org.jboss.shrinkwrap.descriptor.api.Child<T>, ResourceEnvRefType<T>
This class implements the
resource-env-refType xsd type-
Constructor Summary
ConstructorsConstructorDescriptionResourceEnvRefTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node) ResourceEnvRefTypeImpl(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 newdescriptionelementReturns alldescriptionelementsgetId()Returns theidattributeReturns theresource-env-ref-nameelementReturns theresource-env-ref-typeelementSets theidattributeRemoves thedescriptionelementremoveId()Removes theidattributeRemoves theresource-env-ref-nameelementRemoves theresource-env-ref-typeelementresourceEnvRefName(String resourceEnvRefName) Sets theresource-env-ref-nameelementresourceEnvRefType(String resourceEnvRefType) Sets theresource-env-ref-typeelementup()
-
Constructor Details
-
ResourceEnvRefTypeImpl
-
ResourceEnvRefTypeImpl
-
-
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 interfaceResourceEnvRefType<T>- Parameters:
values- list ofdescriptionobjects- Returns:
- the current instance of
ResourceEnvRefType
-
getAllDescription
Returns alldescriptionelements- Specified by:
getAllDescriptionin interfaceResourceEnvRefType<T>- Returns:
- list of
description
-
removeAllDescription
Removes thedescriptionelement- Specified by:
removeAllDescriptionin interfaceResourceEnvRefType<T>- Returns:
- the current instance of
ResourceEnvRefType
-
resourceEnvRefName
Sets theresource-env-ref-nameelement- Specified by:
resourceEnvRefNamein interfaceResourceEnvRefType<T>- Parameters:
resourceEnvRefName- the value for the elementresource-env-ref-name- Returns:
- the current instance of
ResourceEnvRefType
-
getResourceEnvRefName
Returns theresource-env-ref-nameelement- Specified by:
getResourceEnvRefNamein interfaceResourceEnvRefType<T>- Returns:
- the node defined for the element
resource-env-ref-name
-
removeResourceEnvRefName
Removes theresource-env-ref-nameelement- Specified by:
removeResourceEnvRefNamein interfaceResourceEnvRefType<T>- Returns:
- the current instance of
ResourceEnvRefType
-
resourceEnvRefType
Sets theresource-env-ref-typeelement- Specified by:
resourceEnvRefTypein interfaceResourceEnvRefType<T>- Parameters:
resourceEnvRefType- the value for the elementresource-env-ref-type- Returns:
- the current instance of
ResourceEnvRefType
-
getResourceEnvRefType
Returns theresource-env-ref-typeelement- Specified by:
getResourceEnvRefTypein interfaceResourceEnvRefType<T>- Returns:
- the node defined for the element
resource-env-ref-type
-
removeResourceEnvRefType
Removes theresource-env-ref-typeelement- Specified by:
removeResourceEnvRefTypein interfaceResourceEnvRefType<T>- Returns:
- the current instance of
ResourceEnvRefType
-
id
Sets theidattribute- Specified by:
idin interfaceResourceEnvRefType<T>- Parameters:
id- the value for the attributeid- Returns:
- the current instance of
ResourceEnvRefType
-
getId
Returns theidattribute- Specified by:
getIdin interfaceResourceEnvRefType<T>- Returns:
- the value defined for the attribute
id
-
removeId
Removes theidattribute- Specified by:
removeIdin interfaceResourceEnvRefType<T>- Returns:
- the current instance of
ResourceEnvRefType
-