public interface EjbRefType<T>
extends org.jboss.shrinkwrap.descriptor.api.Child<T>
ejb-refType xsd type| Modifier and Type | Method and Description |
|---|---|
InjectionTargetType<EjbRefType<T>> |
createInjectionTarget()
Creates a new
injection-target element |
EjbRefType<T> |
description(java.lang.String... values)
Creates for all String objects representing
description elements,
a new description element |
EjbRefType<T> |
ejbLink(java.lang.String ejbLink)
Sets the
ejb-link element |
EjbRefType<T> |
ejbRefName(java.lang.String ejbRefName)
Sets the
ejb-ref-name element |
EjbRefType<T> |
ejbRefType(EjbRefTypeType ejbRefType)
Sets the
ejb-ref-type element |
EjbRefType<T> |
ejbRefType(java.lang.String ejbRefType)
Sets the
ejb-ref-type element |
java.util.List<java.lang.String> |
getAllDescription()
Returns all
description elements |
java.util.List<InjectionTargetType<EjbRefType<T>>> |
getAllInjectionTarget()
Returns all
injection-target elements |
java.lang.String |
getEjbLink()
Returns the
ejb-link element |
java.lang.String |
getEjbRefName()
Returns the
ejb-ref-name element |
EjbRefTypeType |
getEjbRefType()
Returns the
ejb-ref-type element |
java.lang.String |
getEjbRefTypeAsString()
Returns the
ejb-ref-type element |
java.lang.String |
getHome()
Returns the
home element |
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<EjbRefType<T>> |
getOrCreateInjectionTarget()
If not already created, a new
injection-target element will be created and returned. |
java.lang.String |
getRemote()
Returns the
remote element |
EjbRefType<T> |
home(java.lang.String home)
Sets the
home element |
EjbRefType<T> |
id(java.lang.String id)
Sets the
id attribute |
EjbRefType<T> |
lookupName(java.lang.String lookupName)
Sets the
lookup-name element |
EjbRefType<T> |
mappedName(java.lang.String mappedName)
Sets the
mapped-name element |
EjbRefType<T> |
remote(java.lang.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> |
removeId()
Removes the
id attribute |
EjbRefType<T> |
removeLookupName()
Removes the
lookup-name element |
EjbRefType<T> |
removeMappedName()
Removes the
mapped-name element |
EjbRefType<T> |
removeRemote()
Removes the
remote element |
EjbRefType<T> lookupName(java.lang.String lookupName)
lookup-name elementlookupName - the value for the element lookup-nameEjbRefTypejava.lang.String getLookupName()
lookup-name elementlookup-nameEjbRefType<T> removeLookupName()
lookup-name elementEjbRefTypeEjbRefType<T> mappedName(java.lang.String mappedName)
mapped-name elementmappedName - the value for the element mapped-nameEjbRefTypejava.lang.String getMappedName()
mapped-name elementmapped-nameEjbRefType<T> removeMappedName()
mapped-name elementEjbRefTypeInjectionTargetType<EjbRefType<T>> getOrCreateInjectionTarget()
injection-target element will be created and returned.
Otherwise, the first existing injection-target element will be returned.injection-targetInjectionTargetType<EjbRefType<T>> createInjectionTarget()
injection-target elementInjectionTargetType> java.util.List<InjectionTargetType<EjbRefType<T>>> getAllInjectionTarget()
injection-target elementsinjection-targetEjbRefType<T> removeAllInjectionTarget()
injection-target elementsInjectionTargetType> EjbRefType<T> description(java.lang.String... values)
description elements,
a new description elementvalues - list of description objectsEjbRefTypejava.util.List<java.lang.String> getAllDescription()
description elementsdescriptionEjbRefType<T> removeAllDescription()
description elementEjbRefTypeEjbRefType<T> ejbRefName(java.lang.String ejbRefName)
ejb-ref-name elementejbRefName - the value for the element ejb-ref-nameEjbRefTypejava.lang.String getEjbRefName()
ejb-ref-name elementejb-ref-nameEjbRefType<T> removeEjbRefName()
ejb-ref-name elementEjbRefTypeEjbRefType<T> ejbRefType(EjbRefTypeType ejbRefType)
ejb-ref-type elementejbRefType - the value for the element ejb-ref-typeEjbRefTypeEjbRefType<T> ejbRefType(java.lang.String ejbRefType)
ejb-ref-type elementejbRefType - the value for the element ejb-ref-typeEjbRefTypeEjbRefTypeType getEjbRefType()
ejb-ref-type elementejb-ref-typejava.lang.String getEjbRefTypeAsString()
ejb-ref-type elementejb-ref-typeEjbRefType<T> removeEjbRefType()
ejb-ref-type attributeEjbRefTypeEjbRefType<T> home(java.lang.String home)
home elementhome - the value for the element homeEjbRefTypejava.lang.String getHome()
home elementhomeEjbRefType<T> removeHome()
home elementEjbRefTypeEjbRefType<T> remote(java.lang.String remote)
remote elementremote - the value for the element remoteEjbRefTypejava.lang.String getRemote()
remote elementremoteEjbRefType<T> removeRemote()
remote elementEjbRefTypeEjbRefType<T> ejbLink(java.lang.String ejbLink)
ejb-link elementejbLink - the value for the element ejb-linkEjbRefTypejava.lang.String getEjbLink()
ejb-link elementejb-linkEjbRefType<T> removeEjbLink()
ejb-link elementEjbRefTypeEjbRefType<T> id(java.lang.String id)
id attributeid - the value for the attribute idEjbRefTypejava.lang.String getId()
id attributeidEjbRefType<T> removeId()
id attributeEjbRefTypeCopyright © 2014 IronJacamar (http://www.ironjacamar.org)