/** | |
* Copyright (c) 2010 Mia-Software. | |
* All rights reserved. This program and the accompanying materials | |
* are made available under the terms of the Eclipse Public License v1.0 | |
* which accompanies this distribution, and is available at | |
* http://www.eclipse.org/legal/epl-v10.html | |
* | |
* Contributors: | |
* | |
* Nicolas Guyomar (Mia-Software) - initial API and implementation | |
*/ | |
package org.eclipse.modisco.jee.webapp.webapp25; | |
import java.lang.String; | |
import org.eclipse.emf.common.util.EList; | |
import org.eclipse.emf.ecore.EObject; | |
/** | |
* <!-- begin-user-doc --> | |
* A representation of the model object '<em><b>Ejb Local Ref Type</b></em>'. | |
* <!-- end-user-doc --> | |
* | |
* <!-- begin-model-doc --> | |
* | |
* | |
* 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. | |
* | |
* | |
* <!-- end-model-doc --> | |
* | |
* <p> | |
* The following features are supported: | |
* <ul> | |
* <li>{@link org.eclipse.modisco.jee.webapp.webapp25.EjbLocalRefType#getDescription <em>Description</em>}</li> | |
* <li>{@link org.eclipse.modisco.jee.webapp.webapp25.EjbLocalRefType#getEjbRefName <em>Ejb Ref Name</em>}</li> | |
* <li>{@link org.eclipse.modisco.jee.webapp.webapp25.EjbLocalRefType#getEjbRefType <em>Ejb Ref Type</em>}</li> | |
* <li>{@link org.eclipse.modisco.jee.webapp.webapp25.EjbLocalRefType#getLocalHome <em>Local Home</em>}</li> | |
* <li>{@link org.eclipse.modisco.jee.webapp.webapp25.EjbLocalRefType#getLocal <em>Local</em>}</li> | |
* <li>{@link org.eclipse.modisco.jee.webapp.webapp25.EjbLocalRefType#getEjbLink <em>Ejb Link</em>}</li> | |
* <li>{@link org.eclipse.modisco.jee.webapp.webapp25.EjbLocalRefType#getMappedName <em>Mapped Name</em>}</li> | |
* <li>{@link org.eclipse.modisco.jee.webapp.webapp25.EjbLocalRefType#getInjectionTarget <em>Injection Target</em>}</li> | |
* <li>{@link org.eclipse.modisco.jee.webapp.webapp25.EjbLocalRefType#getId <em>Id</em>}</li> | |
* </ul> | |
* </p> | |
* | |
* @see org.eclipse.modisco.jee.webapp.webapp25.Webapp25Package#getEjbLocalRefType() | |
* @model extendedMetaData="name='ejb-local-refType' kind='elementOnly'" | |
* @generated | |
*/ | |
public interface EjbLocalRefType extends EObject { | |
/** | |
* Returns the value of the '<em><b>Description</b></em>' containment reference list. | |
* The list contents are of type {@link org.eclipse.modisco.jee.webapp.webapp25.DescriptionType}. | |
* <!-- begin-user-doc --> | |
* <p> | |
* If the meaning of the '<em>Description</em>' containment reference list isn't clear, | |
* there really should be more of a description here... | |
* </p> | |
* <!-- end-user-doc --> | |
* @return the value of the '<em>Description</em>' containment reference list. | |
* @see org.eclipse.modisco.jee.webapp.webapp25.Webapp25Package#getEjbLocalRefType_Description() | |
* @model containment="true" | |
* extendedMetaData="kind='element' name='description' namespace='http://java.sun.com/xml/ns/javaee'" | |
* @generated | |
*/ | |
EList<DescriptionType> getDescription(); | |
/** | |
* Returns the value of the '<em><b>Ejb Ref Name</b></em>' containment reference. | |
* <!-- begin-user-doc --> | |
* <p> | |
* If the meaning of the '<em>Ejb Ref Name</em>' containment reference isn't clear, | |
* there really should be more of a description here... | |
* </p> | |
* <!-- end-user-doc --> | |
* @return the value of the '<em>Ejb Ref Name</em>' containment reference. | |
* @see #setEjbRefName(EjbRefNameType) | |
* @see org.eclipse.modisco.jee.webapp.webapp25.Webapp25Package#getEjbLocalRefType_EjbRefName() | |
* @model containment="true" required="true" | |
* extendedMetaData="kind='element' name='ejb-ref-name' namespace='http://java.sun.com/xml/ns/javaee'" | |
* @generated | |
*/ | |
EjbRefNameType getEjbRefName(); | |
/** | |
* Sets the value of the '{@link org.eclipse.modisco.jee.webapp.webapp25.EjbLocalRefType#getEjbRefName <em>Ejb Ref Name</em>}' containment reference. | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @param value the new value of the '<em>Ejb Ref Name</em>' containment reference. | |
* @see #getEjbRefName() | |
* @generated | |
*/ | |
void setEjbRefName(EjbRefNameType value); | |
/** | |
* Returns the value of the '<em><b>Ejb Ref Type</b></em>' containment reference. | |
* <!-- begin-user-doc --> | |
* <p> | |
* If the meaning of the '<em>Ejb Ref Type</em>' containment reference isn't clear, | |
* there really should be more of a description here... | |
* </p> | |
* <!-- end-user-doc --> | |
* @return the value of the '<em>Ejb Ref Type</em>' containment reference. | |
* @see #setEjbRefType(EjbRefTypeType) | |
* @see org.eclipse.modisco.jee.webapp.webapp25.Webapp25Package#getEjbLocalRefType_EjbRefType() | |
* @model containment="true" | |
* extendedMetaData="kind='element' name='ejb-ref-type' namespace='http://java.sun.com/xml/ns/javaee'" | |
* @generated | |
*/ | |
EjbRefTypeType getEjbRefType(); | |
/** | |
* Sets the value of the '{@link org.eclipse.modisco.jee.webapp.webapp25.EjbLocalRefType#getEjbRefType <em>Ejb Ref Type</em>}' containment reference. | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @param value the new value of the '<em>Ejb Ref Type</em>' containment reference. | |
* @see #getEjbRefType() | |
* @generated | |
*/ | |
void setEjbRefType(EjbRefTypeType value); | |
/** | |
* Returns the value of the '<em><b>Local Home</b></em>' containment reference. | |
* <!-- begin-user-doc --> | |
* <p> | |
* If the meaning of the '<em>Local Home</em>' containment reference isn't clear, | |
* there really should be more of a description here... | |
* </p> | |
* <!-- end-user-doc --> | |
* @return the value of the '<em>Local Home</em>' containment reference. | |
* @see #setLocalHome(LocalHomeType) | |
* @see org.eclipse.modisco.jee.webapp.webapp25.Webapp25Package#getEjbLocalRefType_LocalHome() | |
* @model containment="true" | |
* extendedMetaData="kind='element' name='local-home' namespace='http://java.sun.com/xml/ns/javaee'" | |
* @generated | |
*/ | |
LocalHomeType getLocalHome(); | |
/** | |
* Sets the value of the '{@link org.eclipse.modisco.jee.webapp.webapp25.EjbLocalRefType#getLocalHome <em>Local Home</em>}' containment reference. | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @param value the new value of the '<em>Local Home</em>' containment reference. | |
* @see #getLocalHome() | |
* @generated | |
*/ | |
void setLocalHome(LocalHomeType value); | |
/** | |
* Returns the value of the '<em><b>Local</b></em>' containment reference. | |
* <!-- begin-user-doc --> | |
* <p> | |
* If the meaning of the '<em>Local</em>' containment reference isn't clear, | |
* there really should be more of a description here... | |
* </p> | |
* <!-- end-user-doc --> | |
* @return the value of the '<em>Local</em>' containment reference. | |
* @see #setLocal(LocalType) | |
* @see org.eclipse.modisco.jee.webapp.webapp25.Webapp25Package#getEjbLocalRefType_Local() | |
* @model containment="true" | |
* extendedMetaData="kind='element' name='local' namespace='http://java.sun.com/xml/ns/javaee'" | |
* @generated | |
*/ | |
LocalType getLocal(); | |
/** | |
* Sets the value of the '{@link org.eclipse.modisco.jee.webapp.webapp25.EjbLocalRefType#getLocal <em>Local</em>}' containment reference. | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @param value the new value of the '<em>Local</em>' containment reference. | |
* @see #getLocal() | |
* @generated | |
*/ | |
void setLocal(LocalType value); | |
/** | |
* Returns the value of the '<em><b>Ejb Link</b></em>' containment reference. | |
* <!-- begin-user-doc --> | |
* <p> | |
* If the meaning of the '<em>Ejb Link</em>' containment reference isn't clear, | |
* there really should be more of a description here... | |
* </p> | |
* <!-- end-user-doc --> | |
* @return the value of the '<em>Ejb Link</em>' containment reference. | |
* @see #setEjbLink(EjbLinkType) | |
* @see org.eclipse.modisco.jee.webapp.webapp25.Webapp25Package#getEjbLocalRefType_EjbLink() | |
* @model containment="true" | |
* extendedMetaData="kind='element' name='ejb-link' namespace='http://java.sun.com/xml/ns/javaee'" | |
* @generated | |
*/ | |
EjbLinkType getEjbLink(); | |
/** | |
* Sets the value of the '{@link org.eclipse.modisco.jee.webapp.webapp25.EjbLocalRefType#getEjbLink <em>Ejb Link</em>}' containment reference. | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @param value the new value of the '<em>Ejb Link</em>' containment reference. | |
* @see #getEjbLink() | |
* @generated | |
*/ | |
void setEjbLink(EjbLinkType value); | |
/** | |
* Returns the value of the '<em><b>Mapped Name</b></em>' containment reference. | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* <!-- begin-model-doc --> | |
* | |
* <![CDATA[ | |
* | |
* 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. | |
* | |
* ]]> | |
* | |
* <!-- end-model-doc --> | |
* @return the value of the '<em>Mapped Name</em>' containment reference. | |
* @see #setMappedName(XsdStringType) | |
* @see org.eclipse.modisco.jee.webapp.webapp25.Webapp25Package#getEjbLocalRefType_MappedName() | |
* @model containment="true" | |
* extendedMetaData="kind='element' name='mapped-name' namespace='http://java.sun.com/xml/ns/javaee'" | |
* @generated | |
*/ | |
XsdStringType getMappedName(); | |
/** | |
* Sets the value of the '{@link org.eclipse.modisco.jee.webapp.webapp25.EjbLocalRefType#getMappedName <em>Mapped Name</em>}' containment reference. | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @param value the new value of the '<em>Mapped Name</em>' containment reference. | |
* @see #getMappedName() | |
* @generated | |
*/ | |
void setMappedName(XsdStringType value); | |
/** | |
* Returns the value of the '<em><b>Injection Target</b></em>' containment reference list. | |
* The list contents are of type {@link org.eclipse.modisco.jee.webapp.webapp25.InjectionTargetType}. | |
* <!-- begin-user-doc --> | |
* <p> | |
* If the meaning of the '<em>Injection Target</em>' containment reference list isn't clear, | |
* there really should be more of a description here... | |
* </p> | |
* <!-- end-user-doc --> | |
* @return the value of the '<em>Injection Target</em>' containment reference list. | |
* @see org.eclipse.modisco.jee.webapp.webapp25.Webapp25Package#getEjbLocalRefType_InjectionTarget() | |
* @model containment="true" | |
* extendedMetaData="kind='element' name='injection-target' namespace='http://java.sun.com/xml/ns/javaee'" | |
* @generated | |
*/ | |
EList<InjectionTargetType> getInjectionTarget(); | |
/** | |
* Returns the value of the '<em><b>Id</b></em>' attribute. | |
* <!-- begin-user-doc --> | |
* <p> | |
* If the meaning of the '<em>Id</em>' attribute isn't clear, | |
* there really should be more of a description here... | |
* </p> | |
* <!-- end-user-doc --> | |
* @return the value of the '<em>Id</em>' attribute. | |
* @see #setId(String) | |
* @see org.eclipse.modisco.jee.webapp.webapp25.Webapp25Package#getEjbLocalRefType_Id() | |
* @model id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" | |
* extendedMetaData="kind='attribute' name='id'" | |
* @generated | |
*/ | |
String getId(); | |
/** | |
* Sets the value of the '{@link org.eclipse.modisco.jee.webapp.webapp25.EjbLocalRefType#getId <em>Id</em>}' attribute. | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @param value the new value of the '<em>Id</em>' attribute. | |
* @see #getId() | |
* @generated | |
*/ | |
void setId(String value); | |
} // EjbLocalRefType |