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 theejb-local-refTypexsd type
-
-
Constructor Summary
Constructors Constructor Description EjbLocalRefTypeImpl(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EjbLocalRefType<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 alldescriptionelementsStringgetEjbLink()Returns theejb-linkelementStringgetEjbRefName()Returns theejb-ref-nameelementEjbRefTypeTypegetEjbRefType()Returns theejb-ref-typeelementStringgetEjbRefTypeAsString()Returns theejb-ref-typeelementStringgetId()Returns theidattributeStringgetLocal()Returns thelocalelementStringgetLocalHome()Returns thelocal-homeelementEjbLocalRefType<T>id(String id)Sets theidattributeEjbLocalRefType<T>local(String local)Sets thelocalelementEjbLocalRefType<T>localHome(String localHome)Sets thelocal-homeelementEjbLocalRefType<T>removeAllDescription()Removes thedescriptionelementEjbLocalRefType<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-homeelementTup()
-
-
-
Method Detail
-
description
public EjbLocalRefType<T> description(String... values)
Creates for all String objects representingdescriptionelements, a newdescriptionelement- Specified by:
descriptionin interfaceEjbLocalRefType<T>- Parameters:
values- list ofdescriptionobjects- Returns:
- the current instance of
EjbLocalRefType
-
getAllDescription
public List<String> getAllDescription()
Returns alldescriptionelements- Specified by:
getAllDescriptionin interfaceEjbLocalRefType<T>- Returns:
- list of
description
-
removeAllDescription
public EjbLocalRefType<T> removeAllDescription()
Removes thedescriptionelement- Specified by:
removeAllDescriptionin interfaceEjbLocalRefType<T>- Returns:
- the current instance of
EjbLocalRefType
-
ejbRefName
public EjbLocalRefType<T> ejbRefName(String 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
public String getEjbRefName()
Returns theejb-ref-nameelement- Specified by:
getEjbRefNamein interfaceEjbLocalRefType<T>- Returns:
- the node defined for the element
ejb-ref-name
-
removeEjbRefName
public EjbLocalRefType<T> removeEjbRefName()
Removes theejb-ref-nameelement- Specified by:
removeEjbRefNamein interfaceEjbLocalRefType<T>- Returns:
- the current instance of
EjbLocalRefType
-
ejbRefType
public EjbLocalRefType<T> ejbRefType(EjbRefTypeType 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
public EjbLocalRefType<T> ejbRefType(String 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
public EjbRefTypeType getEjbRefType()
Returns theejb-ref-typeelement- Specified by:
getEjbRefTypein interfaceEjbLocalRefType<T>- Returns:
- the value found for the element
ejb-ref-type
-
getEjbRefTypeAsString
public String getEjbRefTypeAsString()
Returns theejb-ref-typeelement- Specified by:
getEjbRefTypeAsStringin interfaceEjbLocalRefType<T>- Returns:
- the value found for the element
ejb-ref-type
-
removeEjbRefType
public EjbLocalRefType<T> removeEjbRefType()
Removes theejb-ref-typeattribute- Specified by:
removeEjbRefTypein interfaceEjbLocalRefType<T>- Returns:
- the current instance of
EjbLocalRefType
-
localHome
public EjbLocalRefType<T> localHome(String localHome)
Sets thelocal-homeelement- Specified by:
localHomein interfaceEjbLocalRefType<T>- Parameters:
localHome- the value for the elementlocal-home- Returns:
- the current instance of
EjbLocalRefType
-
getLocalHome
public String getLocalHome()
Returns thelocal-homeelement- Specified by:
getLocalHomein interfaceEjbLocalRefType<T>- Returns:
- the node defined for the element
local-home
-
removeLocalHome
public EjbLocalRefType<T> removeLocalHome()
Removes thelocal-homeelement- Specified by:
removeLocalHomein interfaceEjbLocalRefType<T>- Returns:
- the current instance of
EjbLocalRefType
-
local
public EjbLocalRefType<T> local(String local)
Sets thelocalelement- Specified by:
localin interfaceEjbLocalRefType<T>- Parameters:
local- the value for the elementlocal- Returns:
- the current instance of
EjbLocalRefType
-
getLocal
public String getLocal()
Returns thelocalelement- Specified by:
getLocalin interfaceEjbLocalRefType<T>- Returns:
- the node defined for the element
local
-
removeLocal
public EjbLocalRefType<T> removeLocal()
Removes thelocalelement- Specified by:
removeLocalin interfaceEjbLocalRefType<T>- Returns:
- the current instance of
EjbLocalRefType
-
ejbLink
public EjbLocalRefType<T> ejbLink(String ejbLink)
Sets theejb-linkelement- Specified by:
ejbLinkin interfaceEjbLocalRefType<T>- Parameters:
ejbLink- the value for the elementejb-link- Returns:
- the current instance of
EjbLocalRefType
-
getEjbLink
public String getEjbLink()
Returns theejb-linkelement- Specified by:
getEjbLinkin interfaceEjbLocalRefType<T>- Returns:
- the node defined for the element
ejb-link
-
removeEjbLink
public EjbLocalRefType<T> removeEjbLink()
Removes theejb-linkelement- Specified by:
removeEjbLinkin interfaceEjbLocalRefType<T>- Returns:
- the current instance of
EjbLocalRefType
-
id
public EjbLocalRefType<T> id(String id)
Sets theidattribute- Specified by:
idin interfaceEjbLocalRefType<T>- Parameters:
id- the value for the attributeid- Returns:
- the current instance of
EjbLocalRefType
-
getId
public String getId()
Returns theidattribute- Specified by:
getIdin interfaceEjbLocalRefType<T>- Returns:
- the value defined for the attribute
id
-
removeId
public EjbLocalRefType<T> removeId()
Removes theidattribute- Specified by:
removeIdin interfaceEjbLocalRefType<T>- Returns:
- the current instance of
EjbLocalRefType
-
-