
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(String... values)
Creates for all String objects representing
description elements,
a new description element |
List<String> |
getAllDescription()
Returns all
description elements |
List<InjectionTargetType<ResourceRefType<T>>> |
getAllInjectionTarget()
Returns all
injection-target elements |
String |
getId()
Returns the
id attribute |
String |
getLookupName()
Returns the
lookup-name element |
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 |
String |
getResAuthAsString()
Returns the
res-auth element |
String |
getResRefName()
Returns the
res-ref-name element |
ResSharingScopeType |
getResSharingScope()
Returns the
res-sharing-scope element |
String |
getResSharingScopeAsString()
Returns the
res-sharing-scope element |
String |
getResType()
Returns the
res-type element |
ResourceRefType<T> |
id(String id)
Sets the
id attribute |
ResourceRefType<T> |
lookupName(String lookupName)
Sets the
lookup-name element |
ResourceRefType<T> |
mappedName(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(String resAuth)
Sets the
res-auth element |
ResourceRefType<T> |
resRefName(String resRefName)
Sets the
res-ref-name element |
ResourceRefType<T> |
resSharingScope(ResSharingScopeType resSharingScope)
Sets the
res-sharing-scope element |
ResourceRefType<T> |
resSharingScope(String resSharingScope)
Sets the
res-sharing-scope element |
ResourceRefType<T> |
resType(String resType)
Sets the
res-type element |
ResourceRefType<T> lookupName(String lookupName)
lookup-name elementlookupName - the value for the element lookup-nameResourceRefTypeString getLookupName()
lookup-name elementlookup-nameResourceRefType<T> removeLookupName()
lookup-name elementResourceRefTypeResourceRefType<T> mappedName(String mappedName)
mapped-name elementmappedName - the value for the element mapped-nameResourceRefTypeString 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> List<InjectionTargetType<ResourceRefType<T>>> getAllInjectionTarget()
injection-target elementsinjection-targetResourceRefType<T> removeAllInjectionTarget()
injection-target elementsInjectionTargetType> ResourceRefType<T> description(String... values)
description elements,
a new description elementvalues - list of description objectsResourceRefTypeList<String> getAllDescription()
description elementsdescriptionResourceRefType<T> removeAllDescription()
description elementResourceRefTypeResourceRefType<T> resRefName(String resRefName)
res-ref-name elementresRefName - the value for the element res-ref-nameResourceRefTypeString getResRefName()
res-ref-name elementres-ref-nameResourceRefType<T> removeResRefName()
res-ref-name elementResourceRefTypeResourceRefType<T> resType(String resType)
res-type elementresType - the value for the element res-typeResourceRefTypeString 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(String resAuth)
res-auth elementresAuth - the value for the element res-authResourceRefTypeResAuthType getResAuth()
res-auth elementres-authString 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(String resSharingScope)
res-sharing-scope elementresSharingScope - the value for the element res-sharing-scopeResourceRefTypeResSharingScopeType getResSharingScope()
res-sharing-scope elementres-sharing-scopeString getResSharingScopeAsString()
res-sharing-scope elementres-sharing-scopeResourceRefType<T> removeResSharingScope()
res-sharing-scope attributeResourceRefTypeResourceRefType<T> id(String id)
id attributeid - the value for the attribute idResourceRefTypeString getId()
id attributeidResourceRefType<T> removeId()
id attributeResourceRefTypeCopyright © 2014 IronJacamar (http://www.ironjacamar.org)