public interface ResourceRefType<T>
extends org.jboss.shrinkwrap.descriptor.api.Child<T>
resource-refType xsd type| Modifier and Type | Method and Description |
|---|---|
InjectionTargetType<ResourceRefType<T>> |
createInjectionTarget()
Creates a new
injection-target element |
ResourceRefType<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<ResourceRefType<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<ResourceRefType<T>> |
getOrCreateInjectionTarget()
If not already created, a new
injection-target element will be created and returned. |
ResAuthType |
getResAuth()
Returns the
res-auth element |
java.lang.String |
getResAuthAsString()
Returns the
res-auth element |
java.lang.String |
getResRefName()
Returns the
res-ref-name element |
ResSharingScopeType |
getResSharingScope()
Returns the
res-sharing-scope element |
java.lang.String |
getResSharingScopeAsString()
Returns the
res-sharing-scope element |
java.lang.String |
getResType()
Returns the
res-type element |
ResourceRefType<T> |
id(java.lang.String id)
Sets the
id attribute |
ResourceRefType<T> |
lookupName(java.lang.String lookupName)
Sets the
lookup-name element |
ResourceRefType<T> |
mappedName(java.lang.String mappedName)
Sets the
mapped-name element |
ResourceRefType<T> |
removeAllDescription()
Removes the
description element |
ResourceRefType<T> |
removeAllInjectionTarget()
Removes all
injection-target elements |
ResourceRefType<T> |
removeId()
Removes the
id attribute |
ResourceRefType<T> |
removeLookupName()
Removes the
lookup-name element |
ResourceRefType<T> |
removeMappedName()
Removes the
mapped-name element |
ResourceRefType<T> |
removeResAuth()
Removes the
res-auth attribute |
ResourceRefType<T> |
removeResRefName()
Removes the
res-ref-name element |
ResourceRefType<T> |
removeResSharingScope()
Removes the
res-sharing-scope attribute |
ResourceRefType<T> |
removeResType()
Removes the
res-type element |
ResourceRefType<T> |
resAuth(ResAuthType resAuth)
Sets the
res-auth element |
ResourceRefType<T> |
resAuth(java.lang.String resAuth)
Sets the
res-auth element |
ResourceRefType<T> |
resRefName(java.lang.String resRefName)
Sets the
res-ref-name element |
ResourceRefType<T> |
resSharingScope(ResSharingScopeType resSharingScope)
Sets the
res-sharing-scope element |
ResourceRefType<T> |
resSharingScope(java.lang.String resSharingScope)
Sets the
res-sharing-scope element |
ResourceRefType<T> |
resType(java.lang.String resType)
Sets the
res-type element |
ResourceRefType<T> lookupName(java.lang.String lookupName)
lookup-name elementlookupName - the value for the element lookup-nameResourceRefTypejava.lang.String getLookupName()
lookup-name elementlookup-nameResourceRefType<T> removeLookupName()
lookup-name elementResourceRefTypeResourceRefType<T> mappedName(java.lang.String mappedName)
mapped-name elementmappedName - the value for the element mapped-nameResourceRefTypejava.lang.String getMappedName()
mapped-name elementmapped-nameResourceRefType<T> removeMappedName()
mapped-name elementResourceRefTypeInjectionTargetType<ResourceRefType<T>> getOrCreateInjectionTarget()
injection-target element will be created and returned.
Otherwise, the first existing injection-target element will be returned.injection-targetInjectionTargetType<ResourceRefType<T>> createInjectionTarget()
injection-target elementInjectionTargetType> java.util.List<InjectionTargetType<ResourceRefType<T>>> getAllInjectionTarget()
injection-target elementsinjection-targetResourceRefType<T> removeAllInjectionTarget()
injection-target elementsInjectionTargetType> ResourceRefType<T> description(java.lang.String... values)
description elements,
a new description elementvalues - list of description objectsResourceRefTypejava.util.List<java.lang.String> getAllDescription()
description elementsdescriptionResourceRefType<T> removeAllDescription()
description elementResourceRefTypeResourceRefType<T> resRefName(java.lang.String resRefName)
res-ref-name elementresRefName - the value for the element res-ref-nameResourceRefTypejava.lang.String getResRefName()
res-ref-name elementres-ref-nameResourceRefType<T> removeResRefName()
res-ref-name elementResourceRefTypeResourceRefType<T> resType(java.lang.String resType)
res-type elementresType - the value for the element res-typeResourceRefTypejava.lang.String getResType()
res-type elementres-typeResourceRefType<T> removeResType()
res-type elementResourceRefTypeResourceRefType<T> resAuth(ResAuthType resAuth)
res-auth elementresAuth - the value for the element res-authResourceRefTypeResourceRefType<T> resAuth(java.lang.String resAuth)
res-auth elementresAuth - the value for the element res-authResourceRefTypeResAuthType getResAuth()
res-auth elementres-authjava.lang.String getResAuthAsString()
res-auth elementres-authResourceRefType<T> removeResAuth()
res-auth attributeResourceRefTypeResourceRefType<T> resSharingScope(ResSharingScopeType resSharingScope)
res-sharing-scope elementresSharingScope - the value for the element res-sharing-scopeResourceRefTypeResourceRefType<T> resSharingScope(java.lang.String resSharingScope)
res-sharing-scope elementresSharingScope - the value for the element res-sharing-scopeResourceRefTypeResSharingScopeType getResSharingScope()
res-sharing-scope elementres-sharing-scopejava.lang.String getResSharingScopeAsString()
res-sharing-scope elementres-sharing-scopeResourceRefType<T> removeResSharingScope()
res-sharing-scope attributeResourceRefTypeResourceRefType<T> id(java.lang.String id)
id attributeid - the value for the attribute idResourceRefTypejava.lang.String getId()
id attributeidResourceRefType<T> removeId()
id attributeResourceRefTypeCopyright © 2014 IronJacamar (http://www.ironjacamar.org)