Class EjbLocalRefTypeImpl<T>
java.lang.Object
org.jboss.shrinkwrap.descriptor.impl.j2ee14.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 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-homeelementup()
-
Constructor Details
-
EjbLocalRefTypeImpl
-
EjbLocalRefTypeImpl
-
-
Method Details
-
up
- Specified by:
upin interfaceorg.jboss.shrinkwrap.descriptor.api.Child<T>
-
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
-