public interface ResourceEnvRefType<T>
extends org.jboss.shrinkwrap.descriptor.api.Child<T>
resource-env-refType
xsd typeModifier and Type | Method and Description |
---|---|
InjectionTargetType<ResourceEnvRefType<T>> |
createInjectionTarget()
Creates a new
injection-target element |
ResourceEnvRefType<T> |
description(java.lang.String... values)
Creates for all String objects representing
description elements,
a new description element |
java.util.List<java.lang.String> |
getAllDescription()
Returns all
description elements |
java.util.List<InjectionTargetType<ResourceEnvRefType<T>>> |
getAllInjectionTarget()
Returns all
injection-target elements |
java.lang.String |
getId()
Returns the
id attribute |
java.lang.String |
getLookupName()
Returns the
lookup-name element |
java.lang.String |
getMappedName()
Returns the
mapped-name element |
InjectionTargetType<ResourceEnvRefType<T>> |
getOrCreateInjectionTarget()
If not already created, a new
injection-target element will be created and returned. |
java.lang.String |
getResourceEnvRefName()
Returns the
resource-env-ref-name element |
java.lang.String |
getResourceEnvRefType()
Returns the
resource-env-ref-type element |
ResourceEnvRefType<T> |
id(java.lang.String id)
Sets the
id attribute |
ResourceEnvRefType<T> |
lookupName(java.lang.String lookupName)
Sets the
lookup-name element |
ResourceEnvRefType<T> |
mappedName(java.lang.String mappedName)
Sets the
mapped-name element |
ResourceEnvRefType<T> |
removeAllDescription()
Removes the
description element |
ResourceEnvRefType<T> |
removeAllInjectionTarget()
Removes all
injection-target elements |
ResourceEnvRefType<T> |
removeId()
Removes the
id attribute |
ResourceEnvRefType<T> |
removeLookupName()
Removes the
lookup-name element |
ResourceEnvRefType<T> |
removeMappedName()
Removes the
mapped-name element |
ResourceEnvRefType<T> |
removeResourceEnvRefName()
Removes the
resource-env-ref-name element |
ResourceEnvRefType<T> |
removeResourceEnvRefType()
Removes the
resource-env-ref-type element |
ResourceEnvRefType<T> |
resourceEnvRefName(java.lang.String resourceEnvRefName)
Sets the
resource-env-ref-name element |
ResourceEnvRefType<T> |
resourceEnvRefType(java.lang.String resourceEnvRefType)
Sets the
resource-env-ref-type element |
ResourceEnvRefType<T> lookupName(java.lang.String lookupName)
lookup-name
elementlookupName
- the value for the element lookup-name
ResourceEnvRefType
java.lang.String getLookupName()
lookup-name
elementlookup-name
ResourceEnvRefType<T> removeLookupName()
lookup-name
elementResourceEnvRefType
ResourceEnvRefType<T> mappedName(java.lang.String mappedName)
mapped-name
elementmappedName
- the value for the element mapped-name
ResourceEnvRefType
java.lang.String getMappedName()
mapped-name
elementmapped-name
ResourceEnvRefType<T> removeMappedName()
mapped-name
elementResourceEnvRefType
InjectionTargetType<ResourceEnvRefType<T>> getOrCreateInjectionTarget()
injection-target
element will be created and returned.
Otherwise, the first existing injection-target
element will be returned.injection-target
InjectionTargetType<ResourceEnvRefType<T>> createInjectionTarget()
injection-target
elementInjectionTargetType>
java.util.List<InjectionTargetType<ResourceEnvRefType<T>>> getAllInjectionTarget()
injection-target
elementsinjection-target
ResourceEnvRefType<T> removeAllInjectionTarget()
injection-target
elementsInjectionTargetType>
ResourceEnvRefType<T> description(java.lang.String... values)
description
elements,
a new description
elementvalues
- list of description
objectsResourceEnvRefType
java.util.List<java.lang.String> getAllDescription()
description
elementsdescription
ResourceEnvRefType<T> removeAllDescription()
description
elementResourceEnvRefType
ResourceEnvRefType<T> resourceEnvRefName(java.lang.String resourceEnvRefName)
resource-env-ref-name
elementresourceEnvRefName
- the value for the element resource-env-ref-name
ResourceEnvRefType
java.lang.String getResourceEnvRefName()
resource-env-ref-name
elementresource-env-ref-name
ResourceEnvRefType<T> removeResourceEnvRefName()
resource-env-ref-name
elementResourceEnvRefType
ResourceEnvRefType<T> resourceEnvRefType(java.lang.String resourceEnvRefType)
resource-env-ref-type
elementresourceEnvRefType
- the value for the element resource-env-ref-type
ResourceEnvRefType
java.lang.String getResourceEnvRefType()
resource-env-ref-type
elementresource-env-ref-type
ResourceEnvRefType<T> removeResourceEnvRefType()
resource-env-ref-type
elementResourceEnvRefType
ResourceEnvRefType<T> id(java.lang.String id)
id
attributeid
- the value for the attribute id
ResourceEnvRefType
java.lang.String getId()
id
attributeid
ResourceEnvRefType<T> removeId()
id
attributeResourceEnvRefType
Copyright © 2014 IronJacamar (http://www.ironjacamar.org)