public class EjbRefTypeImpl<T> extends Object implements org.jboss.shrinkwrap.descriptor.api.Child<T>, EjbRefType<T>
ejb-refType xsd type| Constructor and Description |
|---|
EjbRefTypeImpl(T t,
String nodeName,
org.jboss.shrinkwrap.descriptor.spi.node.Node node) |
EjbRefTypeImpl(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<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 |
T |
up() |
public EjbRefTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node)
public EjbRefType<T> lookupName(String lookupName)
lookup-name elementlookupName in interface EjbRefType<T>lookupName - the value for the element lookup-nameEjbRefTypepublic String getLookupName()
lookup-name elementgetLookupName in interface EjbRefType<T>lookup-namepublic EjbRefType<T> removeLookupName()
lookup-name elementremoveLookupName in interface EjbRefType<T>EjbRefTypepublic EjbRefType<T> mappedName(String mappedName)
mapped-name elementmappedName in interface EjbRefType<T>mappedName - the value for the element mapped-nameEjbRefTypepublic String getMappedName()
mapped-name elementgetMappedName in interface EjbRefType<T>mapped-namepublic EjbRefType<T> removeMappedName()
mapped-name elementremoveMappedName in interface EjbRefType<T>EjbRefTypepublic InjectionTargetType<EjbRefType<T>> getOrCreateInjectionTarget()
injection-target element will be created and returned.
Otherwise, the first existing injection-target element will be returned.getOrCreateInjectionTarget in interface EjbRefType<T>injection-targetpublic InjectionTargetType<EjbRefType<T>> createInjectionTarget()
injection-target elementcreateInjectionTarget in interface EjbRefType<T>InjectionTargetType> public List<InjectionTargetType<EjbRefType<T>>> getAllInjectionTarget()
injection-target elementsgetAllInjectionTarget in interface EjbRefType<T>injection-targetpublic EjbRefType<T> removeAllInjectionTarget()
injection-target elementsremoveAllInjectionTarget in interface EjbRefType<T>InjectionTargetType> public EjbRefType<T> description(String... values)
description elements,
a new description elementdescription in interface EjbRefType<T>values - list of description objectsEjbRefTypepublic List<String> getAllDescription()
description elementsgetAllDescription in interface EjbRefType<T>descriptionpublic EjbRefType<T> removeAllDescription()
description elementremoveAllDescription in interface EjbRefType<T>EjbRefTypepublic EjbRefType<T> ejbRefName(String ejbRefName)
ejb-ref-name elementejbRefName in interface EjbRefType<T>ejbRefName - the value for the element ejb-ref-nameEjbRefTypepublic String getEjbRefName()
ejb-ref-name elementgetEjbRefName in interface EjbRefType<T>ejb-ref-namepublic EjbRefType<T> removeEjbRefName()
ejb-ref-name elementremoveEjbRefName in interface EjbRefType<T>EjbRefTypepublic EjbRefType<T> ejbRefType(EjbRefTypeType ejbRefType)
ejb-ref-type elementejbRefType in interface EjbRefType<T>ejbRefType - the value for the element ejb-ref-typeEjbRefTypepublic EjbRefType<T> ejbRefType(String ejbRefType)
ejb-ref-type elementejbRefType in interface EjbRefType<T>ejbRefType - the value for the element ejb-ref-typeEjbRefTypepublic EjbRefTypeType getEjbRefType()
ejb-ref-type elementgetEjbRefType in interface EjbRefType<T>ejb-ref-typepublic String getEjbRefTypeAsString()
ejb-ref-type elementgetEjbRefTypeAsString in interface EjbRefType<T>ejb-ref-typepublic EjbRefType<T> removeEjbRefType()
ejb-ref-type attributeremoveEjbRefType in interface EjbRefType<T>EjbRefTypepublic EjbRefType<T> home(String home)
home elementhome in interface EjbRefType<T>home - the value for the element homeEjbRefTypepublic String getHome()
home elementgetHome in interface EjbRefType<T>homepublic EjbRefType<T> removeHome()
home elementremoveHome in interface EjbRefType<T>EjbRefTypepublic EjbRefType<T> remote(String remote)
remote elementremote in interface EjbRefType<T>remote - the value for the element remoteEjbRefTypepublic String getRemote()
remote elementgetRemote in interface EjbRefType<T>remotepublic EjbRefType<T> removeRemote()
remote elementremoveRemote in interface EjbRefType<T>EjbRefTypepublic EjbRefType<T> ejbLink(String ejbLink)
ejb-link elementejbLink in interface EjbRefType<T>ejbLink - the value for the element ejb-linkEjbRefTypepublic String getEjbLink()
ejb-link elementgetEjbLink in interface EjbRefType<T>ejb-linkpublic EjbRefType<T> removeEjbLink()
ejb-link elementremoveEjbLink in interface EjbRefType<T>EjbRefTypepublic EjbRefType<T> id(String id)
id attributeid in interface EjbRefType<T>id - the value for the attribute idEjbRefTypepublic String getId()
id attributegetId in interface EjbRefType<T>idpublic EjbRefType<T> removeId()
id attributeremoveId in interface EjbRefType<T>EjbRefTypeCopyright © 2021 JBoss by Red Hat. All rights reserved.