Interface EjbLocalRefType<T>
-
- All Superinterfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>
- All Known Implementing Classes:
EjbLocalRefTypeImpl
public interface EjbLocalRefType<T> extends org.jboss.shrinkwrap.descriptor.api.Child<T>This interface defines the contract for theejb-local-refTypexsd type
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InjectionTargetType<EjbLocalRefType<T>>createInjectionTarget()Creates a newinjection-targetelementEjbLocalRefType<T>description(String... values)Creates for all String objects representingdescriptionelements, a newdescriptionelementEjbLocalRefType<T>ejbLink(String ejbLink)Sets theejb-linkelementEjbLocalRefType<T>ejbRefName(String ejbRefName)Sets theejb-ref-nameelementEjbLocalRefType<T>ejbRefType(String ejbRefType)Sets theejb-ref-typeelementEjbLocalRefType<T>ejbRefType(EjbRefTypeType ejbRefType)Sets theejb-ref-typeelementList<String>getAllDescription()Returns alldescriptionelementsList<InjectionTargetType<EjbLocalRefType<T>>>getAllInjectionTarget()Returns allinjection-targetelementsStringgetEjbLink()Returns theejb-linkelementStringgetEjbRefName()Returns theejb-ref-nameelementEjbRefTypeTypegetEjbRefType()Returns theejb-ref-typeelementStringgetEjbRefTypeAsString()Returns theejb-ref-typeelementStringgetId()Returns theidattributeStringgetLocal()Returns thelocalelementStringgetLocalHome()Returns thelocal-homeelementStringgetLookupName()Returns thelookup-nameelementStringgetMappedName()Returns themapped-nameelementInjectionTargetType<EjbLocalRefType<T>>getOrCreateInjectionTarget()If not already created, a newinjection-targetelement will be created and returned.EjbLocalRefType<T>id(String id)Sets theidattributeEjbLocalRefType<T>local(String local)Sets thelocalelementEjbLocalRefType<T>localHome(String localHome)Sets thelocal-homeelementEjbLocalRefType<T>lookupName(String lookupName)Sets thelookup-nameelementEjbLocalRefType<T>mappedName(String mappedName)Sets themapped-nameelementEjbLocalRefType<T>removeAllDescription()Removes thedescriptionelementEjbLocalRefType<T>removeAllInjectionTarget()Removes allinjection-targetelementsEjbLocalRefType<T>removeEjbLink()Removes theejb-linkelementEjbLocalRefType<T>removeEjbRefName()Removes theejb-ref-nameelementEjbLocalRefType<T>removeEjbRefType()Removes theejb-ref-typeattributeEjbLocalRefType<T>removeId()Removes theidattributeEjbLocalRefType<T>removeLocal()Removes thelocalelementEjbLocalRefType<T>removeLocalHome()Removes thelocal-homeelementEjbLocalRefType<T>removeLookupName()Removes thelookup-nameelementEjbLocalRefType<T>removeMappedName()Removes themapped-nameelement
-
-
-
Method Detail
-
lookupName
EjbLocalRefType<T> lookupName(String lookupName)
Sets thelookup-nameelement- Parameters:
lookupName- the value for the elementlookup-name- Returns:
- the current instance of
EjbLocalRefType
-
getLookupName
String getLookupName()
Returns thelookup-nameelement- Returns:
- the node defined for the element
lookup-name
-
removeLookupName
EjbLocalRefType<T> removeLookupName()
Removes thelookup-nameelement- Returns:
- the current instance of
EjbLocalRefType
-
mappedName
EjbLocalRefType<T> mappedName(String mappedName)
Sets themapped-nameelement- Parameters:
mappedName- the value for the elementmapped-name- Returns:
- the current instance of
EjbLocalRefType
-
getMappedName
String getMappedName()
Returns themapped-nameelement- Returns:
- the node defined for the element
mapped-name
-
removeMappedName
EjbLocalRefType<T> removeMappedName()
Removes themapped-nameelement- Returns:
- the current instance of
EjbLocalRefType
-
getOrCreateInjectionTarget
InjectionTargetType<EjbLocalRefType<T>> getOrCreateInjectionTarget()
If not already created, a newinjection-targetelement will be created and returned. Otherwise, the first existinginjection-targetelement will be returned.- Returns:
- the instance defined for the element
injection-target
-
createInjectionTarget
InjectionTargetType<EjbLocalRefType<T>> createInjectionTarget()
Creates a newinjection-targetelement- Returns:
- the new created instance of
InjectionTargetType>
-
getAllInjectionTarget
List<InjectionTargetType<EjbLocalRefType<T>>> getAllInjectionTarget()
Returns allinjection-targetelements- Returns:
- list of
injection-target
-
removeAllInjectionTarget
EjbLocalRefType<T> removeAllInjectionTarget()
Removes allinjection-targetelements- Returns:
- the current instance of
InjectionTargetType>
-
description
EjbLocalRefType<T> description(String... values)
Creates for all String objects representingdescriptionelements, a newdescriptionelement- Parameters:
values- list ofdescriptionobjects- Returns:
- the current instance of
EjbLocalRefType
-
getAllDescription
List<String> getAllDescription()
Returns alldescriptionelements- Returns:
- list of
description
-
removeAllDescription
EjbLocalRefType<T> removeAllDescription()
Removes thedescriptionelement- Returns:
- the current instance of
EjbLocalRefType
-
ejbRefName
EjbLocalRefType<T> ejbRefName(String ejbRefName)
Sets theejb-ref-nameelement- Parameters:
ejbRefName- the value for the elementejb-ref-name- Returns:
- the current instance of
EjbLocalRefType
-
getEjbRefName
String getEjbRefName()
Returns theejb-ref-nameelement- Returns:
- the node defined for the element
ejb-ref-name
-
removeEjbRefName
EjbLocalRefType<T> removeEjbRefName()
Removes theejb-ref-nameelement- Returns:
- the current instance of
EjbLocalRefType
-
ejbRefType
EjbLocalRefType<T> ejbRefType(EjbRefTypeType ejbRefType)
Sets theejb-ref-typeelement- Parameters:
ejbRefType- the value for the elementejb-ref-type- Returns:
- the current instance of
EjbLocalRefType
-
ejbRefType
EjbLocalRefType<T> ejbRefType(String ejbRefType)
Sets theejb-ref-typeelement- Parameters:
ejbRefType- the value for the elementejb-ref-type- Returns:
- the current instance of
EjbLocalRefType
-
getEjbRefType
EjbRefTypeType getEjbRefType()
Returns theejb-ref-typeelement- Returns:
- the value found for the element
ejb-ref-type
-
getEjbRefTypeAsString
String getEjbRefTypeAsString()
Returns theejb-ref-typeelement- Returns:
- the value found for the element
ejb-ref-type
-
removeEjbRefType
EjbLocalRefType<T> removeEjbRefType()
Removes theejb-ref-typeattribute- Returns:
- the current instance of
EjbLocalRefType
-
localHome
EjbLocalRefType<T> localHome(String localHome)
Sets thelocal-homeelement- Parameters:
localHome- the value for the elementlocal-home- Returns:
- the current instance of
EjbLocalRefType
-
getLocalHome
String getLocalHome()
Returns thelocal-homeelement- Returns:
- the node defined for the element
local-home
-
removeLocalHome
EjbLocalRefType<T> removeLocalHome()
Removes thelocal-homeelement- Returns:
- the current instance of
EjbLocalRefType
-
local
EjbLocalRefType<T> local(String local)
Sets thelocalelement- Parameters:
local- the value for the elementlocal- Returns:
- the current instance of
EjbLocalRefType
-
getLocal
String getLocal()
Returns thelocalelement- Returns:
- the node defined for the element
local
-
removeLocal
EjbLocalRefType<T> removeLocal()
Removes thelocalelement- Returns:
- the current instance of
EjbLocalRefType
-
ejbLink
EjbLocalRefType<T> ejbLink(String ejbLink)
Sets theejb-linkelement- Parameters:
ejbLink- the value for the elementejb-link- Returns:
- the current instance of
EjbLocalRefType
-
getEjbLink
String getEjbLink()
Returns theejb-linkelement- Returns:
- the node defined for the element
ejb-link
-
removeEjbLink
EjbLocalRefType<T> removeEjbLink()
Removes theejb-linkelement- Returns:
- the current instance of
EjbLocalRefType
-
id
EjbLocalRefType<T> id(String id)
Sets theidattribute- Parameters:
id- the value for the attributeid- Returns:
- the current instance of
EjbLocalRefType
-
getId
String getId()
Returns theidattribute- Returns:
- the value defined for the attribute
id
-
removeId
EjbLocalRefType<T> removeId()
Removes theidattribute- Returns:
- the current instance of
EjbLocalRefType
-
-