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 theresource-env-refTypexsd type
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ResourceEnvRefType<T>description(String... values)Creates for all String objects representingdescriptionelements, a newdescriptionelementList<String>getAllDescription()Returns alldescriptionelementsStringgetId()Returns theidattributeStringgetResourceEnvRefName()Returns theresource-env-ref-nameelementStringgetResourceEnvRefType()Returns theresource-env-ref-typeelementResourceEnvRefType<T>id(String id)Sets theidattributeResourceEnvRefType<T>removeAllDescription()Removes thedescriptionelementResourceEnvRefType<T>removeId()Removes theidattributeResourceEnvRefType<T>removeResourceEnvRefName()Removes theresource-env-ref-nameelementResourceEnvRefType<T>removeResourceEnvRefType()Removes theresource-env-ref-typeelementResourceEnvRefType<T>resourceEnvRefName(String resourceEnvRefName)Sets theresource-env-ref-nameelementResourceEnvRefType<T>resourceEnvRefType(String resourceEnvRefType)Sets theresource-env-ref-typeelement
-
-
-
Method Detail
-
description
ResourceEnvRefType<T> description(String... values)
Creates for all String objects representingdescriptionelements, a newdescriptionelement- Parameters:
values- list ofdescriptionobjects- Returns:
- the current instance of
ResourceEnvRefType
-
getAllDescription
List<String> getAllDescription()
Returns alldescriptionelements- Returns:
- list of
description
-
removeAllDescription
ResourceEnvRefType<T> removeAllDescription()
Removes thedescriptionelement- Returns:
- the current instance of
ResourceEnvRefType
-
resourceEnvRefName
ResourceEnvRefType<T> resourceEnvRefName(String 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
ResourceEnvRefType<T> resourceEnvRefType(String 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
ResourceEnvRefType<T> id(String 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
-
-