public interface EjbRefType<T>
extends org.jboss.shrinkwrap.descriptor.api.Child<T>
ejb-refType
xsd typeModifier and Type | Method and Description |
---|---|
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 |
getId()
Returns the
id attribute |
String |
getLookupName()
Returns the
lookup-name 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> |
id(String id)
Sets the
id attribute |
EjbRefType<T> |
lookupName(String lookupName)
Sets the
lookup-name 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> |
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(String lookupName)
lookup-name
elementlookupName
- the value for the element lookup-name
EjbRefType
String getLookupName()
lookup-name
elementlookup-name
EjbRefType<T> removeLookupName()
lookup-name
elementEjbRefType
EjbRefType<T> mappedName(String mappedName)
mapped-name
elementmappedName
- the value for the element mapped-name
EjbRefType
String getMappedName()
mapped-name
elementmapped-name
EjbRefType<T> removeMappedName()
mapped-name
elementEjbRefType
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
elementInjectionTargetType>
List<InjectionTargetType<EjbRefType<T>>> getAllInjectionTarget()
injection-target
elementsinjection-target
EjbRefType<T> removeAllInjectionTarget()
injection-target
elementsInjectionTargetType>
EjbRefType<T> description(String... values)
description
elements,
a new description
elementvalues
- list of description
objectsEjbRefType
List<String> getAllDescription()
description
elementsdescription
EjbRefType<T> removeAllDescription()
description
elementEjbRefType
EjbRefType<T> ejbRefName(String ejbRefName)
ejb-ref-name
elementejbRefName
- the value for the element ejb-ref-name
EjbRefType
String getEjbRefName()
ejb-ref-name
elementejb-ref-name
EjbRefType<T> removeEjbRefName()
ejb-ref-name
elementEjbRefType
EjbRefType<T> ejbRefType(EjbRefTypeType ejbRefType)
ejb-ref-type
elementejbRefType
- the value for the element ejb-ref-type
EjbRefType
EjbRefType<T> ejbRefType(String ejbRefType)
ejb-ref-type
elementejbRefType
- the value for the element ejb-ref-type
EjbRefType
EjbRefTypeType getEjbRefType()
ejb-ref-type
elementejb-ref-type
String getEjbRefTypeAsString()
ejb-ref-type
elementejb-ref-type
EjbRefType<T> removeEjbRefType()
ejb-ref-type
attributeEjbRefType
EjbRefType<T> home(String home)
home
elementhome
- the value for the element home
EjbRefType
String getHome()
home
elementhome
EjbRefType<T> removeHome()
home
elementEjbRefType
EjbRefType<T> remote(String remote)
remote
elementremote
- the value for the element remote
EjbRefType
String getRemote()
remote
elementremote
EjbRefType<T> removeRemote()
remote
elementEjbRefType
EjbRefType<T> ejbLink(String ejbLink)
ejb-link
elementejbLink
- the value for the element ejb-link
EjbRefType
String getEjbLink()
ejb-link
elementejb-link
EjbRefType<T> removeEjbLink()
ejb-link
elementEjbRefType
EjbRefType<T> id(String id)
id
attributeid
- the value for the attribute id
EjbRefType
String getId()
id
attributeid
EjbRefType<T> removeId()
id
attributeEjbRefType
Copyright © 2014 IronJacamar (http://www.ironjacamar.org)