|
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 EjbRefType<T>
This interface defines the contract for the ejb-refType
xsd type
Method Summary | |
---|---|
InjectionTargetType<EjbRefType<T>> |
createInjectionTarget()
Creates a new injection-target element |
EjbRefType<T> |
description(String... values)
Creates for all String objects representing description elements,
a new description element |
EjbRefType<T> |
ejbLink(String ejbLink)
Sets the ejb-link element |
EjbRefType<T> |
ejbRefName(String ejbRefName)
Sets the ejb-ref-name element |
EjbRefType<T> |
ejbRefType(EjbRefTypeType ejbRefType)
Sets the ejb-ref-type element |
EjbRefType<T> |
ejbRefType(String ejbRefType)
Sets the ejb-ref-type element |
List<String> |
getAllDescription()
Returns all description elements |
List<InjectionTargetType<EjbRefType<T>>> |
getAllInjectionTarget()
Returns all injection-target elements |
String |
getEjbLink()
Returns the ejb-link element |
String |
getEjbRefName()
Returns the ejb-ref-name element |
EjbRefTypeType |
getEjbRefType()
Returns the ejb-ref-type element |
String |
getEjbRefTypeAsString()
Returns the ejb-ref-type element |
String |
getHome()
Returns the home element |
String |
getMappedName()
Returns the mapped-name element |
InjectionTargetType<EjbRefType<T>> |
getOrCreateInjectionTarget()
If not already created, a new injection-target element will be created and returned. |
String |
getRemote()
Returns the remote element |
EjbRefType<T> |
home(String home)
Sets the home element |
EjbRefType<T> |
mappedName(String mappedName)
Sets the mapped-name element |
EjbRefType<T> |
remote(String remote)
Sets the remote element |
EjbRefType<T> |
removeAllDescription()
Removes the description element |
EjbRefType<T> |
removeAllInjectionTarget()
Removes all injection-target elements |
EjbRefType<T> |
removeEjbLink()
Removes the ejb-link element |
EjbRefType<T> |
removeEjbRefName()
Removes the ejb-ref-name element |
EjbRefType<T> |
removeEjbRefType()
Removes the ejb-ref-type attribute |
EjbRefType<T> |
removeHome()
Removes the home element |
EjbRefType<T> |
removeMappedName()
Removes the mapped-name element |
EjbRefType<T> |
removeRemote()
Removes the remote element |
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child |
---|
up |
Method Detail |
---|
EjbRefType<T> mappedName(String mappedName)
mapped-name
element
mappedName
- the value for the element mapped-name
EjbRefType
String getMappedName()
mapped-name
element
mapped-name
EjbRefType<T> removeMappedName()
mapped-name
element
EjbRefType
InjectionTargetType<EjbRefType<T>> getOrCreateInjectionTarget()
injection-target
element will be created and returned.
Otherwise, the first existing injection-target
element will be returned.
injection-target
InjectionTargetType<EjbRefType<T>> createInjectionTarget()
injection-target
element
InjectionTargetType>
List<InjectionTargetType<EjbRefType<T>>> getAllInjectionTarget()
injection-target
elements
injection-target
EjbRefType<T> removeAllInjectionTarget()
injection-target
elements
InjectionTargetType>
EjbRefType<T> description(String... values)
description
elements,
a new description
element
values
- list of description
objects
EjbRefType
List<String> getAllDescription()
description
elements
description
EjbRefType<T> removeAllDescription()
description
element
EjbRefType
EjbRefType<T> ejbRefName(String ejbRefName)
ejb-ref-name
element
ejbRefName
- the value for the element ejb-ref-name
EjbRefType
String getEjbRefName()
ejb-ref-name
element
ejb-ref-name
EjbRefType<T> removeEjbRefName()
ejb-ref-name
element
EjbRefType
EjbRefType<T> ejbRefType(EjbRefTypeType ejbRefType)
ejb-ref-type
element
ejbRefType
- the value for the element ejb-ref-type
EjbRefType
EjbRefType<T> ejbRefType(String ejbRefType)
ejb-ref-type
element
ejbRefType
- the value for the element ejb-ref-type
EjbRefType
EjbRefTypeType getEjbRefType()
ejb-ref-type
element
ejb-ref-type
String getEjbRefTypeAsString()
ejb-ref-type
element
ejb-ref-type
EjbRefType<T> removeEjbRefType()
ejb-ref-type
attribute
EjbRefType
EjbRefType<T> home(String home)
home
element
home
- the value for the element home
EjbRefType
String getHome()
home
element
home
EjbRefType<T> removeHome()
home
element
EjbRefType
EjbRefType<T> remote(String remote)
remote
element
remote
- the value for the element remote
EjbRefType
String getRemote()
remote
element
remote
EjbRefType<T> removeRemote()
remote
element
EjbRefType
EjbRefType<T> ejbLink(String ejbLink)
ejb-link
element
ejbLink
- the value for the element ejb-link
EjbRefType
String getEjbLink()
ejb-link
element
ejb-link
EjbRefType<T> removeEjbLink()
ejb-link
element
EjbRefType
|
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 |