|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.shrinkwrap.descriptor.impl.javaee5.EjbRefTypeImpl<T>
public class EjbRefTypeImpl<T>
This class implements the ejb-refType
xsd type
Original Documentation:
The ejb-refType is used by ejb-ref elements for the
declaration of a reference to an enterprise bean's home or
to the remote business interface of a 3.0 bean.
The declaration consists of:
- an optional description
- the EJB reference name used in the code of
the Deployment Component that's referencing the enterprise
bean.
- the optional expected type of the referenced enterprise bean
- the optional remote interface of the referenced enterprise bean
or the remote business interface of the referenced enterprise
bean
- the optional expected home interface of the referenced
enterprise bean. Not applicable if this ejb-ref
refers to the remote business interface of a 3.0 bean.
- optional ejb-link information, used to specify the
referenced enterprise bean
- optional elements to define injection of the named enterprise
bean into a component field or property
Constructor Summary | |
---|---|
EjbRefTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node)
|
|
EjbRefTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node,
org.jboss.shrinkwrap.descriptor.spi.Node childNode)
|
Method Summary | |
---|---|
java.util.List<java.lang.String> |
getDescriptionList()
Returns all description elements |
java.lang.String |
getEjbLink()
Returns the ejb-link element |
java.lang.String |
getEjbRefName()
Returns the ejb-ref-name element |
EjbRefTypeType |
getEjbRefType()
Returns the ejb-ref-type element |
java.lang.String |
getEjbRefTypeAsString()
Returns the ejb-ref-type element |
java.lang.String |
getHome()
Returns the home element |
java.util.List<InjectionTargetType<EjbRefType<T>>> |
getInjectionTargetList()
Returns all injection-target elements |
java.lang.String |
getMappedName()
Returns the mapped-name element |
java.lang.String |
getRemote()
Returns the remote element |
InjectionTargetType<EjbRefType<T>> |
injectionTarget()
Returns the injection-target element |
EjbRefType<T> |
removeAllDescription()
Removes the description element |
EjbRefType<T> |
removeAllInjectionTarget()
Removes all injection-target elements |
EjbRefType<T> |
removeEjbLink()
Removes the ejb-link element |
EjbRefType<T> |
removeEjbRefName()
Removes the ejb-ref-name element |
EjbRefType<T> |
removeHome()
Removes the home element |
EjbRefType<T> |
removeMappedName()
Removes the mapped-name element |
EjbRefType<T> |
removeRemote()
Removes the remote element |
EjbRefType<T> |
setDescription(java.lang.String description)
Creates a new description element |
EjbRefType<T> |
setDescriptionList(java.lang.String... values)
Creates for all String objects representing description elements,
a new description element |
EjbRefType<T> |
setEjbLink(java.lang.String ejbLink)
If not already created, a new ejb-link element with the given value will be created. |
EjbRefType<T> |
setEjbRefName(java.lang.String ejbRefName)
If not already created, a new ejb-ref-name element with the given value will be created. |
EjbRefType<T> |
setEjbRefType(EjbRefTypeType ejbRefType)
If not already created, a new ejb-ref-type element with the given value will be created. |
EjbRefType<T> |
setEjbRefType(java.lang.String ejbRefType)
If not already created, a new ejb-ref-type element with the given value will be created. |
EjbRefType<T> |
setHome(java.lang.String home)
If not already created, a new home element with the given value will be created. |
EjbRefType<T> |
setMappedName(java.lang.String mappedName)
If not already created, a new mapped-name element with the given value will be created. |
EjbRefType<T> |
setRemote(java.lang.String remote)
If not already created, a new remote element with the given value will be created. |
T |
up()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EjbRefTypeImpl(T t, java.lang.String nodeName, org.jboss.shrinkwrap.descriptor.spi.Node node)
public EjbRefTypeImpl(T t, java.lang.String nodeName, org.jboss.shrinkwrap.descriptor.spi.Node node, org.jboss.shrinkwrap.descriptor.spi.Node childNode)
Method Detail |
---|
public T up()
up
in interface org.jboss.shrinkwrap.descriptor.api.Child<T>
public EjbRefType<T> setMappedName(java.lang.String mappedName)
mapped-name
element with the given value will be created.
Otherwise, the existing mapped-name
element will be updated with the given value.
setMappedName
in interface EjbRefType<T>
EjbRefType
public EjbRefType<T> removeMappedName()
mapped-name
element
removeMappedName
in interface EjbRefType<T>
EjbRefType
public java.lang.String getMappedName()
mapped-name
element
getMappedName
in interface EjbRefType<T>
mapped-name
public EjbRefType<T> removeAllInjectionTarget()
injection-target
elements
removeAllInjectionTarget
in interface EjbRefType<T>
EjbRefType
public InjectionTargetType<EjbRefType<T>> injectionTarget()
injection-target
element
injectionTarget
in interface EjbRefType<T>
injection-target
public java.util.List<InjectionTargetType<EjbRefType<T>>> getInjectionTargetList()
injection-target
elements
getInjectionTargetList
in interface EjbRefType<T>
injection-target
public EjbRefType<T> setDescription(java.lang.String description)
description
element
setDescription
in interface EjbRefType<T>
EjbRefType
public EjbRefType<T> setDescriptionList(java.lang.String... values)
description
elements,
a new description
element
setDescriptionList
in interface EjbRefType<T>
list
- of description
objects
EjbRefType
public EjbRefType<T> removeAllDescription()
description
element
removeAllDescription
in interface EjbRefType<T>
EjbRefType
public java.util.List<java.lang.String> getDescriptionList()
description
elements
getDescriptionList
in interface EjbRefType<T>
description
public EjbRefType<T> setEjbRefName(java.lang.String ejbRefName)
ejb-ref-name
element with the given value will be created.
Otherwise, the existing ejb-ref-name
element will be updated with the given value.
setEjbRefName
in interface EjbRefType<T>
EjbRefType
public EjbRefType<T> removeEjbRefName()
ejb-ref-name
element
removeEjbRefName
in interface EjbRefType<T>
EjbRefType
public java.lang.String getEjbRefName()
ejb-ref-name
element
getEjbRefName
in interface EjbRefType<T>
ejb-ref-name
public EjbRefType<T> setEjbRefType(EjbRefTypeType ejbRefType)
ejb-ref-type
element with the given value will be created.
Otherwise, the existing ejb-ref-type
element will be updated with the given value.
setEjbRefType
in interface EjbRefType<T>
EjbRefType
public EjbRefType<T> setEjbRefType(java.lang.String ejbRefType)
ejb-ref-type
element with the given value will be created.
Otherwise, the existing ejb-ref-type
element will be updated with the given value.
setEjbRefType
in interface EjbRefType<T>
EjbRefType
public EjbRefTypeType getEjbRefType()
ejb-ref-type
element
getEjbRefType
in interface EjbRefType<T>
ejb-ref-type
public java.lang.String getEjbRefTypeAsString()
ejb-ref-type
element
getEjbRefTypeAsString
in interface EjbRefType<T>
ejb-ref-type
public EjbRefType<T> setHome(java.lang.String home)
home
element with the given value will be created.
Otherwise, the existing home
element will be updated with the given value.
setHome
in interface EjbRefType<T>
EjbRefType
public EjbRefType<T> removeHome()
home
element
removeHome
in interface EjbRefType<T>
EjbRefType
public java.lang.String getHome()
home
element
getHome
in interface EjbRefType<T>
home
public EjbRefType<T> setRemote(java.lang.String remote)
remote
element with the given value will be created.
Otherwise, the existing remote
element will be updated with the given value.
setRemote
in interface EjbRefType<T>
EjbRefType
public EjbRefType<T> removeRemote()
remote
element
removeRemote
in interface EjbRefType<T>
EjbRefType
public java.lang.String getRemote()
remote
element
getRemote
in interface EjbRefType<T>
remote
public EjbRefType<T> setEjbLink(java.lang.String ejbLink)
ejb-link
element with the given value will be created.
Otherwise, the existing ejb-link
element will be updated with the given value.
setEjbLink
in interface EjbRefType<T>
EjbRefType
public EjbRefType<T> removeEjbLink()
ejb-link
element
removeEjbLink
in interface EjbRefType<T>
EjbRefType
public java.lang.String getEjbLink()
ejb-link
element
getEjbLink
in interface EjbRefType<T>
ejb-link
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |