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 InjectionTargetType<ResourceEnvRefType<T>>createInjectionTarget()Creates a newinjection-targetelementResourceEnvRefType<T>description(String... values)Creates for all String objects representingdescriptionelements, a newdescriptionelementList<String>getAllDescription()Returns alldescriptionelementsList<InjectionTargetType<ResourceEnvRefType<T>>>getAllInjectionTarget()Returns allinjection-targetelementsStringgetId()Returns theidattributeStringgetLookupName()Returns thelookup-nameelementStringgetMappedName()Returns themapped-nameelementInjectionTargetType<ResourceEnvRefType<T>>getOrCreateInjectionTarget()If not already created, a newinjection-targetelement will be created and returned.StringgetResourceEnvRefName()Returns theresource-env-ref-nameelementStringgetResourceEnvRefType()Returns theresource-env-ref-typeelementResourceEnvRefType<T>id(String id)Sets theidattributeResourceEnvRefType<T>lookupName(String lookupName)Sets thelookup-nameelementResourceEnvRefType<T>mappedName(String mappedName)Sets themapped-nameelementResourceEnvRefType<T>removeAllDescription()Removes thedescriptionelementResourceEnvRefType<T>removeAllInjectionTarget()Removes allinjection-targetelementsResourceEnvRefType<T>removeId()Removes theidattributeResourceEnvRefType<T>removeLookupName()Removes thelookup-nameelementResourceEnvRefType<T>removeMappedName()Removes themapped-nameelementResourceEnvRefType<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
-
lookupName
ResourceEnvRefType<T> lookupName(String 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
ResourceEnvRefType<T> mappedName(String 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
InjectionTargetType>
-
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
InjectionTargetType>
-
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
-
-