blob: 2b6758dda18a0e0a187f20ce0b55b3a3fb215ac4 [file] [log] [blame]
/**
* Copyright (c) 2010, 2019 Mia-Software and others.
* 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.EjbJar20;
import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Query Type</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.modisco.jee.ejbjar.EjbJar20.QueryType#getDescription <em>Description</em>}</li>
* <li>{@link org.eclipse.modisco.jee.ejbjar.EjbJar20.QueryType#getQueryMethod <em>Query Method</em>}</li>
* <li>{@link org.eclipse.modisco.jee.ejbjar.EjbJar20.QueryType#getResultTypeMapping <em>Result Type Mapping</em>}</li>
* <li>{@link org.eclipse.modisco.jee.ejbjar.EjbJar20.QueryType#getEjbQl <em>Ejb Ql</em>}</li>
* <li>{@link org.eclipse.modisco.jee.ejbjar.EjbJar20.QueryType#getId <em>Id</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.modisco.jee.ejbjar.EjbJar20.EjbJar20Package#getQueryType()
* @model extendedMetaData="name='query_._type' kind='elementOnly'"
* @generated
*/
public interface QueryType extends EObject {
/**
* Returns the value of the '<em><b>Description</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Description</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>Description</em>' containment reference.
* @see #setDescription(DescriptionType)
* @see org.eclipse.modisco.jee.ejbjar.EjbJar20.EjbJar20Package#getQueryType_Description()
* @model containment="true"
* extendedMetaData="kind='element' name='description' namespace='##targetNamespace'"
* @generated
*/
DescriptionType getDescription();
/**
* Sets the value of the '{@link org.eclipse.modisco.jee.ejbjar.EjbJar20.QueryType#getDescription <em>Description</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Description</em>' containment reference.
* @see #getDescription()
* @generated
*/
void setDescription(DescriptionType value);
/**
* Returns the value of the '<em><b>Query Method</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Query Method</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>Query Method</em>' containment reference.
* @see #setQueryMethod(QueryMethodType)
* @see org.eclipse.modisco.jee.ejbjar.EjbJar20.EjbJar20Package#getQueryType_QueryMethod()
* @model containment="true" required="true"
* extendedMetaData="kind='element' name='query-method' namespace='##targetNamespace'"
* @generated
*/
QueryMethodType getQueryMethod();
/**
* Sets the value of the '{@link org.eclipse.modisco.jee.ejbjar.EjbJar20.QueryType#getQueryMethod <em>Query Method</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Query Method</em>' containment reference.
* @see #getQueryMethod()
* @generated
*/
void setQueryMethod(QueryMethodType value);
/**
* Returns the value of the '<em><b>Result Type Mapping</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Result Type Mapping</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>Result Type Mapping</em>' containment reference.
* @see #setResultTypeMapping(ResultTypeMappingType)
* @see org.eclipse.modisco.jee.ejbjar.EjbJar20.EjbJar20Package#getQueryType_ResultTypeMapping()
* @model containment="true"
* extendedMetaData="kind='element' name='result-type-mapping' namespace='##targetNamespace'"
* @generated
*/
ResultTypeMappingType getResultTypeMapping();
/**
* Sets the value of the '{@link org.eclipse.modisco.jee.ejbjar.EjbJar20.QueryType#getResultTypeMapping <em>Result Type Mapping</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Result Type Mapping</em>' containment reference.
* @see #getResultTypeMapping()
* @generated
*/
void setResultTypeMapping(ResultTypeMappingType value);
/**
* Returns the value of the '<em><b>Ejb Ql</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Ejb Ql</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 Ql</em>' containment reference.
* @see #setEjbQl(EjbQlType)
* @see org.eclipse.modisco.jee.ejbjar.EjbJar20.EjbJar20Package#getQueryType_EjbQl()
* @model containment="true" required="true"
* extendedMetaData="kind='element' name='ejb-ql' namespace='##targetNamespace'"
* @generated
*/
EjbQlType getEjbQl();
/**
* Sets the value of the '{@link org.eclipse.modisco.jee.ejbjar.EjbJar20.QueryType#getEjbQl <em>Ejb Ql</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Ejb Ql</em>' containment reference.
* @see #getEjbQl()
* @generated
*/
void setEjbQl(EjbQlType 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.EjbJar20.EjbJar20Package#getQueryType_Id()
* @model id="true" dataType="org.eclipse.emf.ecore.xml.type.ID"
* extendedMetaData="kind='attribute' name='id' namespace='##targetNamespace'"
* @generated
*/
String getId();
/**
* Sets the value of the '{@link org.eclipse.modisco.jee.ejbjar.EjbJar20.QueryType#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);
} // QueryType