public class EjbLocalRefTypeImpl<T> extends Object implements org.jboss.shrinkwrap.descriptor.api.Child<T>, EjbLocalRefType<T>
ejb-local-refType xsd type| Constructor and Description |
|---|
EjbLocalRefTypeImpl(T t,
String nodeName,
org.jboss.shrinkwrap.descriptor.spi.node.Node node) |
EjbLocalRefTypeImpl(T t,
String nodeName,
org.jboss.shrinkwrap.descriptor.spi.node.Node node,
org.jboss.shrinkwrap.descriptor.spi.node.Node childNode) |
| Modifier and Type | Method and Description |
|---|---|
InjectionTargetType<EjbLocalRefType<T>> |
createInjectionTarget()
Creates a new
injection-target element |
EjbLocalRefType<T> |
description(String... values)
Creates for all String objects representing
description elements,
a new description element |
EjbLocalRefType<T> |
ejbLink(String ejbLink)
Sets the
ejb-link element |
EjbLocalRefType<T> |
ejbRefName(String ejbRefName)
Sets the
ejb-ref-name element |
EjbLocalRefType<T> |
ejbRefType(EjbRefTypeType ejbRefType)
Sets the
ejb-ref-type element |
EjbLocalRefType<T> |
ejbRefType(String ejbRefType)
Sets the
ejb-ref-type element |
List<String> |
getAllDescription()
Returns all
description elements |
List<InjectionTargetType<EjbLocalRefType<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 |
getId()
Returns the
id attribute |
String |
getLocal()
Returns the
local element |
String |
getLocalHome()
Returns the
local-home element |
String |
getLookupName()
Returns the
lookup-name element |
String |
getMappedName()
Returns the
mapped-name element |
InjectionTargetType<EjbLocalRefType<T>> |
getOrCreateInjectionTarget()
If not already created, a new
injection-target element will be created and returned. |
EjbLocalRefType<T> |
id(String id)
Sets the
id attribute |
EjbLocalRefType<T> |
local(String local)
Sets the
local element |
EjbLocalRefType<T> |
localHome(String localHome)
Sets the
local-home element |
EjbLocalRefType<T> |
lookupName(String lookupName)
Sets the
lookup-name element |
EjbLocalRefType<T> |
mappedName(String mappedName)
Sets the
mapped-name element |
EjbLocalRefType<T> |
removeAllDescription()
Removes the
description element |
EjbLocalRefType<T> |
removeAllInjectionTarget()
Removes all
injection-target elements |
EjbLocalRefType<T> |
removeEjbLink()
Removes the
ejb-link element |
EjbLocalRefType<T> |
removeEjbRefName()
Removes the
ejb-ref-name element |
EjbLocalRefType<T> |
removeEjbRefType()
Removes the
ejb-ref-type attribute |
EjbLocalRefType<T> |
removeId()
Removes the
id attribute |
EjbLocalRefType<T> |
removeLocal()
Removes the
local element |
EjbLocalRefType<T> |
removeLocalHome()
Removes the
local-home element |
EjbLocalRefType<T> |
removeLookupName()
Removes the
lookup-name element |
EjbLocalRefType<T> |
removeMappedName()
Removes the
mapped-name element |
T |
up() |
public EjbLocalRefTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node)
public EjbLocalRefType<T> lookupName(String lookupName)
lookup-name elementlookupName in interface EjbLocalRefType<T>lookupName - the value for the element lookup-nameEjbLocalRefTypepublic String getLookupName()
lookup-name elementgetLookupName in interface EjbLocalRefType<T>lookup-namepublic EjbLocalRefType<T> removeLookupName()
lookup-name elementremoveLookupName in interface EjbLocalRefType<T>EjbLocalRefTypepublic EjbLocalRefType<T> mappedName(String mappedName)
mapped-name elementmappedName in interface EjbLocalRefType<T>mappedName - the value for the element mapped-nameEjbLocalRefTypepublic String getMappedName()
mapped-name elementgetMappedName in interface EjbLocalRefType<T>mapped-namepublic EjbLocalRefType<T> removeMappedName()
mapped-name elementremoveMappedName in interface EjbLocalRefType<T>EjbLocalRefTypepublic InjectionTargetType<EjbLocalRefType<T>> getOrCreateInjectionTarget()
injection-target element will be created and returned.
Otherwise, the first existing injection-target element will be returned.getOrCreateInjectionTarget in interface EjbLocalRefType<T>injection-targetpublic InjectionTargetType<EjbLocalRefType<T>> createInjectionTarget()
injection-target elementcreateInjectionTarget in interface EjbLocalRefType<T>InjectionTargetType> public List<InjectionTargetType<EjbLocalRefType<T>>> getAllInjectionTarget()
injection-target elementsgetAllInjectionTarget in interface EjbLocalRefType<T>injection-targetpublic EjbLocalRefType<T> removeAllInjectionTarget()
injection-target elementsremoveAllInjectionTarget in interface EjbLocalRefType<T>InjectionTargetType> public EjbLocalRefType<T> description(String... values)
description elements,
a new description elementdescription in interface EjbLocalRefType<T>values - list of description objectsEjbLocalRefTypepublic List<String> getAllDescription()
description elementsgetAllDescription in interface EjbLocalRefType<T>descriptionpublic EjbLocalRefType<T> removeAllDescription()
description elementremoveAllDescription in interface EjbLocalRefType<T>EjbLocalRefTypepublic EjbLocalRefType<T> ejbRefName(String ejbRefName)
ejb-ref-name elementejbRefName in interface EjbLocalRefType<T>ejbRefName - the value for the element ejb-ref-nameEjbLocalRefTypepublic String getEjbRefName()
ejb-ref-name elementgetEjbRefName in interface EjbLocalRefType<T>ejb-ref-namepublic EjbLocalRefType<T> removeEjbRefName()
ejb-ref-name elementremoveEjbRefName in interface EjbLocalRefType<T>EjbLocalRefTypepublic EjbLocalRefType<T> ejbRefType(EjbRefTypeType ejbRefType)
ejb-ref-type elementejbRefType in interface EjbLocalRefType<T>ejbRefType - the value for the element ejb-ref-typeEjbLocalRefTypepublic EjbLocalRefType<T> ejbRefType(String ejbRefType)
ejb-ref-type elementejbRefType in interface EjbLocalRefType<T>ejbRefType - the value for the element ejb-ref-typeEjbLocalRefTypepublic EjbRefTypeType getEjbRefType()
ejb-ref-type elementgetEjbRefType in interface EjbLocalRefType<T>ejb-ref-typepublic String getEjbRefTypeAsString()
ejb-ref-type elementgetEjbRefTypeAsString in interface EjbLocalRefType<T>ejb-ref-typepublic EjbLocalRefType<T> removeEjbRefType()
ejb-ref-type attributeremoveEjbRefType in interface EjbLocalRefType<T>EjbLocalRefTypepublic EjbLocalRefType<T> localHome(String localHome)
local-home elementlocalHome in interface EjbLocalRefType<T>localHome - the value for the element local-homeEjbLocalRefTypepublic String getLocalHome()
local-home elementgetLocalHome in interface EjbLocalRefType<T>local-homepublic EjbLocalRefType<T> removeLocalHome()
local-home elementremoveLocalHome in interface EjbLocalRefType<T>EjbLocalRefTypepublic EjbLocalRefType<T> local(String local)
local elementlocal in interface EjbLocalRefType<T>local - the value for the element localEjbLocalRefTypepublic String getLocal()
local elementgetLocal in interface EjbLocalRefType<T>localpublic EjbLocalRefType<T> removeLocal()
local elementremoveLocal in interface EjbLocalRefType<T>EjbLocalRefTypepublic EjbLocalRefType<T> ejbLink(String ejbLink)
ejb-link elementejbLink in interface EjbLocalRefType<T>ejbLink - the value for the element ejb-linkEjbLocalRefTypepublic String getEjbLink()
ejb-link elementgetEjbLink in interface EjbLocalRefType<T>ejb-linkpublic EjbLocalRefType<T> removeEjbLink()
ejb-link elementremoveEjbLink in interface EjbLocalRefType<T>EjbLocalRefTypepublic EjbLocalRefType<T> id(String id)
id attributeid in interface EjbLocalRefType<T>id - the value for the attribute idEjbLocalRefTypepublic String getId()
id attributegetId in interface EjbLocalRefType<T>idpublic EjbLocalRefType<T> removeId()
id attributeremoveId in interface EjbLocalRefType<T>EjbLocalRefTypeCopyright © 2021 JBoss by Red Hat. All rights reserved.