Mentions légales du service

Skip to content
Snippets Groups Projects
Commit d2cc4473 authored by EL MOUSSAWI Ali Hassan's avatar EL MOUSSAWI Ali Hassan
Browse files

Initial commit: disabled Operation Reflection in all models

parents
No related branches found
No related tags found
No related merge requests found
Showing
with 938 additions and 0 deletions
# eclipse build output and temp dirs
bin/
.metadata
.settings
# maven build output dir
target/
# gitlab-runner local build dir
builds/
# Locally stored "Eclipse launch configurations"
*.launch
# Xtend temp files
*.xtendbin
*._trace
# Tom temp files
*.tfix.parsed.table
# vi backup files
.*.swp
# gecos script log files
*.cs.glog
variables:
# include git submodule (only at top-level)
# to include all submodules recursively use 'recursive'
GIT_SUBMODULE_STRATEGY: normal
# shell environment variable to specify timezone (necessary for Maven)
TZ: "UTC-2"
# Maven options
# use '/cache/.m2/repository" as local maven repository.
# '/cache' is automatically added as volume for docker executors
# to use another cachedir it need to be added to the docker
# executor's 'volumes' parameter (in config.toml)
MAVEN_OPTS: "-Dmaven.repo.local=/cache/.m2/repository -Xmx3072m"
# Uncomment to enable debug traces
# !!! WARNING !!!
# This will expose secret variables !
#CI_DEBUG_TRACE: "true"
# Update site (p2 repository) base URL
UPSITE_URL: "http://gecos.gforge.inria.fr/updatesite/gecos"
# Update site artifacts storage dir (local)
UPSITE_ARTIFACTS_DIR: "artifacts__updatesite"
# default docker image. can be overriden per job.
image: maven:3-jdk-8
# Trigger build on Jenkins and wait for it to finish
# then, if successful, dowload its artifacts
# !!! secret variables 'JENKINS_USER' and 'JENKINS_TOKEN' must be defined
.jenkins_build: &jenkins_build
before_script:
- gecos-buildtools/scripts/build_on_jenkins.sh "${JENKINS_USER}" "${JENKINS_TOKEN}" "${CI_PROJECT_NAME}"
"${CI_COMMIT_SHA}" "${CI_COMMIT_REF_NAME}" "${UPSITE_ARTIFACTS_DIR}"
build:
<<: *jenkins_build
stage: build
script:
- ls ${UPSITE_ARTIFACTS_DIR}
artifacts:
paths:
- "${UPSITE_ARTIFACTS_DIR}"
# Install ssh, run ssh agent and add gecos ci bot key in 'before_script'.
# Make sure it is running using a docker executor.
# !!! WARNING !!!
# The gecos-bot-ci private ssh key is stored in a gitlab secret varibale, however
# its value is passed as an environment variable to the build environment
# i.e. it might be plainly visible in the build console output!
# !!! DO NOT give public access to pipelines (in Project Settings -> General) !!!
.init_ssh: &init_ssh
before_script:
- 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )'
- eval $(ssh-agent -s)
- mkdir -p ~/.ssh
- echo "${CI_BOT_SSH_PRIVATE_KEY}" > ~/.ssh/id_rsa
- chmod 600 ~/.ssh/id_rsa
- ssh-add ~/.ssh/id_rsa
# - '[[ -f /.dockerenv ]] && echo "${GFORGE_SSH_SERVER_HOSTKEYS}" > ~/.ssh/known_hosts'
- '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
- git config --global user.email "gecos-ci-bot@users.gforge.inria.fr"
- git config --global user.name "gecos-ci-bot"
# Perform deploy to ${UPSITE_SSH_HOSTNAME} using ssh in 'script'
# Require variables:
# - ENVIRONMENT_NAME: used to specify special actions per environment..
# Supported values are: "testing", "release" and "snapshot".
# !!! This is different from predefined ${CI_ENVIRONMENT_NAME}.
.deploy: &deploy
<<: *init_ssh
stage: deploy
# allow artifacts from 'build' job to be downloaded at the begining of 'deploy' job
dependencies:
- build
script:
# locate update site zip (archived by 'build' job)
# fail if not found
- UPSITE_ARTIFACT="`find "${UPSITE_ARTIFACTS_DIR}" -maxdepth 1 -name "*.zip" | head -1`"
- gecos-buildtools/scripts/deploy.sh "${UPSITE_ARTIFACT}" "${ENVIRONMENT_NAME}"
"${CI_COMMIT_SHA}" "${CI_COMMIT_REF_NAME}" "${CI_PROJECT_NAME}"
# Create environment:
# Currently using user variables are not supported for name and url in 'environment'
# This is a workarround using Gitlab API
# - apt-get install curl
# - export timestamp=`echo "${localArtifactFile}" | sed "s/^.*-\([0-9]*\).zip$/\1/"`
# - deployName="${ENVIRONMENT_NAME}/${timestamp}"
# - deployUrl="${UPSITE_URL}/$(echo ${CI_PROJECT_NAME} | sed 's/^gecos-//')/${deployName}"
# - 'echo "[INFO] Creating environment: name=${deployName} external_url=${deployUrl}"'
# - 'curl -s --data "name=${deployName}&external_url=${deployUrl}" --header "PRIVATE-TOKEN: ${CI_JOB_TOKEN}" "https://gitlab.inria.fr/api/v4/projects/${CI_PROJECT_ID}/environments"'
# Deploy to testing updatesite (manually)
# triggered from the GUI for every commit (no restrictions)
deploy:testing:
<<: *deploy
variables:
ENVIRONMENT_NAME: "testing"
when: manual
environment:
# !!! ${timestamp} cannot be used here (not properly expanded)
# only predefined varibales can be currently used
name: "testing" #"testing/${timestamp}"
# such variable expansion is currently not supported
url: "${UPSITE_URL}/$(echo ${CI_PROJECT_NAME} | sed 's/^gecos-//')/testing" #"${UPSITE_URL}/testing/${timestamp}"
# Deploy to snapshot updatesite (manually)
# triggered from the GUI for every commit to 'develop'
deploy:snapshot:
<<: *deploy
variables:
ENVIRONMENT_NAME: "snapshot"
environment:
name: "snapshot" #"snapshot/${timestamp}"
url: "${UPSITE_URL}/$(echo ${CI_PROJECT_NAME} | sed 's/^gecos-//')/snapshot" #"${UPSITE_URL}/snapshot/${timestamp}"
when: manual
only:
- develop
# Deploy to release updatesite (manually)
# triggered from the GUI only for 'tags' to 'master'
deploy:release:
<<: *deploy
variables:
ENVIRONMENT_NAME: "release"
environment:
name: "release/${CI_COMMIT_TAG}"
url: "${UPSITE_URL}/$(echo ${CI_PROJECT_NAME} | sed 's/^gecos-//')/release/${CI_COMMIT_TAG}" #! ${CI_COMMIT_TAG} is only defined when building tags
when: manual
only:
- /^(v|V|ver|Ver|version|Version)?-?[0-9]+\.[0-9]+\.[0-9]+[[:print:]]*$/
except:
- branches
[submodule "gecos-buildtools"]
path = gecos-buildtools
url = ../gecos-buildtools.git
.mvn 0 → 120000
gecos-buildtools/.mvn/
\ No newline at end of file
.project 0 → 100644
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>gecos-float2fix</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.m2e.core.maven2Builder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.m2e.core.maven2Nature</nature>
</natures>
</projectDescription>
pipeline {
agent { label 'ubuntu64' }
options {
gitLabConnection('gitlab-inria')
// gitlabCommitStatus(name: 'jenkins')
}
stages {
stage('Build') {
tools {
maven 'Maven 3'
}
environment {
MAVEN_OPTS = "-Xmx3072m"
}
steps {
sh "mvn -B -e -fae -P release -DskipTests clean install dependency:go-offline"
archiveArtifacts artifacts: "releng/*.update/target/*.update-*.zip"
}
}
stage('Test') {
tools {
maven 'Maven 3'
}
environment {
MAVEN_OPTS = "-Xmx3072m"
}
steps {
sh "mvn -B -e -fae -o -Dmaven.test.failure.ignore=true integration-test"
junit allowEmptyResults: true, testResults: "**/target/surefire-reports/TEST-*.xml"
jacoco execPattern: 'tests/**/target/*.exec',
sourcePattern: 'bundles/**/src,bundles/**/src-gen,bundles/**/xtend-gen,bundles/**/xcore-gen',
classPattern: 'bundles/**/bin',
inclusionPattern: '**/*.class,**/*.java',
exclusionPattern: '**/lib/*'
}
}
}
}
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>gecos-float2fix_bundles</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.m2e.core.maven2Builder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.m2e.core.maven2Nature</nature>
</natures>
</projectDescription>
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="src" path="src"/>
<classpathentry kind="output" path="bin"/>
</classpath>
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>fr.irisa.cairn.float2fix.model.affectationValueBySimulation</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.ManifestBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.SchemaBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.m2e.core.maven2Builder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.m2e.core.maven2Nature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.pde.PluginNature</nature>
</natures>
</projectDescription>
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-SymbolicName: fr.irisa.cairn.float2fix.model.affectationValueBySimulation;singleton:=true
Bundle-Version: 1.0.0.qualifier
Bundle-ClassPath: .
Bundle-Vendor: IRISA/INRIA
Bundle-Localization: plugin
Bundle-RequiredExecutionEnvironment: JavaSE-1.7
Export-Package: affectationValueBySimulation,
affectationValueBySimulation.impl,
affectationValueBySimulation.util
Require-Bundle: org.eclipse.emf.ecore;visibility:=reexport
Bundle-ActivationPolicy: lazy
# <copyright>
# </copyright>
#
# $Id$
bin.includes = .,\
model/,\
META-INF/,\
plugin.xml,\
plugin.properties,\
src/
jars.compile.order = .
source.. = src/
output.. = bin/
<?xml version="1.0" encoding="UTF-8"?>
<ecore:EPackage xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="affectationValueBySimulation" nsURI="fr.irisa.cairn.float2fix.model.affectationValueBySimulation"
nsPrefix="fr.irisa.cairn.float2fix.model.affectationValueBySimulation">
<eClassifiers xsi:type="ecore:EClass" name="ValuesList">
<eStructuralFeatures xsi:type="ecore:EReference" name="affectationList" ordered="false"
upperBound="-1" eType="#//AffectationValues" containment="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="variableList" upperBound="-1"
eType="#//VariableValues" containment="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="AffectationValues">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="affectationNumber" lowerBound="1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt" defaultValueLiteral="-1"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="values" unique="false"
upperBound="-1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"
defaultValueLiteral="0.0"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="VariableValues">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="numDataCDFG" lowerBound="1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="index" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="values" unique="false"
upperBound="-1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
</eClassifiers>
</ecore:EPackage>
<?xml version="1.0" encoding="UTF-8"?>
<genmodel:GenModel xmi:version="2.0"
xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" modelDirectory="/fr.irisa.cairn.float2fix.model.affectationValueBySimulation/src"
modelPluginID="fr.irisa.cairn.float2fix.model.affectationValueBySimulation" modelName="AffectationValueBySimulation"
importerID="org.eclipse.emf.importer.ecore" complianceLevel="6.0" copyrightFields="false">
<foreignModel>affectationValueBySimulation.ecore</foreignModel>
<genPackages prefix="AffectationValueBySimulation" disposableProviderFactory="true"
ecorePackage="affectationValueBySimulation.ecore#/">
<genClasses ecoreClass="affectationValueBySimulation.ecore#//AffectationList">
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference affectationValueBySimulation.ecore#//AffectationList/affectationList"/>
</genClasses>
<genClasses ecoreClass="affectationValueBySimulation.ecore#//AffectationValues">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute affectationValueBySimulation.ecore#//AffectationValues/affectationNumber"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute affectationValueBySimulation.ecore#//AffectationValues/values"/>
</genClasses>
</genPackages>
</genmodel:GenModel>
# <copyright>
# </copyright>
#
# $Id$
pluginName = AffectationValueBySimulation Model
providerName = www.example.org
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<!--
<copyright>
</copyright>
$Id$
-->
<plugin>
<extension point="org.eclipse.emf.ecore.generated_package">
<package
uri="fr.irisa.cairn.float2fix.model.affectationValueBySimulation"
class="affectationValueBySimulation.AffectationValueBySimulationPackage"
genModel="model/affectationValueBySimulation.genmodel"/>
</extension>
</plugin>
/**
* <copyright>
* </copyright>
*
* $Id$
*/
package affectationValueBySimulation;
import org.eclipse.emf.ecore.EFactory;
/**
* <!-- begin-user-doc -->
* The <b>Factory</b> for the model.
* It provides a create method for each non-abstract class of the model.
* <!-- end-user-doc -->
* @see affectationValueBySimulation.AffectationValueBySimulationPackage
* @generated
*/
public interface AffectationValueBySimulationFactory extends EFactory {
/**
* The singleton instance of the factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
AffectationValueBySimulationFactory eINSTANCE = affectationValueBySimulation.impl.AffectationValueBySimulationFactoryImpl.init();
/**
* Returns a new object of class '<em>Values List</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return a new object of class '<em>Values List</em>'.
* @generated
*/
ValuesList createValuesList();
/**
* Returns a new object of class '<em>Affectation Values</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return a new object of class '<em>Affectation Values</em>'.
* @generated
*/
AffectationValues createAffectationValues();
/**
* Returns a new object of class '<em>Variable Values</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return a new object of class '<em>Variable Values</em>'.
* @generated
*/
VariableValues createVariableValues();
/**
* Returns the package supported by this factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the package supported by this factory.
* @generated
*/
AffectationValueBySimulationPackage getAffectationValueBySimulationPackage();
} //AffectationValueBySimulationFactory
/**
* <copyright>
* </copyright>
*
* $Id$
*/
package affectationValueBySimulation;
import org.eclipse.emf.ecore.EAttribute;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.EReference;
/**
* <!-- begin-user-doc -->
* The <b>Package</b> for the model.
* It contains accessors for the meta objects to represent
* <ul>
* <li>each class,</li>
* <li>each feature of each class,</li>
* <li>each enum,</li>
* <li>and each data type</li>
* </ul>
* <!-- end-user-doc -->
* @see affectationValueBySimulation.AffectationValueBySimulationFactory
* @model kind="package"
* @generated
*/
public interface AffectationValueBySimulationPackage extends EPackage {
/**
* The package name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
String eNAME = "affectationValueBySimulation";
/**
* The package namespace URI.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
String eNS_URI = "fr.irisa.cairn.float2fix.model.affectationValueBySimulation";
/**
* The package namespace name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
String eNS_PREFIX = "fr.irisa.cairn.float2fix.model.affectationValueBySimulation";
/**
* The singleton instance of the package.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
AffectationValueBySimulationPackage eINSTANCE = affectationValueBySimulation.impl.AffectationValueBySimulationPackageImpl.init();
/**
* The meta object id for the '{@link affectationValueBySimulation.impl.ValuesListImpl <em>Values List</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see affectationValueBySimulation.impl.ValuesListImpl
* @see affectationValueBySimulation.impl.AffectationValueBySimulationPackageImpl#getValuesList()
* @generated
*/
int VALUES_LIST = 0;
/**
* The feature id for the '<em><b>Affectation List</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
int VALUES_LIST__AFFECTATION_LIST = 0;
/**
* The feature id for the '<em><b>Variable List</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
int VALUES_LIST__VARIABLE_LIST = 1;
/**
* The number of structural features of the '<em>Values List</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
int VALUES_LIST_FEATURE_COUNT = 2;
/**
* The meta object id for the '{@link affectationValueBySimulation.impl.AffectationValuesImpl <em>Affectation Values</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see affectationValueBySimulation.impl.AffectationValuesImpl
* @see affectationValueBySimulation.impl.AffectationValueBySimulationPackageImpl#getAffectationValues()
* @generated
*/
int AFFECTATION_VALUES = 1;
/**
* The feature id for the '<em><b>Affectation Number</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
int AFFECTATION_VALUES__AFFECTATION_NUMBER = 0;
/**
* The feature id for the '<em><b>Values</b></em>' attribute list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
int AFFECTATION_VALUES__VALUES = 1;
/**
* The number of structural features of the '<em>Affectation Values</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
int AFFECTATION_VALUES_FEATURE_COUNT = 2;
/**
* The meta object id for the '{@link affectationValueBySimulation.impl.VariableValuesImpl <em>Variable Values</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see affectationValueBySimulation.impl.VariableValuesImpl
* @see affectationValueBySimulation.impl.AffectationValueBySimulationPackageImpl#getVariableValues()
* @generated
*/
int VARIABLE_VALUES = 2;
/**
* The feature id for the '<em><b>Num Data CDFG</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
int VARIABLE_VALUES__NUM_DATA_CDFG = 0;
/**
* The feature id for the '<em><b>Index</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
int VARIABLE_VALUES__INDEX = 1;
/**
* The feature id for the '<em><b>Values</b></em>' attribute list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
int VARIABLE_VALUES__VALUES = 2;
/**
* The number of structural features of the '<em>Variable Values</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
int VARIABLE_VALUES_FEATURE_COUNT = 3;
/**
* Returns the meta object for class '{@link affectationValueBySimulation.ValuesList <em>Values List</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the meta object for class '<em>Values List</em>'.
* @see affectationValueBySimulation.ValuesList
* @generated
*/
EClass getValuesList();
/**
* Returns the meta object for the containment reference list '{@link affectationValueBySimulation.ValuesList#getAffectationList <em>Affectation List</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the meta object for the containment reference list '<em>Affectation List</em>'.
* @see affectationValueBySimulation.ValuesList#getAffectationList()
* @see #getValuesList()
* @generated
*/
EReference getValuesList_AffectationList();
/**
* Returns the meta object for the containment reference list '{@link affectationValueBySimulation.ValuesList#getVariableList <em>Variable List</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the meta object for the containment reference list '<em>Variable List</em>'.
* @see affectationValueBySimulation.ValuesList#getVariableList()
* @see #getValuesList()
* @generated
*/
EReference getValuesList_VariableList();
/**
* Returns the meta object for class '{@link affectationValueBySimulation.AffectationValues <em>Affectation Values</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the meta object for class '<em>Affectation Values</em>'.
* @see affectationValueBySimulation.AffectationValues
* @generated
*/
EClass getAffectationValues();
/**
* Returns the meta object for the attribute '{@link affectationValueBySimulation.AffectationValues#getAffectationNumber <em>Affectation Number</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the meta object for the attribute '<em>Affectation Number</em>'.
* @see affectationValueBySimulation.AffectationValues#getAffectationNumber()
* @see #getAffectationValues()
* @generated
*/
EAttribute getAffectationValues_AffectationNumber();
/**
* Returns the meta object for the attribute list '{@link affectationValueBySimulation.AffectationValues#getValues <em>Values</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the meta object for the attribute list '<em>Values</em>'.
* @see affectationValueBySimulation.AffectationValues#getValues()
* @see #getAffectationValues()
* @generated
*/
EAttribute getAffectationValues_Values();
/**
* Returns the meta object for class '{@link affectationValueBySimulation.VariableValues <em>Variable Values</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the meta object for class '<em>Variable Values</em>'.
* @see affectationValueBySimulation.VariableValues
* @generated
*/
EClass getVariableValues();
/**
* Returns the meta object for the attribute '{@link affectationValueBySimulation.VariableValues#getNumDataCDFG <em>Num Data CDFG</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the meta object for the attribute '<em>Num Data CDFG</em>'.
* @see affectationValueBySimulation.VariableValues#getNumDataCDFG()
* @see #getVariableValues()
* @generated
*/
EAttribute getVariableValues_NumDataCDFG();
/**
* Returns the meta object for the attribute '{@link affectationValueBySimulation.VariableValues#getIndex <em>Index</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the meta object for the attribute '<em>Index</em>'.
* @see affectationValueBySimulation.VariableValues#getIndex()
* @see #getVariableValues()
* @generated
*/
EAttribute getVariableValues_Index();
/**
* Returns the meta object for the attribute list '{@link affectationValueBySimulation.VariableValues#getValues <em>Values</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the meta object for the attribute list '<em>Values</em>'.
* @see affectationValueBySimulation.VariableValues#getValues()
* @see #getVariableValues()
* @generated
*/
EAttribute getVariableValues_Values();
/**
* Returns the factory that creates the instances of the model.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the factory that creates the instances of the model.
* @generated
*/
AffectationValueBySimulationFactory getAffectationValueBySimulationFactory();
/**
* <!-- begin-user-doc -->
* Defines literals for the meta objects that represent
* <ul>
* <li>each class,</li>
* <li>each feature of each class,</li>
* <li>each enum,</li>
* <li>and each data type</li>
* </ul>
* <!-- end-user-doc -->
* @generated
*/
interface Literals {
/**
* The meta object literal for the '{@link affectationValueBySimulation.impl.ValuesListImpl <em>Values List</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see affectationValueBySimulation.impl.ValuesListImpl
* @see affectationValueBySimulation.impl.AffectationValueBySimulationPackageImpl#getValuesList()
* @generated
*/
EClass VALUES_LIST = eINSTANCE.getValuesList();
/**
* The meta object literal for the '<em><b>Affectation List</b></em>' containment reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
EReference VALUES_LIST__AFFECTATION_LIST = eINSTANCE.getValuesList_AffectationList();
/**
* The meta object literal for the '<em><b>Variable List</b></em>' containment reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
EReference VALUES_LIST__VARIABLE_LIST = eINSTANCE.getValuesList_VariableList();
/**
* The meta object literal for the '{@link affectationValueBySimulation.impl.AffectationValuesImpl <em>Affectation Values</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see affectationValueBySimulation.impl.AffectationValuesImpl
* @see affectationValueBySimulation.impl.AffectationValueBySimulationPackageImpl#getAffectationValues()
* @generated
*/
EClass AFFECTATION_VALUES = eINSTANCE.getAffectationValues();
/**
* The meta object literal for the '<em><b>Affectation Number</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
EAttribute AFFECTATION_VALUES__AFFECTATION_NUMBER = eINSTANCE.getAffectationValues_AffectationNumber();
/**
* The meta object literal for the '<em><b>Values</b></em>' attribute list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
EAttribute AFFECTATION_VALUES__VALUES = eINSTANCE.getAffectationValues_Values();
/**
* The meta object literal for the '{@link affectationValueBySimulation.impl.VariableValuesImpl <em>Variable Values</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see affectationValueBySimulation.impl.VariableValuesImpl
* @see affectationValueBySimulation.impl.AffectationValueBySimulationPackageImpl#getVariableValues()
* @generated
*/
EClass VARIABLE_VALUES = eINSTANCE.getVariableValues();
/**
* The meta object literal for the '<em><b>Num Data CDFG</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
EAttribute VARIABLE_VALUES__NUM_DATA_CDFG = eINSTANCE.getVariableValues_NumDataCDFG();
/**
* The meta object literal for the '<em><b>Index</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
EAttribute VARIABLE_VALUES__INDEX = eINSTANCE.getVariableValues_Index();
/**
* The meta object literal for the '<em><b>Values</b></em>' attribute list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
EAttribute VARIABLE_VALUES__VALUES = eINSTANCE.getVariableValues_Values();
}
} //AffectationValueBySimulationPackage
/**
* <copyright>
* </copyright>
*
* $Id$
*/
package affectationValueBySimulation;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Affectation Values</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link affectationValueBySimulation.AffectationValues#getAffectationNumber <em>Affectation Number</em>}</li>
* <li>{@link affectationValueBySimulation.AffectationValues#getValues <em>Values</em>}</li>
* </ul>
* </p>
*
* @see affectationValueBySimulation.AffectationValueBySimulationPackage#getAffectationValues()
* @model
* @generated
*/
public interface AffectationValues extends EObject {
/**
* Returns the value of the '<em><b>Affectation Number</b></em>' attribute.
* The default value is <code>"-1"</code>.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Affectation Number</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Affectation Number</em>' attribute.
* @see #setAffectationNumber(int)
* @see affectationValueBySimulation.AffectationValueBySimulationPackage#getAffectationValues_AffectationNumber()
* @model default="-1" required="true"
* @generated
*/
int getAffectationNumber();
/**
* Sets the value of the '{@link affectationValueBySimulation.AffectationValues#getAffectationNumber <em>Affectation Number</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Affectation Number</em>' attribute.
* @see #getAffectationNumber()
* @generated
*/
void setAffectationNumber(int value);
/**
* Returns the value of the '<em><b>Values</b></em>' attribute list.
* The list contents are of type {@link java.lang.Double}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Values</em>' attribute list isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Values</em>' attribute list.
* @see affectationValueBySimulation.AffectationValueBySimulationPackage#getAffectationValues_Values()
* @model default="0.0" unique="false"
* @generated
*/
EList<Double> getValues();
} // AffectationValues
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment