Class EjbRefTypeImpl<T>
java.lang.Object
org.jboss.shrinkwrap.descriptor.impl.j2ee14.EjbRefTypeImpl<T>
- All Implemented Interfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>,EjbRefType<T>
public class EjbRefTypeImpl<T>
extends Object
implements org.jboss.shrinkwrap.descriptor.api.Child<T>, EjbRefType<T>
This class implements the
ejb-refType xsd type-
Constructor Summary
ConstructorsConstructorDescriptionEjbRefTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node) EjbRefTypeImpl(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-typeelementgetHome()Returns thehomeelementgetId()Returns theidattributeReturns theremoteelementSets thehomeelementSets theidattributeSets theremoteelementRemoves thedescriptionelementRemoves theejb-linkelementRemoves theejb-ref-nameelementRemoves theejb-ref-typeattributeRemoves thehomeelementremoveId()Removes theidattributeRemoves theremoteelementup()
-
Constructor Details
-
EjbRefTypeImpl
-
EjbRefTypeImpl
-
-
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 interfaceEjbRefType<T>- Parameters:
values- list ofdescriptionobjects- Returns:
- the current instance of
EjbRefType
-
getAllDescription
Returns alldescriptionelements- Specified by:
getAllDescriptionin interfaceEjbRefType<T>- Returns:
- list of
description
-
removeAllDescription
Removes thedescriptionelement- Specified by:
removeAllDescriptionin interfaceEjbRefType<T>- Returns:
- the current instance of
EjbRefType
-
ejbRefName
Sets theejb-ref-nameelement- Specified by:
ejbRefNamein interfaceEjbRefType<T>- Parameters:
ejbRefName- the value for the elementejb-ref-name- Returns:
- the current instance of
EjbRefType
-
getEjbRefName
Returns theejb-ref-nameelement- Specified by:
getEjbRefNamein interfaceEjbRefType<T>- Returns:
- the node defined for the element
ejb-ref-name
-
removeEjbRefName
Removes theejb-ref-nameelement- Specified by:
removeEjbRefNamein interfaceEjbRefType<T>- Returns:
- the current instance of
EjbRefType
-
ejbRefType
Sets theejb-ref-typeelement- Specified by:
ejbRefTypein interfaceEjbRefType<T>- Parameters:
ejbRefType- the value for the elementejb-ref-type- Returns:
- the current instance of
EjbRefType
-
ejbRefType
Sets theejb-ref-typeelement- Specified by:
ejbRefTypein interfaceEjbRefType<T>- Parameters:
ejbRefType- the value for the elementejb-ref-type- Returns:
- the current instance of
EjbRefType
-
getEjbRefType
Returns theejb-ref-typeelement- Specified by:
getEjbRefTypein interfaceEjbRefType<T>- Returns:
- the value found for the element
ejb-ref-type
-
getEjbRefTypeAsString
Returns theejb-ref-typeelement- Specified by:
getEjbRefTypeAsStringin interfaceEjbRefType<T>- Returns:
- the value found for the element
ejb-ref-type
-
removeEjbRefType
Removes theejb-ref-typeattribute- Specified by:
removeEjbRefTypein interfaceEjbRefType<T>- Returns:
- the current instance of
EjbRefType
-
home
Sets thehomeelement- Specified by:
homein interfaceEjbRefType<T>- Parameters:
home- the value for the elementhome- Returns:
- the current instance of
EjbRefType
-
getHome
Returns thehomeelement- Specified by:
getHomein interfaceEjbRefType<T>- Returns:
- the node defined for the element
home
-
removeHome
Removes thehomeelement- Specified by:
removeHomein interfaceEjbRefType<T>- Returns:
- the current instance of
EjbRefType
-
remote
Sets theremoteelement- Specified by:
remotein interfaceEjbRefType<T>- Parameters:
remote- the value for the elementremote- Returns:
- the current instance of
EjbRefType
-
getRemote
Returns theremoteelement- Specified by:
getRemotein interfaceEjbRefType<T>- Returns:
- the node defined for the element
remote
-
removeRemote
Removes theremoteelement- Specified by:
removeRemotein interfaceEjbRefType<T>- Returns:
- the current instance of
EjbRefType
-
ejbLink
Sets theejb-linkelement- Specified by:
ejbLinkin interfaceEjbRefType<T>- Parameters:
ejbLink- the value for the elementejb-link- Returns:
- the current instance of
EjbRefType
-
getEjbLink
Returns theejb-linkelement- Specified by:
getEjbLinkin interfaceEjbRefType<T>- Returns:
- the node defined for the element
ejb-link
-
removeEjbLink
Removes theejb-linkelement- Specified by:
removeEjbLinkin interfaceEjbRefType<T>- Returns:
- the current instance of
EjbRefType
-
id
Sets theidattribute- Specified by:
idin interfaceEjbRefType<T>- Parameters:
id- the value for the attributeid- Returns:
- the current instance of
EjbRefType
-
getId
Returns theidattribute- Specified by:
getIdin interfaceEjbRefType<T>- Returns:
- the value defined for the attribute
id
-
removeId
Removes theidattribute- Specified by:
removeIdin interfaceEjbRefType<T>- Returns:
- the current instance of
EjbRefType
-