org.eclipse.modisco.jee.webapp.webapp30
Interface EjbLocalRefType


public interface EjbLocalRefType

A representation of the model object 'Ejb Local Ref Type'. The ejb-local-refType is used by ejb-local-ref elements for the declaration of a reference to an enterprise bean's local home or to the local 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 expected local interface of the referenced enterprise bean or the local business interface of the referenced enterprise bean. - the optional expected local home interface of the referenced enterprise bean. Not applicable if this ejb-local-ref refers to the local 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.

The following features are supported:

See Also:
Webapp30Package.getEjbLocalRefType()
Generated:
Model:
extendedMetaData="name='ejb-local-refType' kind='elementOnly'"

Method Summary
  getDescription()
          Returns the value of the 'Description' containment reference list.
 EjbLinkType getEjbLink()
          Returns the value of the 'Ejb Link' containment reference.
 EjbRefNameType getEjbRefName()
          Returns the value of the 'Ejb Ref Name' containment reference.
 EjbRefTypeType getEjbRefType()
          Returns the value of the 'Ejb Ref Type' containment reference.
 java.lang.String getId()
          Returns the value of the 'Id' attribute.
  getInjectionTarget()
          Returns the value of the 'Injection Target' containment reference list.
 LocalType getLocal()
          Returns the value of the 'Local' containment reference.
 LocalHomeType getLocalHome()
          Returns the value of the 'Local Home' containment reference.
 XsdStringType getLookupName()
          Returns the value of the 'Lookup Name' containment reference.
 XsdStringType getMappedName()
          Returns the value of the 'Mapped Name' containment reference.
 void setEjbLink(EjbLinkType value)
          Sets the value of the 'Ejb Link' containment reference.
 void setEjbRefName(EjbRefNameType value)
          Sets the value of the 'Ejb Ref Name' containment reference.
 void setEjbRefType(EjbRefTypeType value)
          Sets the value of the 'Ejb Ref Type' containment reference.
 void setId(java.lang.String value)
          Sets the value of the 'Id' attribute.
 void setLocal(LocalType value)
          Sets the value of the 'Local' containment reference.
 void setLocalHome(LocalHomeType value)
          Sets the value of the 'Local Home' containment reference.
 void setLookupName(XsdStringType value)
          Sets the value of the 'Lookup Name' containment reference.
 void setMappedName(XsdStringType value)
          Sets the value of the 'Mapped Name' containment reference.
 

Method Detail

getDescription

 getDescription()
Returns the value of the 'Description' containment reference list. The list contents are of type DescriptionType.

If the meaning of the 'Description' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Description' containment reference list.
See Also:
Webapp30Package.getEjbLocalRefType_Description()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='description' namespace='http://java.sun.com/xml/ns/javaee'"

getEjbRefName

EjbRefNameType getEjbRefName()
Returns the value of the 'Ejb Ref Name' containment reference.

If the meaning of the 'Ejb Ref Name' containment reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Ejb Ref Name' containment reference.
See Also:
setEjbRefName(EjbRefNameType), Webapp30Package.getEjbLocalRefType_EjbRefName()
Generated:
Model:
containment="true" required="true" extendedMetaData="kind='element' name='ejb-ref-name' namespace='http://java.sun.com/xml/ns/javaee'"

setEjbRefName

void setEjbRefName(EjbRefNameType value)
Sets the value of the 'Ejb Ref Name' containment reference.

Parameters:
value - the new value of the 'Ejb Ref Name' containment reference.
See Also:
getEjbRefName()
Generated:

getEjbRefType

EjbRefTypeType getEjbRefType()
Returns the value of the 'Ejb Ref Type' containment reference.

If the meaning of the 'Ejb Ref Type' containment reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Ejb Ref Type' containment reference.
See Also:
setEjbRefType(EjbRefTypeType), Webapp30Package.getEjbLocalRefType_EjbRefType()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='ejb-ref-type' namespace='http://java.sun.com/xml/ns/javaee'"

setEjbRefType

void setEjbRefType(EjbRefTypeType value)
Sets the value of the 'Ejb Ref Type' containment reference.

Parameters:
value - the new value of the 'Ejb Ref Type' containment reference.
See Also:
getEjbRefType()
Generated:

getLocalHome

