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 the
ejb-local-refType xsd type-
Method Summary
Modifier and TypeMethodDescriptiondescription(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 theejb-linkelementReturns theejb-ref-nameelementReturns theejb-ref-typeelementReturns theejb-ref-typeelementgetId()Returns theidattributegetLocal()Returns thelocalelementReturns thelocal-homeelementSets theidattributeSets thelocalelementSets thelocal-homeelementRemoves thedescriptionelementRemoves theejb-linkelementRemoves theejb-ref-nameelementRemoves theejb-ref-typeattributeremoveId()Removes theidattributeRemoves thelocalelementRemoves thelocal-homeelementMethods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
-
Method Details
-
description
Creates for all String objects representingdescriptionelements, a newdescriptionelement- Parameters:
values- list ofdescriptionobjects- Returns:
- the current instance of
EjbLocalRefType
-
getAllDescription
Returns alldescriptionelements- Returns:
- list of
description
-
removeAllDescription
EjbLocalRefType<T> removeAllDescription()Removes thedescriptionelement- Returns:
- the current instance of
EjbLocalRefType
-
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
Sets theejb-ref-typeelement- Parameters:
ejbRefType- the value for the elementejb-ref-type- Returns:
- the current instance of
EjbLocalRefType
-
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
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
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
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
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
-