public class EjbLocalRefTypeImpl<T> extends Object implements org.jboss.shrinkwrap.descriptor.api.Child<T>, EjbLocalRefType<T>
ejb-local-refType
xsd typeConstructor 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-name
EjbLocalRefType
public String getLookupName()
lookup-name
elementgetLookupName
in interface EjbLocalRefType<T>
lookup-name
public EjbLocalRefType<T> removeLookupName()
lookup-name
elementremoveLookupName
in interface EjbLocalRefType<T>
EjbLocalRefType
public EjbLocalRefType<T> mappedName(String mappedName)
mapped-name
elementmappedName
in interface EjbLocalRefType<T>
mappedName
- the value for the element mapped-name
EjbLocalRefType
public String getMappedName()
mapped-name
elementgetMappedName
in interface EjbLocalRefType<T>
mapped-name
public EjbLocalRefType<T> removeMappedName()
mapped-name
elementremoveMappedName
in interface EjbLocalRefType<T>
EjbLocalRefType
public 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-target
public 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-target
public 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
objectsEjbLocalRefType
public List<String> getAllDescription()
description
elementsgetAllDescription
in interface EjbLocalRefType<T>
description
public EjbLocalRefType<T> removeAllDescription()
description
elementremoveAllDescription
in interface EjbLocalRefType<T>
EjbLocalRefType
public EjbLocalRefType<T> ejbRefName(String ejbRefName)
ejb-ref-name
elementejbRefName
in interface EjbLocalRefType<T>
ejbRefName
- the value for the element ejb-ref-name
EjbLocalRefType
public String getEjbRefName()
ejb-ref-name
elementgetEjbRefName
in interface EjbLocalRefType<T>
ejb-ref-name
public EjbLocalRefType<T> removeEjbRefName()
ejb-ref-name
elementremoveEjbRefName
in interface EjbLocalRefType<T>
EjbLocalRefType
public EjbLocalRefType<T> ejbRefType(EjbRefTypeType ejbRefType)
ejb-ref-type
elementejbRefType
in interface EjbLocalRefType<T>
ejbRefType
- the value for the element ejb-ref-type
EjbLocalRefType
public EjbLocalRefType<T> ejbRefType(String ejbRefType)
ejb-ref-type
elementejbRefType
in interface EjbLocalRefType<T>
ejbRefType
- the value for the element ejb-ref-type
EjbLocalRefType
public EjbRefTypeType getEjbRefType()
ejb-ref-type
elementgetEjbRefType
in interface EjbLocalRefType<T>
ejb-ref-type
public String getEjbRefTypeAsString()
ejb-ref-type
elementgetEjbRefTypeAsString
in interface EjbLocalRefType<T>
ejb-ref-type
public EjbLocalRefType<T> removeEjbRefType()
ejb-ref-type
attributeremoveEjbRefType
in interface EjbLocalRefType<T>
EjbLocalRefType
public EjbLocalRefType<T> localHome(String localHome)
local-home
elementlocalHome
in interface EjbLocalRefType<T>
localHome
- the value for the element local-home
EjbLocalRefType
public String getLocalHome()
local-home
elementgetLocalHome
in interface EjbLocalRefType<T>
local-home
public EjbLocalRefType<T> removeLocalHome()
local-home
elementremoveLocalHome
in interface EjbLocalRefType<T>
EjbLocalRefType
public EjbLocalRefType<T> local(String local)
local
elementlocal
in interface EjbLocalRefType<T>
local
- the value for the element local
EjbLocalRefType
public String getLocal()
local
elementgetLocal
in interface EjbLocalRefType<T>
local
public EjbLocalRefType<T> removeLocal()
local
elementremoveLocal
in interface EjbLocalRefType<T>
EjbLocalRefType
public EjbLocalRefType<T> ejbLink(String ejbLink)
ejb-link
elementejbLink
in interface EjbLocalRefType<T>
ejbLink
- the value for the element ejb-link
EjbLocalRefType
public String getEjbLink()
ejb-link
elementgetEjbLink
in interface EjbLocalRefType<T>
ejb-link
public EjbLocalRefType<T> removeEjbLink()
ejb-link
elementremoveEjbLink
in interface EjbLocalRefType<T>
EjbLocalRefType
public EjbLocalRefType<T> id(String id)
id
attributeid
in interface EjbLocalRefType<T>
id
- the value for the attribute id
EjbLocalRefType
public String getId()
id
attributegetId
in interface EjbLocalRefType<T>
id
public EjbLocalRefType<T> removeId()
id
attributeremoveId
in interface EjbLocalRefType<T>
EjbLocalRefType
Copyright © 2021 JBoss by Red Hat. All rights reserved.