blob: 85da97948b6bef1f40250275c5f349ed7a787dd6 [file] [log] [blame]
/**
* 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.ejbjar.EjbJar21;
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 Ref Type</b></em>'.
* <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
*
*
* The ejb-refType is used by ejb-ref elements 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 Deployment Component that's referencing the enterprise
* bean
* - the expected type of the referenced enterprise bean
* - the expected home and remote 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.ejbjar.EjbJar21.EjbRefType#getDescription <em>Description</em>}</li>
* <li>{@link org.eclipse.modisco.jee.ejbjar.EjbJar21.EjbRefType#getEjbRefName <em>Ejb Ref Name</em>}</li>
* <li>{@link org.eclipse.modisco.jee.ejbjar.EjbJar21.EjbRefType#getEjbRefType <em>Ejb Ref Type</em>}</li>
* <li>{@link org.eclipse.modisco.jee.ejbjar.EjbJar21.EjbRefType#getHome <em>Home</em>}</li>
* <li>{@link org.eclipse.modisco.jee.ejbjar.EjbJar21.EjbRefType#getRemote <em>Remote</em>}</li>
* <li>{@link org.eclipse.modisco.jee.ejbjar.EjbJar21.EjbRefType#getEjbLink <em>Ejb Link</em>}</li>
* <li>{@link org.eclipse.modisco.jee.ejbjar.EjbJar21.EjbRefType#getId <em>Id</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.modisco.jee.ejbjar.EjbJar21.EjbJar21Package#getEjbRefType()
* @model extendedMetaData="name='ejb-refType' kind='elementOnly'"
* @generated
*/
public interface EjbRefType 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.ejbjar.EjbJar21.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.ejbjar.EjbJar21.EjbJar21Package#getEjbRefType_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.ejbjar.EjbJar21.EjbJar21Package#getEjbRefType_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.ejbjar.EjbJar21.EjbRefType#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.ejbjar.EjbJar21.EjbJar21Package#getEjbRefType_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.ejbjar.EjbJar21.EjbRefType#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>Home</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>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>Home</em>' containment reference.
* @see #setHome(HomeType)
* @see org.eclipse.modisco.jee.ejbjar.EjbJar21.EjbJar21Package#getEjbRefType_Home()
* @model containment="true" required="true"
* extendedMetaData="kind='element' name='home' namespace='http://java.sun.com/xml/ns/j2ee'"
* @generated
*/
HomeType getHome();
/**
* Sets the value of the '{@link org.eclipse.modisco.jee.ejbjar.EjbJar21.EjbRefType#getHome <em>Home</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Home</em>' containment reference.
* @see #getHome()
* @generated
*/
void setHome(HomeType value);
/**
* Returns the value of the '<em><b>Remote</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Remote</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>Remote</em>' containment reference.
* @see #setRemote(RemoteType)
* @see org.eclipse.modisco.jee.ejbjar.EjbJar21.EjbJar21Package#getEjbRefType_Remote()
* @model containment="true" required="true"
* extendedMetaData="kind='element' name='remote' namespace='http://java.sun.com/xml/ns/j2ee'"
* @generated
*/
RemoteType getRemote();
/**
* Sets the value of the '{@link org.eclipse.modisco.jee.ejbjar.EjbJar21.EjbRefType#getRemote <em>Remote</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Remote</em>' containment reference.
* @see #getRemote()
* @generated
*/
void setRemote(RemoteType 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.ejbjar.EjbJar21.EjbJar21Package#getEjbRefType_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.ejbjar.EjbJar21.EjbRefType#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.ejbjar.EjbJar21.EjbJar21Package#getEjbRefType_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.ejbjar.EjbJar21.EjbRefType#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);
} // EjbRefType