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 TypeMethodDescriptionCreates a newinjection-targetelementdescription(String... values) Creates for all String objects representingdescriptionelements, a newdescriptionelementReturns alldescriptionelementsReturns allinjection-targetelementsgetId()Returns theidattributeReturns thelookup-nameelementReturns themapped-nameelementIf not already created, a newinjection-targetelement will be created and returned.Returns theresource-env-ref-nameelementReturns theresource-env-ref-typeelementSets theidattributelookupName(String lookupName) Sets thelookup-nameelementmappedName(String mappedName) Sets themapped-nameelementRemoves thedescriptionelementRemoves allinjection-targetelementsremoveId()Removes theidattributeRemoves thelookup-nameelementRemoves themapped-nameelementRemoves 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
-
lookupName
Sets thelookup-nameelement- Parameters:
lookupName- the value for the elementlookup-name- Returns:
- the current instance of
ResourceEnvRefType
-
getLookupName
String getLookupName()Returns thelookup-nameelement- Returns:
- the node defined for the element
lookup-name
-
removeLookupName
ResourceEnvRefType<T> removeLookupName()Removes thelookup-nameelement- Returns:
- the current instance of
ResourceEnvRefType
-
mappedName
Sets themapped-nameelement- Parameters:
mappedName- the value for the elementmapped-name- Returns:
- the current instance of
ResourceEnvRefType
-
getMappedName
String getMappedName()Returns themapped-nameelement- Returns:
- the node defined for the element
mapped-name
-
removeMappedName
ResourceEnvRefType<T> removeMappedName()Removes themapped-nameelement- Returns:
- the current instance of
ResourceEnvRefType
-
getOrCreateInjectionTarget
InjectionTargetType<ResourceEnvRefType<T>> getOrCreateInjectionTarget()If not already created, a newinjection-targetelement will be created and returned. Otherwise, the first existinginjection-targetelement will be returned.- Returns:
- the instance defined for the element
injection-target
-
createInjectionTarget
InjectionTargetType<ResourceEnvRefType<T>> createInjectionTarget()Creates a newinjection-targetelement- Returns:
- the new created instance of
InjectionTargetTypeinvalid input: '<'ResourceEnvRefType>
-
getAllInjectionTarget
List<InjectionTargetType<ResourceEnvRefType<T>>> getAllInjectionTarget()Returns allinjection-targetelements- Returns:
- list of
injection-target
-
removeAllInjectionTarget
ResourceEnvRefType<T> removeAllInjectionTarget()Removes allinjection-targetelements- Returns:
- the current instance of
InjectionTargetTypeinvalid input: '<'ResourceEnvRefType>
-
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
-