/** | |
* 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 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.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 Relation Type</b></em>'. | |
* <!-- end-user-doc --> | |
* | |
* <!-- begin-model-doc --> | |
* | |
* | |
* The ejb-relationType describes a relationship between two | |
* entity beans with container-managed persistence. It is used | |
* by ejb-relation elements. It contains a description; an | |
* optional ejb-relation-name element; and exactly two | |
* relationship role declarations, defined by the | |
* ejb-relationship-role elements. The name of the | |
* relationship, if specified, is unique within the ejb-jar | |
* file. | |
* | |
* | |
* <!-- end-model-doc --> | |
* | |
* <p> | |
* The following features are supported: | |
* <ul> | |
* <li>{@link org.eclipse.modisco.jee.ejbjar.EjbJar21.EjbRelationType#getDescription <em>Description</em>}</li> | |
* <li>{@link org.eclipse.modisco.jee.ejbjar.EjbJar21.EjbRelationType#getEjbRelationName <em>Ejb Relation Name</em>}</li> | |
* <li>{@link org.eclipse.modisco.jee.ejbjar.EjbJar21.EjbRelationType#getEjbRelationshipRole <em>Ejb Relationship Role</em>}</li> | |
* <li>{@link org.eclipse.modisco.jee.ejbjar.EjbJar21.EjbRelationType#getEjbRelationshipRole1 <em>Ejb Relationship Role1</em>}</li> | |
* <li>{@link org.eclipse.modisco.jee.ejbjar.EjbJar21.EjbRelationType#getId <em>Id</em>}</li> | |
* </ul> | |
* </p> | |
* | |
* @see org.eclipse.modisco.jee.ejbjar.EjbJar21.EjbJar21Package#getEjbRelationType() | |
* @model extendedMetaData="name='ejb-relationType' kind='elementOnly'" | |
* @generated | |
*/ | |
public interface EjbRelationType 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#getEjbRelationType_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 Relation Name</b></em>' containment reference. | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* <!-- begin-model-doc --> | |
* | |
* | |
* The ejb-relation-name element provides a unique name | |
* within the ejb-jar file for a relationship. | |
* | |
* | |
* <!-- end-model-doc --> | |
* @return the value of the '<em>Ejb Relation Name</em>' containment reference. | |
* @see #setEjbRelationName(org.eclipse.modisco.jee.ejbjar.EjbJar21.String) | |
* @see org.eclipse.modisco.jee.ejbjar.EjbJar21.EjbJar21Package#getEjbRelationType_EjbRelationName() | |
* @model containment="true" | |
* extendedMetaData="kind='element' name='ejb-relation-name' namespace='http://java.sun.com/xml/ns/j2ee'" | |
* @generated | |
*/ | |
org.eclipse.modisco.jee.ejbjar.EjbJar21.String getEjbRelationName(); | |
/** | |
* Sets the value of the '{@link org.eclipse.modisco.jee.ejbjar.EjbJar21.EjbRelationType#getEjbRelationName <em>Ejb Relation Name</em>}' containment reference. | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @param value the new value of the '<em>Ejb Relation Name</em>' containment reference. | |
* @see #getEjbRelationName() | |
* @generated | |
*/ | |
void setEjbRelationName(org.eclipse.modisco.jee.ejbjar.EjbJar21.String value); | |
/** | |
* Returns the value of the '<em><b>Ejb Relationship Role</b></em>' containment reference. | |
* <!-- begin-user-doc --> | |
* <p> | |
* If the meaning of the '<em>Ejb Relationship Role</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 Relationship Role</em>' containment reference. | |
* @see #setEjbRelationshipRole(EjbRelationshipRoleType) | |
* @see org.eclipse.modisco.jee.ejbjar.EjbJar21.EjbJar21Package#getEjbRelationType_EjbRelationshipRole() | |
* @model containment="true" required="true" | |
* extendedMetaData="kind='element' name='ejb-relationship-role' namespace='http://java.sun.com/xml/ns/j2ee'" | |
* @generated | |
*/ | |
EjbRelationshipRoleType getEjbRelationshipRole(); | |
/** | |
* Sets the value of the '{@link org.eclipse.modisco.jee.ejbjar.EjbJar21.EjbRelationType#getEjbRelationshipRole <em>Ejb Relationship Role</em>}' containment reference. | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @param value the new value of the '<em>Ejb Relationship Role</em>' containment reference. | |
* @see #getEjbRelationshipRole() | |
* @generated | |
*/ | |
void setEjbRelationshipRole(EjbRelationshipRoleType value); | |
/** | |
* Returns the value of the '<em><b>Ejb Relationship Role1</b></em>' containment reference. | |
* <!-- begin-user-doc --> | |
* <p> | |
* If the meaning of the '<em>Ejb Relationship Role1</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 Relationship Role1</em>' containment reference. | |
* @see #setEjbRelationshipRole1(EjbRelationshipRoleType) | |
* @see org.eclipse.modisco.jee.ejbjar.EjbJar21.EjbJar21Package#getEjbRelationType_EjbRelationshipRole1() | |
* @model containment="true" required="true" | |
* extendedMetaData="kind='element' name='ejb-relationship-role' namespace='http://java.sun.com/xml/ns/j2ee'" | |
* @generated | |
*/ | |
EjbRelationshipRoleType getEjbRelationshipRole1(); | |
/** | |
* Sets the value of the '{@link org.eclipse.modisco.jee.ejbjar.EjbJar21.EjbRelationType#getEjbRelationshipRole1 <em>Ejb Relationship Role1</em>}' containment reference. | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @param value the new value of the '<em>Ejb Relationship Role1</em>' containment reference. | |
* @see #getEjbRelationshipRole1() | |
* @generated | |
*/ | |
void setEjbRelationshipRole1(EjbRelationshipRoleType 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#getEjbRelationType_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.EjbRelationType#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); | |
} // EjbRelationType |