|
ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ResourceRefType<T>
This interface defines the contract for the resource-refType
xsd type
Method Summary | |
---|---|
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 |
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> |
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> |
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 |
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child |
---|
up |
Method Detail |
---|
ResourceRefType<T> mappedName(String mappedName)
mapped-name
element
mappedName
- the value for the element mapped-name
ResourceRefType
String getMappedName()
mapped-name
element
mapped-name
ResourceRefType<T> removeMappedName()
mapped-name
element
ResourceRefType
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
element
InjectionTargetType>
List<InjectionTargetType<ResourceRefType<T>>> getAllInjectionTarget()
injection-target
elements
injection-target
ResourceRefType<T> removeAllInjectionTarget()
injection-target
elements
InjectionTargetType>
ResourceRefType<T> description(String... values)
description
elements,
a new description
element
values
- list of description
objects
ResourceRefType
List<String> getAllDescription()
description
elements
description
ResourceRefType<T> removeAllDescription()
description
element
ResourceRefType
ResourceRefType<T> resRefName(String resRefName)
res-ref-name
element
resRefName
- the value for the element res-ref-name
ResourceRefType
String getResRefName()
res-ref-name
element
res-ref-name
ResourceRefType<T> removeResRefName()
res-ref-name
element
ResourceRefType
ResourceRefType<T> resType(String resType)
res-type
element
resType
- the value for the element res-type
ResourceRefType
String getResType()
res-type
element
res-type
ResourceRefType<T> removeResType()
res-type
element
ResourceRefType
ResourceRefType<T> resAuth(ResAuthType resAuth)
res-auth
element
resAuth
- the value for the element res-auth
ResourceRefType
ResourceRefType<T> resAuth(String resAuth)
res-auth
element
resAuth
- the value for the element res-auth
ResourceRefType
ResAuthType getResAuth()
res-auth
element
res-auth
String getResAuthAsString()
res-auth
element
res-auth
ResourceRefType<T> removeResAuth()
res-auth
attribute
ResourceRefType
ResourceRefType<T> resSharingScope(ResSharingScopeType resSharingScope)
res-sharing-scope
element
resSharingScope
- the value for the element res-sharing-scope
ResourceRefType
ResourceRefType<T> resSharingScope(String resSharingScope)
res-sharing-scope
element
resSharingScope
- the value for the element res-sharing-scope
ResourceRefType
ResSharingScopeType getResSharingScope()
res-sharing-scope
element
res-sharing-scope
String getResSharingScopeAsString()
res-sharing-scope
element
res-sharing-scope
ResourceRefType<T> removeResSharingScope()
res-sharing-scope
attribute
ResourceRefType
|
ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |