Interface ResourceEnvRefType<T>
- All Superinterfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>
- All Known Implementing Classes:
ResourceEnvRefTypeImpl
public interface ResourceEnvRefType<T>
extends org.jboss.shrinkwrap.descriptor.api.Child<T>
This interface defines the contract for the
resource-env-refType xsd type-
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-typeelementMethods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
-
Method Details
-
description
Creates for all String objects representingdescriptionelements, a newdescriptionelement- Parameters:
values- list ofdescriptionobjects- Returns:
- the current instance of
ResourceEnvRefType
-
getAllDescription
Returns alldescriptionelements- Returns:
- list of
description
-
removeAllDescription
ResourceEnvRefType<T> removeAllDescription()Removes thedescriptionelement- Returns:
- the current instance of
ResourceEnvRefType
-
resourceEnvRefName
Sets theresource-env-ref-nameelement- Parameters:
resourceEnvRefName- the value for the elementresource-env-ref-name- Returns:
- the current instance of
ResourceEnvRefType
-
getResourceEnvRefName
String getResourceEnvRefName()Returns theresource-env-ref-nameelement- Returns:
- the node defined for the element
resource-env-ref-name
-
removeResourceEnvRefName
ResourceEnvRefType<T> removeResourceEnvRefName()Removes theresource-env-ref-nameelement- Returns:
- the current instance of
ResourceEnvRefType
-
resourceEnvRefType
Sets theresource-env-ref-typeelement- Parameters:
resourceEnvRefType- the value for the elementresource-env-ref-type- Returns:
- the current instance of
ResourceEnvRefType
-
getResourceEnvRefType
String getResourceEnvRefType()Returns theresource-env-ref-typeelement- Returns:
- the node defined for the element
resource-env-ref-type
-
removeResourceEnvRefType
ResourceEnvRefType<T> removeResourceEnvRefType()Removes theresource-env-ref-typeelement- Returns:
- the current instance of
ResourceEnvRefType
-
id
Sets theidattribute- Parameters:
id- the value for the attributeid- Returns:
- the current instance of
ResourceEnvRefType
-
getId
String getId()Returns theidattribute- Returns:
- the value defined for the attribute
id
-
removeId
ResourceEnvRefType<T> removeId()Removes theidattribute- Returns:
- the current instance of
ResourceEnvRefType
-