|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EjbRef
The ejb-ref element is used for the declaration of a reference to an enterprise bean's home. The declaration consists of an optional description; the EJB reference name used in the code of the referencing application client; the expected type of the referenced enterprise bean; the expected home and remote interfaces of the referenced enterprise bean; and an optional ejb-link information. The optional ejb-link element is used to specify the referenced enterprise bean.
Method Summary | |
---|---|
java.lang.String |
getDescription()
|
org.eclipse.emf.common.util.EList |
getDescriptions()
Returns the value of the 'Descriptions' containment reference list. |
java.lang.String |
getHome()
|
java.lang.String |
getLink()
|
EnterpriseBean |
getLinkedEjb(EJBJar ejbJar)
Return an enterprise bean referenced by the EjbRef, if one exists, within the scope of the parameter. |
java.lang.String |
getName()
|
java.lang.String |
getRemote()
|
EjbRefType |
getType()
|
boolean |
isEquivalent(EjbRef anEjbRef)
Return true if the name, home, remote, and link are equivalent. |
boolean |
isLinked(EnterpriseBean anEJB)
Return true if this reference is physically linked to |
boolean |
isLocal()
Return true if the ejbref is for a local ejb interface. |
boolean |
isSetType()
Returns whether the value of the ' Type ' attribute is set |
void |
setDescription(java.lang.String value)
|
void |
setHome(java.lang.String value)
|
void |
setLink(java.lang.String value)
|
void |
setName(java.lang.String value)
|
void |
setRemote(java.lang.String value)
|
void |
setType(EjbRefType value)
Sets the value of the ' Type ' attribute |
void |
unsetType()
Unsets the value of the ' Type ' attribute |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
---|
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
---|
eAdapters, eDeliver, eNotify, eSetDeliver |
Method Detail |
---|
EnterpriseBean getLinkedEjb(EJBJar ejbJar)
boolean isEquivalent(EjbRef anEjbRef)
boolean isLinked(EnterpriseBean anEJB)
boolean isLocal()
java.lang.String getName()
void setName(java.lang.String value)
value
- The new value of the Name attributeEjbRefType getType()
void setType(EjbRefType value)
Type
' attribute.
value
- the new value of the 'Type' attribute.EjbRefType
,
isSetType()
,
unsetType()
,
getType()
void unsetType()
Type
' attribute.
isSetType()
,
getType()
,
setType(EjbRefType)
boolean isSetType()
Type
' attribute is set.
unsetType()
,
getType()
,
setType(EjbRefType)
java.lang.String getHome()
void setHome(java.lang.String value)
value
- The new value of the Home attributejava.lang.String getRemote()
void setRemote(java.lang.String value)
value
- The new value of the Remote attributejava.lang.String getLink()
void setLink(java.lang.String value)
value
- The new value of the Link attributejava.lang.String getDescription()
void setDescription(java.lang.String value)
value
- The new value of the Description attributeorg.eclipse.emf.common.util.EList getDescriptions()
Description
.
If the meaning of the 'Descriptions' containment reference list isn't clear, there really should be more of a description here...
CommonPackage.getEjbRef_Descriptions()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |