blob: 8f50a578d18b3fd296b6d2e5e0a92a1235a2ec52 [file] [log] [blame]
/**
* Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (69115 Heidelberg, Germany)
* 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
*
* Based on ideas from Xtext, Xtend, Xcore
*
* Contributors:
* Christophe Loetz (Loetz GmbH&Co.KG) - Initial implementation
*
*/
package org.eclipse.osbp.xtext.entitymock;
import org.eclipse.emf.common.util.EList;
import org.eclipse.osbp.dsl.semantic.entity.LEntity;
import org.eclipse.osbp.dsl.semantic.entity.LEntityAttribute;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Entity Mock Entity</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link org.eclipse.osbp.xtext.entitymock.EntityMockEntity#getName <em>Name</em>}</li>
* <li>{@link org.eclipse.osbp.xtext.entitymock.EntityMockEntity#getEntityRef <em>Entity Ref</em>}</li>
* <li>{@link org.eclipse.osbp.xtext.entitymock.EntityMockEntity#getMinRows <em>Min Rows</em>}</li>
* <li>{@link org.eclipse.osbp.xtext.entitymock.EntityMockEntity#getMaxRows <em>Max Rows</em>}</li>
* <li>{@link org.eclipse.osbp.xtext.entitymock.EntityMockEntity#getIterate <em>Iterate</em>}</li>
* <li>{@link org.eclipse.osbp.xtext.entitymock.EntityMockEntity#getIterator <em>Iterator</em>}</li>
* <li>{@link org.eclipse.osbp.xtext.entitymock.EntityMockEntity#getTemplates <em>Templates</em>}</li>
* <li>{@link org.eclipse.osbp.xtext.entitymock.EntityMockEntity#getAttributes <em>Attributes</em>}</li>
* <li>{@link org.eclipse.osbp.xtext.entitymock.EntityMockEntity#getCalculations <em>Calculations</em>}</li>
* <li>{@link org.eclipse.osbp.xtext.entitymock.EntityMockEntity#getByResource <em>By Resource</em>}</li>
* <li>{@link org.eclipse.osbp.xtext.entitymock.EntityMockEntity#getByResourceAttributes <em>By Resource Attributes</em>}</li>
* <li>{@link org.eclipse.osbp.xtext.entitymock.EntityMockEntity#isCreateBlobMapping <em>Create Blob Mapping</em>}</li>
* </ul>
*
* @see org.eclipse.osbp.xtext.entitymock.EntityMockDSLPackage#getEntityMockEntity()
* @model
* @generated
*/
public interface EntityMockEntity extends EntityMockLazyResolver {
/**
* Returns the value of the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Name</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Name</em>' attribute.
* @see #setName(String)
* @see org.eclipse.osbp.xtext.entitymock.EntityMockDSLPackage#getEntityMockEntity_Name()
* @model unique="false"
* @generated
*/
String getName();
/**
* Sets the value of the '{@link org.eclipse.osbp.xtext.entitymock.EntityMockEntity#getName <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Name</em>' attribute.
* @see #getName()
* @generated
*/
void setName(String value);
/**
* Returns the value of the '<em><b>Entity Ref</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Entity Ref</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Entity Ref</em>' reference.
* @see #setEntityRef(LEntity)
* @see org.eclipse.osbp.xtext.entitymock.EntityMockDSLPackage#getEntityMockEntity_EntityRef()
* @model
* @generated
*/
LEntity getEntityRef();
/**
* Sets the value of the '{@link org.eclipse.osbp.xtext.entitymock.EntityMockEntity#getEntityRef <em>Entity Ref</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Entity Ref</em>' reference.
* @see #getEntityRef()
* @generated
*/
void setEntityRef(LEntity value);
/**
* Returns the value of the '<em><b>Min Rows</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Min Rows</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Min Rows</em>' attribute.
* @see #setMinRows(int)
* @see org.eclipse.osbp.xtext.entitymock.EntityMockDSLPackage#getEntityMockEntity_MinRows()
* @model unique="false"
* @generated
*/
int getMinRows();
/**
* Sets the value of the '{@link org.eclipse.osbp.xtext.entitymock.EntityMockEntity#getMinRows <em>Min Rows</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Min Rows</em>' attribute.
* @see #getMinRows()
* @generated
*/
void setMinRows(int value);
/**
* Returns the value of the '<em><b>Max Rows</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Max Rows</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Max Rows</em>' attribute.
* @see #setMaxRows(int)
* @see org.eclipse.osbp.xtext.entitymock.EntityMockDSLPackage#getEntityMockEntity_MaxRows()
* @model unique="false"
* @generated
*/
int getMaxRows();
/**
* Sets the value of the '{@link org.eclipse.osbp.xtext.entitymock.EntityMockEntity#getMaxRows <em>Max Rows</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Max Rows</em>' attribute.
* @see #getMaxRows()
* @generated
*/
void setMaxRows(int value);
/**
* Returns the value of the '<em><b>Iterate</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Iterate</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>Iterate</em>' containment reference.
* @see #setIterate(IIterate)
* @see org.eclipse.osbp.xtext.entitymock.EntityMockDSLPackage#getEntityMockEntity_Iterate()
* @model containment="true"
* @generated
*/
IIterate getIterate();
/**
* Sets the value of the '{@link org.eclipse.osbp.xtext.entitymock.EntityMockEntity#getIterate <em>Iterate</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Iterate</em>' containment reference.
* @see #getIterate()
* @generated
*/
void setIterate(IIterate value);
/**
* Returns the value of the '<em><b>Iterator</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Iterator</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Iterator</em>' reference.
* @see #setIterator(LEntityAttribute)
* @see org.eclipse.osbp.xtext.entitymock.EntityMockDSLPackage#getEntityMockEntity_Iterator()
* @model
* @generated
*/
LEntityAttribute getIterator();
/**
* Sets the value of the '{@link org.eclipse.osbp.xtext.entitymock.EntityMockEntity#getIterator <em>Iterator</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Iterator</em>' reference.
* @see #getIterator()
* @generated
*/
void setIterator(LEntityAttribute value);
/**
* Returns the value of the '<em><b>Templates</b></em>' containment reference list.
* The list contents are of type {@link org.eclipse.osbp.xtext.entitymock.EntityMockTemplate}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Templates</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>Templates</em>' containment reference list.
* @see org.eclipse.osbp.xtext.entitymock.EntityMockDSLPackage#getEntityMockEntity_Templates()
* @model containment="true"
* @generated
*/
EList<EntityMockTemplate> getTemplates();
/**
* Returns the value of the '<em><b>Attributes</b></em>' containment reference list.
* The list contents are of type {@link org.eclipse.osbp.xtext.entitymock.IEntityMockAttribute}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Attributes</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>Attributes</em>' containment reference list.
* @see org.eclipse.osbp.xtext.entitymock.EntityMockDSLPackage#getEntityMockEntity_Attributes()
* @model containment="true"
* @generated
*/
EList<IEntityMockAttribute> getAttributes();
/**
* Returns the value of the '<em><b>Calculations</b></em>' containment reference list.
* The list contents are of type {@link org.eclipse.osbp.xtext.entitymock.EntityMockEntityFunction}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Calculations</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>Calculations</em>' containment reference list.
* @see org.eclipse.osbp.xtext.entitymock.EntityMockDSLPackage#getEntityMockEntity_Calculations()
* @model containment="true"
* @generated
*/
EList<EntityMockEntityFunction> getCalculations();
/**
* Returns the value of the '<em><b>By Resource</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>By Resource</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>By Resource</em>' reference.
* @see #setByResource(EntityMockResource)
* @see org.eclipse.osbp.xtext.entitymock.EntityMockDSLPackage#getEntityMockEntity_ByResource()
* @model
* @generated
*/
EntityMockResource getByResource();
/**
* Sets the value of the '{@link org.eclipse.osbp.xtext.entitymock.EntityMockEntity#getByResource <em>By Resource</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>By Resource</em>' reference.
* @see #getByResource()
* @generated
*/
void setByResource(EntityMockResource value);
/**
* Returns the value of the '<em><b>By Resource Attributes</b></em>' containment reference list.
* The list contents are of type {@link org.eclipse.osbp.xtext.entitymock.EntityMockByResourceAttribute}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>By Resource Attributes</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>By Resource Attributes</em>' containment reference list.
* @see org.eclipse.osbp.xtext.entitymock.EntityMockDSLPackage#getEntityMockEntity_ByResourceAttributes()
* @model containment="true"
* @generated
*/
EList<EntityMockByResourceAttribute> getByResourceAttributes();
/**
* Returns the value of the '<em><b>Create Blob Mapping</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Create Blob Mapping</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Create Blob Mapping</em>' attribute.
* @see #setCreateBlobMapping(boolean)
* @see org.eclipse.osbp.xtext.entitymock.EntityMockDSLPackage#getEntityMockEntity_CreateBlobMapping()
* @model unique="false"
* @generated
*/
boolean isCreateBlobMapping();
/**
* Sets the value of the '{@link org.eclipse.osbp.xtext.entitymock.EntityMockEntity#isCreateBlobMapping <em>Create Blob Mapping</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Create Blob Mapping</em>' attribute.
* @see #isCreateBlobMapping()
* @generated
*/
void setCreateBlobMapping(boolean value);
} // EntityMockEntity