public interface ResourceRefType<T>
extends org.jboss.shrinkwrap.descriptor.api.Child<T>
resource-refType
xsd typeModifier 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-name
ResourceRefType
String getLookupName()
lookup-name
elementlookup-name
ResourceRefType<T> removeLookupName()
lookup-name
elementResourceRefType
ResourceRefType<T> mappedName(String mappedName)
mapped-name
elementmappedName
- the value for the element mapped-name
ResourceRefType
String getMappedName()
mapped-name
elementmapped-name
ResourceRefType<T> removeMappedName()
mapped-name
elementResourceRefType
InjectionTargetType<ResourceRefType<T>> getOrCreateInjectionTarget()
injection-target
element will be created and returned.
Otherwise, the first existing injection-target
element will be returned.injection-target
InjectionTargetType<ResourceRefType<T>> createInjectionTarget()
injection-target
elementInjectionTargetType>
List<InjectionTargetType<ResourceRefType<T>>> getAllInjectionTarget()
injection-target
elementsinjection-target
ResourceRefType<T> removeAllInjectionTarget()
injection-target
elementsInjectionTargetType>
ResourceRefType<T> description(String... values)
description
elements,
a new description
elementvalues
- list of description
objectsResourceRefType
List<String> getAllDescription()
description
elementsdescription
ResourceRefType<T> removeAllDescription()
description
elementResourceRefType
ResourceRefType<T> resRefName(String resRefName)
res-ref-name
elementresRefName
- the value for the element res-ref-name
ResourceRefType
String getResRefName()
res-ref-name
elementres-ref-name
ResourceRefType<T> removeResRefName()
res-ref-name
elementResourceRefType
ResourceRefType<T> resType(String resType)
res-type
elementresType
- the value for the element res-type
ResourceRefType
String getResType()
res-type
elementres-type
ResourceRefType<T> removeResType()
res-type
elementResourceRefType
ResourceRefType<T> resAuth(ResAuthType resAuth)
res-auth
elementresAuth
- the value for the element res-auth
ResourceRefType
ResourceRefType<T> resAuth(String resAuth)
res-auth
elementresAuth
- the value for the element res-auth
ResourceRefType
ResAuthType getResAuth()
res-auth
elementres-auth
String getResAuthAsString()
res-auth
elementres-auth
ResourceRefType<T> removeResAuth()
res-auth
attributeResourceRefType
ResourceRefType<T> resSharingScope(ResSharingScopeType resSharingScope)
res-sharing-scope
elementresSharingScope
- the value for the element res-sharing-scope
ResourceRefType
ResourceRefType<T> resSharingScope(String resSharingScope)
res-sharing-scope
elementresSharingScope
- the value for the element res-sharing-scope
ResourceRefType
ResSharingScopeType getResSharingScope()
res-sharing-scope
elementres-sharing-scope
String getResSharingScopeAsString()
res-sharing-scope
elementres-sharing-scope
ResourceRefType<T> removeResSharingScope()
res-sharing-scope
attributeResourceRefType
ResourceRefType<T> id(String id)
id
attributeid
- the value for the attribute id
ResourceRefType
String getId()
id
attributeid
ResourceRefType<T> removeId()
id
attributeResourceRefType
Copyright © 2014 IronJacamar (http://www.ironjacamar.org)