Skip to content
Snippets Groups Projects
Commit 81385646 authored by nullsub's avatar nullsub
Browse files

readd editpolicymodel from separate repo

parent 1428e81f
No related branches found
No related tags found
No related merge requests found
Showing
with 3794 additions and 0 deletions
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="output" path="bin"/>
</classpath>
/bin/
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>org.framed.iorm.editpolicymodel</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.xtext.ui.shared.xtextBuilder</name>
<arguments>
</arguments>
</buildCommand>
<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>
</buildSpec>
<natures>
<nature>org.eclipse.sirius.nature.modelingproject</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.pde.PluginNature</nature>
<nature>org.eclipse.xtext.ui.shared.xtextNature</nature>
</natures>
</projectDescription>
org.framed.iorm.editpolicymodel/EditpolicymodelDiagram.png

191 KiB

Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-SymbolicName: org.framed.iorm.editpolicymodel;singleton:=true
Bundle-Version: 0.1.0.qualifier
Bundle-ClassPath: .
Bundle-Vendor: %providerName
Bundle-Localization: plugin
Require-Bundle: org.eclipse.core.runtime,
org.eclipse.emf.ecore;visibility:=reexport,
org.eclipse.emf.codegen.ecore,
org.framed.iorm.model;bundle-version="1.0.0";visibility:=reexport,
org.framed.iorm.featuremodel;bundle-version="1.0.0"
Bundle-ActivationPolicy: lazy
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
Export-Package: Editpolicymodel;
uses:="org.eclipse.emf.ecore,
iorm,
iorm.featuremodel,
org.eclipse.emf.common.util",
Editpolicymodel.impl;
uses:="org.eclipse.emf.ecore,
org.eclipse.emf.ecore.impl,
iorm,
iorm.featuremodel,
org.eclipse.emf.common.util,
Editpolicymodel,
org.eclipse.emf.common.notify",
Editpolicymodel.util;
uses:="org.eclipse.emf.ecore,
Editpolicymodel,
org.eclipse.emf.common.notify,
org.eclipse.emf.common.notify.impl,
org.eclipse.emf.ecore.util"
Import-Package: org.framed.iorm.model
#
bin.includes = .,\
model/,\
META-INF/,\
plugin.xml,\
plugin.properties
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="Editpolicymodel" nsURI="http://framed/editpolicymodel" nsPrefix="Editpolicymodel">
<eClassifiers xsi:type="ecore:EClass" name="Model">
<eStructuralFeatures xsi:type="ecore:EReference" name="policies" upperBound="-1"
eType="#//Policy" containment="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Policy">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="override" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBooleanObject"
defaultValueLiteral="false"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="action" eType="#//ActionEnum"
defaultValueLiteral="Create"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="actionType" lowerBound="1"
eType="#//TypeEnum"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="featureRule" eType="#//FeatureRule"
containment="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="constraintRule" eType="#//ConstraintRule"
containment="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="ContainsCompartment" eSuperTypes="#//ConstraintRule"/>
<eClassifiers xsi:type="ecore:EClass" name="IsTarget" eSuperTypes="#//TypeArgumentRule"/>
<eClassifiers xsi:type="ecore:EClass" name="IsParent" eSuperTypes="#//TypeArgumentRule"/>
<eClassifiers xsi:type="ecore:EEnum" name="ActionEnum">
<eLiterals name="Create"/>
<eLiterals name="Add" value="1"/>
<eLiterals name="Start" value="2"/>
<eLiterals name="Reconnect" value="3"/>
<eLiterals name="Execute" value="4"/>
<eLiterals name="Direct_Edit" value="5"/>
<eLiterals name="Create_Property" value="6"/>
<eLiterals name="Create_Attribute" value="7"/>
<eLiterals name="Add_Property" value="9"/>
<eLiterals name="Create_Operation" value="10"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="FeatureRule" abstract="true"/>
<eClassifiers xsi:type="ecore:EClass" name="IsFeature" eSuperTypes="#//FeatureRule">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="featureName" lowerBound="1"
eType="#//FeatureNameEnum"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="ConstraintRule" abstract="true"/>
<eClassifiers xsi:type="ecore:EClass" name="IsTargetType" eSuperTypes="#//TypeArgumentRule"/>
<eClassifiers xsi:type="ecore:EClass" name="UnaryConstraintRule" abstract="true"
eSuperTypes="#//LogicalConstraintRule">
<eStructuralFeatures xsi:type="ecore:EReference" name="rule" lowerBound="1" eType="#//ConstraintRule"
containment="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="NotConstraintRule" eSuperTypes="#//UnaryConstraintRule"/>
<eClassifiers xsi:type="ecore:EClass" name="AndConstraintRule" eSuperTypes="#//NaryConstraintRule"/>
<eClassifiers xsi:type="ecore:EClass" name="BinaryConstraintRule" abstract="true"
eSuperTypes="#//LogicalConstraintRule">
<eStructuralFeatures xsi:type="ecore:EReference" name="leftRule" lowerBound="1"
eType="#//ConstraintRule" containment="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="rightRule" lowerBound="1"
eType="#//ConstraintRule" containment="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="TrueConstraintRule" eSuperTypes="#//LogicalConstraintRule"/>
<eClassifiers xsi:type="ecore:EClass" name="FalseConstraintRule" eSuperTypes="#//LogicalConstraintRule"/>
<eClassifiers xsi:type="ecore:EClass" name="OrConstraintRule" eSuperTypes="#//NaryConstraintRule"/>
<eClassifiers xsi:type="ecore:EClass" name="ImplicationConstraintRule" eSuperTypes="#//BinaryConstraintRule"/>
<eClassifiers xsi:type="ecore:EClass" name="IsSourceType" eSuperTypes="#//TypeArgumentRule"/>
<eClassifiers xsi:type="ecore:EClass" name="TypeArgumentRule" abstract="true" eSuperTypes="#//ConstraintRule">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="type" eType="#//TypeEnum"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="NaryConstraintRule" abstract="true"
eSuperTypes="#//LogicalConstraintRule">
<eStructuralFeatures xsi:type="ecore:EReference" name="rules" lowerBound="1" upperBound="-1"
eType="#//ConstraintRule" containment="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="LogicalConstraintRule" eSuperTypes="#//ConstraintRule"/>
<eClassifiers xsi:type="ecore:EClass" name="TrueFeatureRule" eSuperTypes="#//LogicalFeatureRule"/>
<eClassifiers xsi:type="ecore:EClass" name="NotFeatureRule" eSuperTypes="#//UnaryFeatureRule"/>
<eClassifiers xsi:type="ecore:EClass" name="FalseFeatureRule" eSuperTypes="#//LogicalFeatureRule"/>
<eClassifiers xsi:type="ecore:EClass" name="NaryFeatureRule" abstract="true" eSuperTypes="#//LogicalFeatureRule">
<eStructuralFeatures xsi:type="ecore:EReference" name="rules" upperBound="-1"
eType="#//FeatureRule" containment="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="BinaryFeatureRule" abstract="true" eSuperTypes="#//LogicalFeatureRule">
<eStructuralFeatures xsi:type="ecore:EReference" name="rightRule" lowerBound="1"
eType="#//FeatureRule" containment="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="leftRule" lowerBound="1"
eType="#//FeatureRule" containment="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="LogicalFeatureRule" eSuperTypes="#//FeatureRule"/>
<eClassifiers xsi:type="ecore:EClass" name="ImplicationFeatureRule" eSuperTypes="#//BinaryFeatureRule"/>
<eClassifiers xsi:type="ecore:EClass" name="UnaryFeatureRule" abstract="true" eSuperTypes="#//LogicalFeatureRule">
<eStructuralFeatures xsi:type="ecore:EReference" name="rule" lowerBound="1" eType="#//FeatureRule"
containment="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="OrFeatureRule" eSuperTypes="#//NaryFeatureRule"/>
<eClassifiers xsi:type="ecore:EClass" name="AndFeatureRule" eSuperTypes="#//NaryFeatureRule"/>
<eClassifiers xsi:type="ecore:EEnum" name="TypeEnum">
<eLiterals name="Acyclic"/>
<eLiterals name="CompartmentType" value="1"/>
<eLiterals name="Irreflexive" value="2"/>
<eLiterals name="RoleProhibition" value="3" literal="RoleProhibition"/>
<eLiterals name="RoleImplication" value="4" literal="RoleImplication"/>
<eLiterals name="RoleGroup" value="5"/>
<eLiterals name="RoleEquivalence" value="6"/>
<eLiterals name="RoleType" value="7"/>
<eLiterals name="RelationshipImplication" value="8"/>
<eLiterals name="RelationshipExclusion" value="9"/>
<eLiterals name="Relationship" value="10"/>
<eLiterals name="Reflexive" value="11"/>
<eLiterals name="Group" value="12"/>
<eLiterals name="Inheritance" value="13"/>
<eLiterals name="Fulfillment" value="14"/>
<eLiterals name="DataType" value="15"/>
<eLiterals name="Cyclic" value="16"/>
<eLiterals name="NaturalType" value="17"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EEnum" name="FeatureNameEnum">
<eLiterals name="Roles"/>
<eLiterals name="Role_Types" value="1"/>
<eLiterals name="Role_Structure" value="2" literal="Role_Structure"/>
<eLiterals name="Role_Properties" value="3"/>
<eLiterals name="Role_Prohibition" value="4"/>
<eLiterals name="Role_Inheritance" value="5"/>
<eLiterals name="Role_Implication" value="6"/>
<eLiterals name="Role_Equivalence" value="7"/>
<eLiterals name="Role_Constraints" value="8"/>
<eLiterals name="Role_Behavior" value="9"/>
<eLiterals name="RML_Feature_Model" value="10"/>
<eLiterals name="Relationships" value="11"/>
<eLiterals name="Relationship_Constraints" value="12"/>
<eLiterals name="Relationship_Cardinality" value="13"/>
<eLiterals name="Players" value="14"/>
<eLiterals name="Playable_by_Defining_Compartment" value="15"/>
<eLiterals name="Playable" value="16"/>
<eLiterals name="Parthood_Constraints" value="17"/>
<eLiterals name="On_Relationships" value="18"/>
<eLiterals name="On_Compartments" value="19"/>
<eLiterals name="Occurrence_Constraints" value="20"/>
<eLiterals name="Naturals" value="21"/>
<eLiterals name="Intra_Relationship_Constraints" value="22"/>
<eLiterals name="Inter_Relationship_Constraints" value="23"/>
<eLiterals name="Group_Constraints" value="24"/>
<eLiterals name="Dependent" value="25"/>
<eLiterals name="Dates" value="26"/>
<eLiterals name="Data_Types" value="27"/>
<eLiterals name="Compartments" value="28"/>
<eLiterals name="Contains_Compartments" value="29"/>
<eLiterals name="Compartment_Types" value="30"/>
<eLiterals name="Compartment_Structure" value="31"/>
<eLiterals name="Compartment_Properties" value="32"/>
<eLiterals name="Compartment_Inheritance" value="33" literal="Compartment_Inheritance"/>
<eLiterals name="Compartment_Behavior" value="34"/>
<eLiterals name="Participants" value="35"/>
<eLiterals name="Data_Type_Inheritance" value="36"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="SourceEqualsTarget" eSuperTypes="#//ConstraintRule"/>
<eClassifiers xsi:type="ecore:EClass" name="SourceEqualsTargetType" eSuperTypes="#//ConstraintRule"/>
<eClassifiers xsi:type="ecore:EClass" name="InCompartment" eSuperTypes="#//ConstraintRule"/>
</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="/org.framed.iorm.editpolicymodel/src" modelPluginID="org.framed.iorm.editpolicymodel"
modelName="Editpolicymodel" rootExtendsClass="org.eclipse.emf.ecore.impl.MinimalEObjectImpl$Container"
importerID="org.eclipse.emf.importer.ecore" complianceLevel="8.0" copyrightFields="false"
usedGenPackages="../../org.framed.iorm.model/model/IORM.genmodel#//iorm" operationReflection="true"
importOrganizing="true">
<foreignModel>editpolicymodel.ecore</foreignModel>
<genPackages prefix="Editpolicymodel" disposableProviderFactory="true" ecorePackage="editpolicymodel.ecore#/">
<genEnums typeSafeEnumCompatible="false" ecoreEnum="editpolicymodel.ecore#//ActionEnum">
<genEnumLiterals ecoreEnumLiteral="editpolicymodel.ecore#//ActionEnum/Create"/>
<genEnumLiterals ecoreEnumLiteral="editpolicymodel.ecore#//ActionEnum/Add"/>
<genEnumLiterals ecoreEnumLiteral="editpolicymodel.ecore#//ActionEnum/Start"/>
<genEnumLiterals ecoreEnumLiteral="editpolicymodel.ecore#//ActionEnum/Reconnect"/>
</genEnums>
<genClasses ecoreClass="editpolicymodel.ecore#//Model">
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference editpolicymodel.ecore#//Model/policies"/>
</genClasses>
<genClasses ecoreClass="editpolicymodel.ecore#//Policy">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute editpolicymodel.ecore#//Policy/override"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute editpolicymodel.ecore#//Policy/action"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute editpolicymodel.ecore#//Policy/ActionType"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference editpolicymodel.ecore#//Policy/featureRule"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference editpolicymodel.ecore#//Policy/constraintRule"/>
</genClasses>
<genClasses ecoreClass="editpolicymodel.ecore#//Contains"/>
<genClasses ecoreClass="editpolicymodel.ecore#//IsStepIn"/>
<genClasses ecoreClass="editpolicymodel.ecore#//IsTarget"/>
<genClasses ecoreClass="editpolicymodel.ecore#//IsSource"/>
<genClasses ecoreClass="editpolicymodel.ecore#//IsParent"/>
<genClasses ecoreClass="editpolicymodel.ecore#//AbstractRule">
<genTypeParameters ecoreTypeParameter="editpolicymodel.ecore#//AbstractRule/T"/>
</genClasses>
<genClasses image="false" ecoreClass="editpolicymodel.ecore#//Rule">
<genTypeParameters ecoreTypeParameter="editpolicymodel.ecore#//Rule/T"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference editpolicymodel.ecore#//Rule/rule"/>
</genClasses>
<genClasses image="false" ecoreClass="editpolicymodel.ecore#//FeatureRule"/>
<genClasses ecoreClass="editpolicymodel.ecore#//IsFeature">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute editpolicymodel.ecore#//IsFeature/name"/>
</genClasses>
<genClasses image="false" ecoreClass="editpolicymodel.ecore#//ConstraintRule"/>
<genClasses ecoreClass="editpolicymodel.ecore#//IsTargetType"/>
<genClasses ecoreClass="editpolicymodel.ecore#//UnaryRule">
<genTypeParameters ecoreTypeParameter="editpolicymodel.ecore#//UnaryRule/T"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference editpolicymodel.ecore#//UnaryRule/rule"/>
</genClasses>
<genClasses ecoreClass="editpolicymodel.ecore#//NotRule"/>
<genClasses ecoreClass="editpolicymodel.ecore#//AndRule"/>
<genClasses ecoreClass="editpolicymodel.ecore#//BinaryRule">
<genTypeParameters ecoreTypeParameter="editpolicymodel.ecore#//BinaryRule/T"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference editpolicymodel.ecore#//BinaryRule/rightRule"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference editpolicymodel.ecore#//BinaryRule/leftRule"/>
</genClasses>
<genClasses ecoreClass="editpolicymodel.ecore#//TrueRule"/>
<genClasses ecoreClass="editpolicymodel.ecore#//FalseRule"/>
<genClasses ecoreClass="editpolicymodel.ecore#//OrRule"/>
<genClasses ecoreClass="editpolicymodel.ecore#//ImplicationRule"/>
<genClasses ecoreClass="editpolicymodel.ecore#//IsSourceType"/>
<genClasses image="false" ecoreClass="editpolicymodel.ecore#//TypeArgumentRule">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute editpolicymodel.ecore#//TypeArgumentRule/type"/>
</genClasses>
<genClasses image="false" ecoreClass="editpolicymodel.ecore#//NaryRule">
<genTypeParameters ecoreTypeParameter="editpolicymodel.ecore#//NaryRule/T"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference editpolicymodel.ecore#//NaryRule/rules"/>
</genClasses>
</genPackages>
</genmodel:GenModel>
Source diff could not be displayed: it is too large. Options to address this: view the blob.
<?xml version="1.0" encoding="ASCII"?>
<Editpolicymodel:Model xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:Editpolicymodel="http://framed/editpolicymodel">
</Editpolicymodel:Model>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<Editpolicymodel:Model
xmi:version="2.0"
xmlns:xmi="http://www.omg.org/XMI"
xmlns:Editpolicymodel="http://framed/editpolicymodel">
<policies/>
</Editpolicymodel:Model>
#
pluginName = Editpolicymodel Model
providerName = framed
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<!--
-->
<plugin>
<extension point="org.eclipse.emf.ecore.generated_package">
<!-- @generated editpolicymodel -->
<package
uri="http://framed/editpolicymodel"
class="Editpolicymodel.EditpolicymodelPackage"
genModel="model/editpolicymodel.genmodel"/>
</extension>
</plugin>
/**
*/
package Editpolicymodel;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import org.eclipse.emf.common.util.Enumerator;
/**
* <!-- begin-user-doc -->
* A representation of the literals of the enumeration '<em><b>Action Enum</b></em>',
* and utility methods for working with them.
* <!-- end-user-doc -->
* @see Editpolicymodel.EditpolicymodelPackage#getActionEnum()
* @model
* @generated
*/
public enum ActionEnum implements Enumerator {
/**
* The '<em><b>Create</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #CREATE_VALUE
* @generated
* @ordered
*/
CREATE(0, "Create", "Create"),
/**
* The '<em><b>Add</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #ADD_VALUE
* @generated
* @ordered
*/
ADD(1, "Add", "Add"),
/**
* The '<em><b>Start</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #START_VALUE
* @generated
* @ordered
*/
START(2, "Start", "Start"),
/**
* The '<em><b>Reconnect</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #RECONNECT_VALUE
* @generated
* @ordered
*/
RECONNECT(3, "Reconnect", "Reconnect"),
/**
* The '<em><b>Execute</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #EXECUTE_VALUE
* @generated
* @ordered
*/
EXECUTE(4, "Execute", "Execute"),
/**
* The '<em><b>Direct Edit</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #DIRECT_EDIT_VALUE
* @generated
* @ordered
*/
DIRECT_EDIT(5, "Direct_Edit", "Direct_Edit"),
/**
* The '<em><b>Create Property</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #CREATE_PROPERTY_VALUE
* @generated
* @ordered
*/
CREATE_PROPERTY(6, "Create_Property", "Create_Property"),
/**
* The '<em><b>Create Attribute</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #CREATE_ATTRIBUTE_VALUE
* @generated
* @ordered
*/
CREATE_ATTRIBUTE(7, "Create_Attribute", "Create_Attribute"),
/**
* The '<em><b>Add Property</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #ADD_PROPERTY_VALUE
* @generated
* @ordered
*/
ADD_PROPERTY(9, "Add_Property", "Add_Property"),
/**
* The '<em><b>Create Operation</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #CREATE_OPERATION_VALUE
* @generated
* @ordered
*/
CREATE_OPERATION(10, "Create_Operation", "Create_Operation");
/**
* The '<em><b>Create</b></em>' literal value.
* <!-- begin-user-doc -->
* <p>
* If the meaning of '<em><b>Create</b></em>' literal object isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @see #CREATE
* @model name="Create"
* @generated
* @ordered
*/
public static final int CREATE_VALUE = 0;
/**
* The '<em><b>Add</b></em>' literal value.
* <!-- begin-user-doc -->
* <p>
* If the meaning of '<em><b>Add</b></em>' literal object isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @see #ADD
* @model name="Add"
* @generated
* @ordered
*/
public static final int ADD_VALUE = 1;
/**
* The '<em><b>Start</b></em>' literal value.
* <!-- begin-user-doc -->
* <p>
* If the meaning of '<em><b>Start</b></em>' literal object isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @see #START
* @model name="Start"
* @generated
* @ordered
*/
public static final int START_VALUE = 2;
/**
* The '<em><b>Reconnect</b></em>' literal value.
* <!-- begin-user-doc -->
* <p>
* If the meaning of '<em><b>Reconnect</b></em>' literal object isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @see #RECONNECT
* @model name="Reconnect"
* @generated
* @ordered
*/
public static final int RECONNECT_VALUE = 3;
/**
* The '<em><b>Execute</b></em>' literal value.
* <!-- begin-user-doc -->
* <p>
* If the meaning of '<em><b>Execute</b></em>' literal object isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @see #EXECUTE
* @model name="Execute"
* @generated
* @ordered
*/
public static final int EXECUTE_VALUE = 4;
/**
* The '<em><b>Direct Edit</b></em>' literal value.
* <!-- begin-user-doc -->
* <p>
* If the meaning of '<em><b>Direct Edit</b></em>' literal object isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @see #DIRECT_EDIT
* @model name="Direct_Edit"
* @generated
* @ordered
*/
public static final int DIRECT_EDIT_VALUE = 5;
/**
* The '<em><b>Create Property</b></em>' literal value.
* <!-- begin-user-doc -->
* <p>
* If the meaning of '<em><b>Create Property</b></em>' literal object isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @see #CREATE_PROPERTY
* @model name="Create_Property"
* @generated
* @ordered
*/
public static final int CREATE_PROPERTY_VALUE = 6;
/**
* The '<em><b>Create Attribute</b></em>' literal value.
* <!-- begin-user-doc -->
* <p>
* If the meaning of '<em><b>Create Attribute</b></em>' literal object isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @see #CREATE_ATTRIBUTE
* @model name="Create_Attribute"
* @generated
* @ordered
*/
public static final int CREATE_ATTRIBUTE_VALUE = 7;
/**
* The '<em><b>Add Property</b></em>' literal value.
* <!-- begin-user-doc -->
* <p>
* If the meaning of '<em><b>Add Property</b></em>' literal object isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @see #ADD_PROPERTY
* @model name="Add_Property"
* @generated
* @ordered
*/
public static final int ADD_PROPERTY_VALUE = 9;
/**
* The '<em><b>Create Operation</b></em>' literal value.
* <!-- begin-user-doc -->
* <p>
* If the meaning of '<em><b>Create Operation</b></em>' literal object isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @see #CREATE_OPERATION
* @model name="Create_Operation"
* @generated
* @ordered
*/
public static final int CREATE_OPERATION_VALUE = 10;
/**
* An array of all the '<em><b>Action Enum</b></em>' enumerators.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
private static final ActionEnum[] VALUES_ARRAY =
new ActionEnum[] {
CREATE,
ADD,
START,
RECONNECT,
EXECUTE,
DIRECT_EDIT,
CREATE_PROPERTY,
CREATE_ATTRIBUTE,
ADD_PROPERTY,
CREATE_OPERATION,
};
/**
* A public read-only list of all the '<em><b>Action Enum</b></em>' enumerators.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public static final List<ActionEnum> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
/**
* Returns the '<em><b>Action Enum</b></em>' literal with the specified literal value.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param literal the literal.
* @return the matching enumerator or <code>null</code>.
* @generated
*/
public static ActionEnum get(String literal) {
for (int i = 0; i < VALUES_ARRAY.length; ++i) {
ActionEnum result = VALUES_ARRAY[i];
if (result.toString().equals(literal)) {
return result;
}
}
return null;
}
/**
* Returns the '<em><b>Action Enum</b></em>' literal with the specified name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param name the name.
* @return the matching enumerator or <code>null</code>.
* @generated
*/
public static ActionEnum getByName(String name) {
for (int i = 0; i < VALUES_ARRAY.length; ++i) {
ActionEnum result = VALUES_ARRAY[i];
if (result.getName().equals(name)) {
return result;
}
}
return null;
}
/**
* Returns the '<em><b>Action Enum</b></em>' literal with the specified integer value.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the integer value.
* @return the matching enumerator or <code>null</code>.
* @generated
*/
public static ActionEnum get(int value) {
switch (value) {
case CREATE_VALUE: return CREATE;
case ADD_VALUE: return ADD;
case START_VALUE: return START;
case RECONNECT_VALUE: return RECONNECT;
case EXECUTE_VALUE: return EXECUTE;
case DIRECT_EDIT_VALUE: return DIRECT_EDIT;
case CREATE_PROPERTY_VALUE: return CREATE_PROPERTY;
case CREATE_ATTRIBUTE_VALUE: return CREATE_ATTRIBUTE;
case ADD_PROPERTY_VALUE: return ADD_PROPERTY;
case CREATE_OPERATION_VALUE: return CREATE_OPERATION;
}
return null;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
private final int value;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
private final String name;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
private final String literal;
/**
* Only this class can construct instances.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
private ActionEnum(int value, String name, String literal) {
this.value = value;
this.name = name;
this.literal = literal;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public int getValue() {
return value;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public String getName() {
return name;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public String getLiteral() {
return literal;
}
/**
* Returns the literal value of the enumerator, which is its string representation.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public String toString() {
return literal;
}
} //ActionEnum
/**
*/
package Editpolicymodel;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>And Constraint Rule</b></em>'.
* <!-- end-user-doc -->
*
*
* @see Editpolicymodel.EditpolicymodelPackage#getAndConstraintRule()
* @model
* @generated
*/
public interface AndConstraintRule extends NaryConstraintRule {
} // AndConstraintRule
/**
*/
package Editpolicymodel;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>And Feature Rule</b></em>'.
* <!-- end-user-doc -->
*
*
* @see Editpolicymodel.EditpolicymodelPackage#getAndFeatureRule()
* @model
* @generated
*/
public interface AndFeatureRule extends NaryFeatureRule {
} // AndFeatureRule
/**
*/
package Editpolicymodel;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Binary Constraint Rule</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link Editpolicymodel.BinaryConstraintRule#getLeftRule <em>Left Rule</em>}</li>
* <li>{@link Editpolicymodel.BinaryConstraintRule#getRightRule <em>Right Rule</em>}</li>
* </ul>
*
* @see Editpolicymodel.EditpolicymodelPackage#getBinaryConstraintRule()
* @model abstract="true"
* @generated
*/
public interface BinaryConstraintRule extends LogicalConstraintRule {
/**
* Returns the value of the '<em><b>Left Rule</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Left Rule</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>Left Rule</em>' containment reference.
* @see #setLeftRule(ConstraintRule)
* @see Editpolicymodel.EditpolicymodelPackage#getBinaryConstraintRule_LeftRule()
* @model containment="true" required="true"
* @generated
*/
ConstraintRule getLeftRule();
/**
* Sets the value of the '{@link Editpolicymodel.BinaryConstraintRule#getLeftRule <em>Left Rule</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Left Rule</em>' containment reference.
* @see #getLeftRule()
* @generated
*/
void setLeftRule(ConstraintRule value);
/**
* Returns the value of the '<em><b>Right Rule</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Right Rule</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>Right Rule</em>' containment reference.
* @see #setRightRule(ConstraintRule)
* @see Editpolicymodel.EditpolicymodelPackage#getBinaryConstraintRule_RightRule()
* @model containment="true" required="true"
* @generated
*/
ConstraintRule getRightRule();
/**
* Sets the value of the '{@link Editpolicymodel.BinaryConstraintRule#getRightRule <em>Right Rule</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Right Rule</em>' containment reference.
* @see #getRightRule()
* @generated
*/
void setRightRule(ConstraintRule value);
} // BinaryConstraintRule
/**
*/
package Editpolicymodel;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Binary Feature Rule</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link Editpolicymodel.BinaryFeatureRule#getRightRule <em>Right Rule</em>}</li>
* <li>{@link Editpolicymodel.BinaryFeatureRule#getLeftRule <em>Left Rule</em>}</li>
* </ul>
*
* @see Editpolicymodel.EditpolicymodelPackage#getBinaryFeatureRule()
* @model abstract="true"
* @generated
*/
public interface BinaryFeatureRule extends LogicalFeatureRule {
/**
* Returns the value of the '<em><b>Right Rule</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Right Rule</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>Right Rule</em>' containment reference.
* @see #setRightRule(FeatureRule)
* @see Editpolicymodel.EditpolicymodelPackage#getBinaryFeatureRule_RightRule()
* @model containment="true" required="true"
* @generated
*/
FeatureRule getRightRule();
/**
* Sets the value of the '{@link Editpolicymodel.BinaryFeatureRule#getRightRule <em>Right Rule</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Right Rule</em>' containment reference.
* @see #getRightRule()
* @generated
*/
void setRightRule(FeatureRule value);
/**
* Returns the value of the '<em><b>Left Rule</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Left Rule</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>Left Rule</em>' containment reference.
* @see #setLeftRule(FeatureRule)
* @see Editpolicymodel.EditpolicymodelPackage#getBinaryFeatureRule_LeftRule()
* @model containment="true" required="true"
* @generated
*/
FeatureRule getLeftRule();
/**
* Sets the value of the '{@link Editpolicymodel.BinaryFeatureRule#getLeftRule <em>Left Rule</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Left Rule</em>' containment reference.
* @see #getLeftRule()
* @generated
*/
void setLeftRule(FeatureRule value);
} // BinaryFeatureRule
/**
*/
package Editpolicymodel;
import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Constraint Rule</b></em>'.
* <!-- end-user-doc -->
*
*
* @see Editpolicymodel.EditpolicymodelPackage#getConstraintRule()
* @model abstract="true"
* @generated
*/
public interface ConstraintRule extends EObject {
} // ConstraintRule
/**
*/
package Editpolicymodel;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Contains Compartment</b></em>'.
* <!-- end-user-doc -->
*
*
* @see Editpolicymodel.EditpolicymodelPackage#getContainsCompartment()
* @model
* @generated
*/
public interface ContainsCompartment extends ConstraintRule {
} // ContainsCompartment
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment