Class EjbLocalRefTypeImpl<T>
java.lang.Object
org.jboss.shrinkwrap.descriptor.impl.javaee7.EjbLocalRefTypeImpl<T>
- All Implemented Interfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>,EjbLocalRefType<T>
public class EjbLocalRefTypeImpl<T>
extends Object
implements org.jboss.shrinkwrap.descriptor.api.Child<T>, EjbLocalRefType<T>
This class implements the
ejb-local-refType xsd type-
Constructor Summary
ConstructorsConstructorDescriptionEjbLocalRefTypeImpl(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) -
Method Summary
Modifier and TypeMethodDescriptionCreates a newinjection-targetelementdescription(String... values) Creates for all String objects representingdescriptionelements, a newdescriptionelementSets theejb-linkelementejbRefName(String ejbRefName) Sets theejb-ref-nameelementejbRefType(String ejbRefType) Sets theejb-ref-typeelementejbRefType(EjbRefTypeType ejbRefType) Sets theejb-ref-typeelementReturns alldescriptionelementsReturns allinjection-targetelementsReturns theejb-linkelementReturns theejb-ref-nameelementReturns theejb-ref-typeelementReturns theejb-ref-typeelementgetId()Returns theidattributegetLocal()Returns thelocalelementReturns thelocal-homeelementReturns thelookup-nameelementReturns themapped-nameelementIf not already created, a newinjection-targetelement will be created and returned.Sets theidattributeSets thelocalelementSets thelocal-homeelementlookupName(String lookupName) Sets thelookup-nameelementmappedName(String mappedName) Sets themapped-nameelementRemoves thedescriptionelementRemoves allinjection-targetelementsRemoves theejb-linkelementRemoves theejb-ref-nameelementRemoves theejb-ref-typeattributeremoveId()Removes theidattributeRemoves thelocalelementRemoves thelocal-homeelementRemoves thelookup-nameelementRemoves themapped-nameelementup()
-
Constructor Details
-
EjbLocalRefTypeImpl
-
EjbLocalRefTypeImpl
-
-
Method Details
-
up
- Specified by:
upin interfaceorg.jboss.shrinkwrap.descriptor.api.Child<T>
-
lookupName
Sets thelookup-nameelement- Specified by:
lookupNamein interfaceEjbLocalRefType<T>- Parameters:
lookupName- the value for the elementlookup-name- Returns:
- the current instance of
EjbLocalRefType
-
getLookupName
Returns thelookup-nameelement- Specified by:
getLookupNamein interfaceEjbLocalRefType<T>- Returns:
- the node defined for the element
lookup-name
-
removeLookupName
Removes thelookup-nameelement- Specified by:
removeLookupNamein interfaceEjbLocalRefType<T>- Returns:
- the current instance of
EjbLocalRefType
-
mappedName
Sets themapped-nameelement- Specified by:
mappedNamein interfaceEjbLocalRefType<T>- Parameters:
mappedName- the value for the elementmapped-name- Returns:
- the current instance of
EjbLocalRefType
-
getMappedName
Returns themapped-nameelement- Specified by:
getMappedNamein interfaceEjbLocalRefType<T>- Returns:
- the node defined for the element
mapped-name
-
removeMappedName
Removes themapped-nameelement- Specified by:
removeMappedNamein interfaceEjbLocalRefType<T>- Returns:
- the current instance of
EjbLocalRefType
-
getOrCreateInjectionTarget
If not already created, a newinjection-targetelement will be created and returned. Otherwise, the first existinginjection-targetelement will be returned.- Specified by:
getOrCreateInjectionTargetin interfaceEjbLocalRefType<T>- Returns:
- the instance defined for the element
injection-target
-
createInjectionTarget
Creates a newinjection-targetelement- Specified by:
createInjectionTargetin interfaceEjbLocalRefType<T>- Returns:
- the new created instance of
InjectionTargetTypeinvalid input: '<'EjbLocalRefType>
-
getAllInjectionTarget
Returns allinjection-targetelements- Specified by:
getAllInjectionTargetin interfaceEjbLocalRefType<T>- Returns:
- list of
injection-target
-
removeAllInjectionTarget
Removes allinjection-targetelements- Specified by:
removeAllInjectionTargetin interfaceEjbLocalRefType<T>- Returns:
- the current instance of
InjectionTargetTypeinvalid input: '<'EjbLocalRefType>
-
description
Creates for all String objects representingdescriptionelements, a newdescriptionelement- Specified by:
descriptionin interfaceEjbLocalRefType<T>- Parameters:
values- list ofdescriptionobjects- Returns:
- the current instance of
EjbLocalRefType
-
getAllDescription
Returns alldescriptionelements- Specified by:
getAllDescriptionin interfaceEjbLocalRefType<T>- Returns:
- list of
description
-
removeAllDescription
Removes thedescriptionelement- Specified by:
removeAllDescriptionin interfaceEjbLocalRefType<T>- Returns:
- the current instance of
EjbLocalRefType
-
ejbRefName
Sets theejb-ref-nameelement- Specified by:
ejbRefNamein interfaceEjbLocalRefType<T>- Parameters:
ejbRefName- the value for the elementejb-ref-name- Returns:
- the current instance of
EjbLocalRefType
-
getEjbRefName
Returns theejb-ref-nameelement- Specified by:
getEjbRefNamein interfaceEjbLocalRefType<T>- Returns:
- the node defined for the element
ejb-ref-name
-
removeEjbRefName
Removes theejb-ref-nameelement- Specified by:
removeEjbRefNamein interfaceEjbLocalRefType<T>- Returns:
- the current instance of
EjbLocalRefType
-
ejbRefType
Sets theejb-ref-typeelement- Specified by:
ejbRefTypein interfaceEjbLocalRefType<T>- Parameters:
ejbRefType- the value for the elementejb-ref-type- Returns:
- the current instance of
EjbLocalRefType
-
ejbRefType
Sets theejb-ref-typeelement- Specified by:
ejbRefTypein interfaceEjbLocalRefType<T>- Parameters:
ejbRefType- the value for the elementejb-ref-type- Returns:
- the current instance of
EjbLocalRefType
-
getEjbRefType
Returns theejb-ref-typeelement- Specified by:
getEjbRefTypein interfaceEjbLocalRefType<T>- Returns:
- the value found for the element
ejb-ref-type
-
getEjbRefTypeAsString
Returns theejb-ref-typeelement- Specified by:
getEjbRefTypeAsStringin interfaceEjbLocalRefType<T>- Returns:
- the value found for the element
ejb-ref-type
-
removeEjbRefType
Removes theejb-ref-typeattribute- Specified by:
removeEjbRefTypein interfaceEjbLocalRefType<T>- Returns:
- the current instance of
EjbLocalRefType
-
localHome
Sets thelocal-homeelement- Specified by:
localHomein interfaceEjbLocalRefType<T>- Parameters:
localHome- the value for the elementlocal-home- Returns:
- the current instance of
EjbLocalRefType
-
getLocalHome
Returns thelocal-homeelement- Specified by:
getLocalHomein interfaceEjbLocalRefType<T>- Returns:
- the node defined for the element
local-home
-
removeLocalHome
Removes thelocal-homeelement- Specified by:
removeLocalHomein interfaceEjbLocalRefType<T>- Returns:
- the current instance of
EjbLocalRefType
-
local
Sets thelocalelement- Specified by:
localin interfaceEjbLocalRefType<T>- Parameters:
local- the value for the elementlocal- Returns:
- the current instance of
EjbLocalRefType
-
getLocal
Returns thelocalelement- Specified by:
getLocalin interfaceEjbLocalRefType<T>- Returns:
- the node defined for the element
local
-
removeLocal
Removes thelocalelement- Specified by:
removeLocalin interfaceEjbLocalRefType<T>- Returns:
- the current instance of
EjbLocalRefType
-
ejbLink
Sets theejb-linkelement- Specified by:
ejbLinkin interfaceEjbLocalRefType<T>- Parameters:
ejbLink- the value for the elementejb-link- Returns:
- the current instance of
EjbLocalRefType
-
getEjbLink
Returns theejb-linkelement- Specified by:
getEjbLinkin interfaceEjbLocalRefType<T>- Returns:
- the node defined for the element
ejb-link
-
removeEjbLink
Removes theejb-linkelement- Specified by:
removeEjbLinkin interfaceEjbLocalRefType<T>- Returns:
- the current instance of
EjbLocalRefType
-
id
Sets theidattribute- Specified by:
idin interfaceEjbLocalRefType<T>- Parameters:
id- the value for the attributeid- Returns:
- the current instance of
EjbLocalRefType
-
getId
Returns theidattribute- Specified by:
getIdin interfaceEjbLocalRefType<T>- Returns:
- the value defined for the attribute
id
-
removeId
Removes theidattribute- Specified by:
removeIdin interfaceEjbLocalRefType<T>- Returns:
- the current instance of
EjbLocalRefType
-