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 theejb-refTypexsd type
-
-
Constructor Summary
Constructors Constructor Description EjbRefTypeImpl(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EjbRefType<T>description(String... values)Creates for all String objects representingdescriptionelements, a newdescriptionelementEjbRefType<T>ejbLink(String ejbLink)Sets theejb-linkelementEjbRefType<T>ejbRefName(String ejbRefName)Sets theejb-ref-nameelementEjbRefType<T>ejbRefType(String ejbRefType)Sets theejb-ref-typeelementEjbRefType<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-typeelementStringgetHome()Returns thehomeelementStringgetId()Returns theidattributeStringgetRemote()Returns theremoteelementEjbRefType<T>home(String home)Sets thehomeelementEjbRefType<T>id(String id)Sets theidattributeEjbRefType<T>remote(String remote)Sets theremoteelementEjbRefType<T>removeAllDescription()Removes thedescriptionelementEjbRefType<T>removeEjbLink()Removes theejb-linkelementEjbRefType<T>removeEjbRefName()Removes theejb-ref-nameelementEjbRefType<T>removeEjbRefType()Removes theejb-ref-typeattributeEjbRefType<T>removeHome()Removes thehomeelementEjbRefType<T>removeId()Removes theidattributeEjbRefType<T>removeRemote()Removes theremoteelementTup()
-
-
-
Method Detail
-
description
public EjbRefType<T> description(String... values)
Creates for all String objects representingdescriptionelements, a newdescriptionelement- Specified by:
descriptionin interfaceEjbRefType<T>- Parameters:
values- list ofdescriptionobjects- Returns:
- the current instance of
EjbRefType
-
getAllDescription
public List<String> getAllDescription()
Returns alldescriptionelements- Specified by:
getAllDescriptionin interfaceEjbRefType<T>- Returns:
- list of
description
-
removeAllDescription
public EjbRefType<T> removeAllDescription()
Removes thedescriptionelement- Specified by:
removeAllDescriptionin interfaceEjbRefType<T>- Returns:
- the current instance of
EjbRefType
-
ejbRefName
public EjbRefType<T> ejbRefName(String 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
public String getEjbRefName()
Returns theejb-ref-nameelement- Specified by:
getEjbRefNamein interfaceEjbRefType<T>- Returns:
- the node defined for the element
ejb-ref-name
-
removeEjbRefName
public EjbRefType<T> removeEjbRefName()
Removes theejb-ref-nameelement- Specified by:
removeEjbRefNamein interfaceEjbRefType<T>- Returns:
- the current instance of
EjbRefType
-
ejbRefType
public EjbRefType<T> ejbRefType(EjbRefTypeType 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
public EjbRefType<T> ejbRefType(String 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
public EjbRefTypeType getEjbRefType()
Returns theejb-ref-typeelement- Specified by:
getEjbRefTypein interfaceEjbRefType<T>- Returns:
- the value found for the element
ejb-ref-type
-
getEjbRefTypeAsString
public String getEjbRefTypeAsString()
Returns theejb-ref-typeelement- Specified by:
getEjbRefTypeAsStringin interfaceEjbRefType<T>- Returns:
- the value found for the element
ejb-ref-type
-
removeEjbRefType
public EjbRefType<T> removeEjbRefType()
Removes theejb-ref-typeattribute- Specified by:
removeEjbRefTypein interfaceEjbRefType<T>- Returns:
- the current instance of
EjbRefType
-
home
public EjbRefType<T> home(String home)
Sets thehomeelement- Specified by:
homein interfaceEjbRefType<T>- Parameters:
home- the value for the elementhome- Returns:
- the current instance of
EjbRefType
-
getHome
public String getHome()
Returns thehomeelement- Specified by:
getHomein interfaceEjbRefType<T>- Returns:
- the node defined for the element
home
-
removeHome
public EjbRefType<T> removeHome()
Removes thehomeelement- Specified by:
removeHomein interfaceEjbRefType<T>- Returns:
- the current instance of
EjbRefType
-
remote
public EjbRefType<T> remote(String remote)
Sets theremoteelement- Specified by:
remotein interfaceEjbRefType<T>- Parameters:
remote- the value for the elementremote- Returns:
- the current instance of
EjbRefType
-
getRemote
public String getRemote()
Returns theremoteelement- Specified by:
getRemotein interfaceEjbRefType<T>- Returns:
- the node defined for the element
remote
-
removeRemote
public EjbRefType<T> removeRemote()
Removes theremoteelement- Specified by:
removeRemotein interfaceEjbRefType<T>- Returns:
- the current instance of
EjbRefType
-
ejbLink
public EjbRefType<T> ejbLink(String ejbLink)
Sets theejb-linkelement- Specified by:
ejbLinkin interfaceEjbRefType<T>- Parameters:
ejbLink- the value for the elementejb-link- Returns:
- the current instance of
EjbRefType
-
getEjbLink
public String getEjbLink()
Returns theejb-linkelement- Specified by:
getEjbLinkin interfaceEjbRefType<T>- Returns:
- the node defined for the element
ejb-link
-
removeEjbLink
public EjbRefType<T> removeEjbLink()
Removes theejb-linkelement- Specified by:
removeEjbLinkin interfaceEjbRefType<T>- Returns:
- the current instance of
EjbRefType
-
id
public EjbRefType<T> id(String id)
Sets theidattribute- Specified by:
idin interfaceEjbRefType<T>- Parameters:
id- the value for the attributeid- Returns:
- the current instance of
EjbRefType
-
getId
public String getId()
Returns theidattribute- Specified by:
getIdin interfaceEjbRefType<T>- Returns:
- the value defined for the attribute
id
-
removeId
public EjbRefType<T> removeId()
Removes theidattribute- Specified by:
removeIdin interfaceEjbRefType<T>- Returns:
- the current instance of
EjbRefType
-
-