LocalHomeType getLocalHome()
Returns the value of the 'Local Home' containment reference.

If the meaning of the 'Local Home' containment reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Local Home' containment reference.
See Also:
setLocalHome(LocalHomeType), Webapp30Package.getEjbLocalRefType_LocalHome()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='local-home' namespace='http://java.sun.com/xml/ns/javaee'"

setLocalHome

void setLocalHome(LocalHomeType value)
Sets the value of the 'Local Home' containment reference.

Parameters:
value - the new value of the 'Local Home' containment reference.
See Also:
getLocalHome()
Generated:

getLocal

LocalType getLocal()
Returns the value of the 'Local' containment reference.

If the meaning of the 'Local' containment reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Local' containment reference.
See Also:
setLocal(LocalType), Webapp30Package.getEjbLocalRefType_Local()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='local' namespace='http://java.sun.com/xml/ns/javaee'"

setLocal

void setLocal(LocalType value)
Sets the value of the 'Local' containment reference.

Parameters:
value - the new value of the 'Local' containment reference.
See Also:
getLocal()
Generated:

getEjbLink

EjbLinkType getEjbLink()
Returns the value of the 'Ejb Link' containment reference.

If the meaning of the 'Ejb Link' containment reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Ejb Link' containment reference.
See Also:
setEjbLink(EjbLinkType), Webapp30Package.getEjbLocalRefType_EjbLink()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='ejb-link' namespace='http://java.sun.com/xml/ns/javaee'"

setEjbLink

void setEjbLink(EjbLinkType value)
Sets the value of the 'Ejb Link' containment reference.

Parameters:
value - the new value of the 'Ejb Link' containment reference.
See Also:
getEjbLink()
Generated:

getMappedName

XsdStringType getMappedName()
Returns the value of the 'Mapped Name' containment reference. A product specific name that this resource should be mapped to. The name of this resource, as defined by the resource's name element or defaulted, is a name that is local to the application component using the resource. (It's a name in the JNDI java:comp/env namespace.) Many application servers provide a way to map these local names to names of resources known to the application server. This mapped name is often a global JNDI name, but may be a name of any form. Application servers are not required to support any particular form or type of mapped name, nor the ability to use mapped names. The mapped name is product-dependent and often installation-dependent. No use of a mapped name is portable.

Returns:
the value of the 'Mapped Name' containment reference.
See Also:
setMappedName(XsdStringType), Webapp30Package.getEjbLocalRefType_MappedName()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='mapped-name' namespace='http://java.sun.com/xml/ns/javaee'"

setMappedName

void setMappedName(XsdStringType value)
Sets the value of the 'Mapped Name' containment reference.

Parameters:
value - the new value of the 'Mapped Name' containment reference.
See Also:
getMappedName()
Generated:

getInjectionTarget

 getInjectionTarget()
Returns the value of the 'Injection Target' containment reference list. The list contents are of type InjectionTargetType.

If the meaning of the 'Injection Target' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Injection Target' containment reference list.
See Also:
Webapp30Package.getEjbLocalRefType_InjectionTarget()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='injection-target' namespace='http://java.sun.com/xml/ns/javaee'"

getLookupName

XsdStringType getLookupName()
Returns the value of the 'Lookup Name' containment reference. The JNDI name to be looked up to resolve a resource reference.

Returns:
the value of the 'Lookup Name' containment reference.
See Also:
setLookupName(XsdStringType), Webapp30Package.getEjbLocalRefType_LookupName()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='lookup-name' namespace='http://java.sun.com/xml/ns/javaee'"

setLookupName

void setLookupName(XsdStringType value)
Sets the value of the 'Lookup Name' containment reference.

Parameters:
value - the new value of the 'Lookup Name' containment reference.
See Also:
getLookupName()
Generated:

getId

java.lang.String getId()
Returns the value of the 'Id' attribute.

If the meaning of the 'Id' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Id' attribute.
See Also:
setId(String), Webapp30Package.getEjbLocalRefType_Id()
Generated:
Model:
id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" extendedMetaData="kind='attribute' name='id'"

setId

void setId(java.lang.String value)
Sets the value of the 'Id' attribute.

Parameters:
value - the new value of the 'Id' attribute.
See Also:
getId()
Generated: