blob: 6de7ceb89cf29a8326d4cb07880f2a69afe35964 [file] [log] [blame]
/**
* Copyright (c) 2010, 2019 Mia-Software.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v20.html
*
* Contributors:
*
* Nicolas Guyomar (Mia-Software) - initial API and implementation
*/
package org.eclipse.modisco.jee.webapp.webapp24;
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. 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 expected type of the referenced enterprise bean
* - the expected local home and local interfaces of the
* referenced enterprise bean
* - optional ejb-link information, used to specify the
* referenced enterprise bean
*
*
* <!-- end-model-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.modisco.jee.webapp.webapp24.EjbLocalRefType#getDescription <em>Description</em>}</li>
* <li>{@link org.eclipse.modisco.jee.webapp.webapp24.EjbLocalRefType#getEjbRefName <em>Ejb Ref Name</em>}</li>
* <li>{@link org.eclipse.modisco.jee.webapp.webapp24.EjbLocalRefType#getEjbRefType <em>Ejb Ref Type</em>}</li>
* <li>{@link org.eclipse.modisco.jee.webapp.webapp24.EjbLocalRefType#getLocalHome <em>Local Home</em>}</li>
* <li>{@link org.eclipse.modisco.jee.webapp.webapp24.EjbLocalRefType#getLocal <em>Local</em>}</li>
* <li>{@link org.eclipse.modisco.jee.webapp.webapp24.EjbLocalRefType#getEjbLink <em>Ejb Link</em>}</li>
* <li>{@link org.eclipse.modisco.jee.webapp.webapp24.EjbLocalRefType#getId <em>Id</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.modisco.jee.webapp.webapp24.Webapp24Package#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.webapp24.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.webapp24.Webapp24Package#getEjbLocalRefType_Description()
* @model containment="true"
* extendedMetaData="kind='element' name='description' namespace='http://java.sun.com/xml/ns/j2ee'"
* @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.webapp24.Webapp24Package#getEjbLocalRefType_EjbRefName()
* @model containment="true" required="true"
* extendedMetaData="kind='element' name='ejb-ref-name' namespace='http://java.sun.com/xml/ns/j2ee'"
* @generated
*/
EjbRefNameType getEjbRefName();
/**
* Sets the value of the '{@link org.eclipse.modisco.jee.webapp.webapp24.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.webapp24.Webapp24Package#getEjbLocalRefType_EjbRefType()
* @model containment="true" required="true"
* extendedMetaData="kind='element' name='ejb-ref-type' namespace='http://java.sun.com/xml/ns/j2ee'"
* @generated
*/
EjbRefTypeType getEjbRefType();
/**
* Sets the value of the '{@link org.eclipse.modisco.jee.webapp.webapp24.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.webapp24.Webapp24Package#getEjbLocalRefType_LocalHome()
* @model containment="true" required="true"
* extendedMetaData="kind='element' name='local-home' namespace='http://java.sun.com/xml/ns/j2ee'"
* @generated
*/
LocalHomeType getLocalHome();
/**
* Sets the value of the '{@link org.eclipse.modisco.jee.webapp.webapp24.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.webapp24.Webapp24Package#getEjbLocalRefType_Local()
* @model containment="true" required="true"
* extendedMetaData="kind='element' name='local' namespace='http://java.sun.com/xml/ns/j2ee'"
* @generated
*/
LocalType getLocal();
/**
* Sets the value of the '{@link org.eclipse.modisco.jee.webapp.webapp24.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.webapp24.Webapp24Package#getEjbLocalRefType_EjbLink()
* @model containment="true"
* extendedMetaData="kind='element' name='ejb-link' namespace='http://java.sun.com/xml/ns/j2ee'"
* @generated
*/
EjbLinkType getEjbLink();
/**
* Sets the value of the '{@link org.eclipse.modisco.jee.webapp.webapp24.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>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.webapp24.Webapp24Package#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.webapp24.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