mirror of
https://github.com/eMoflon/emoflon-ibex.git
synced 2024-05-20 20:00:41 +00:00
Removes src-gen code + adds it to the gitignores
This commit is contained in:
parent
f8bc671015
commit
6014ba67fa
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -36,3 +36,6 @@ org.emoflon.ibex.tgg.tests/ClassInheritanceHierarchy/xtend-gen/org/benchmarx/cla
|
|||
*.xtendbin
|
||||
*.orig
|
||||
**.class
|
||||
|
||||
src-gen/
|
||||
|
||||
|
|
2
org.emoflon.ibex.gt.statemodel/.gitignore
vendored
2
org.emoflon.ibex.gt.statemodel/.gitignore
vendored
|
@ -1 +1,3 @@
|
|||
/bin/
|
||||
/src-gen/
|
||||
|
||||
|
|
|
@ -1,61 +0,0 @@
|
|||
/**
|
||||
*/
|
||||
package org.emoflon.ibex.gt.StateModel;
|
||||
|
||||
import org.eclipse.emf.common.util.EList;
|
||||
|
||||
import org.eclipse.emf.ecore.EObject;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* A representation of the model object '<em><b>All Matches</b></em>'.
|
||||
* <!-- end-user-doc -->
|
||||
*
|
||||
* <p>
|
||||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.emoflon.ibex.gt.StateModel.AllMatches#getPatternName <em>Pattern Name</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.gt.StateModel.AllMatches#getAllMatchesForPattern <em>All Matches For Pattern</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @see org.emoflon.ibex.gt.StateModel.StateModelPackage#getAllMatches()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
public interface AllMatches extends EObject {
|
||||
/**
|
||||
* Returns the value of the '<em><b>Pattern Name</b></em>' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Pattern Name</em>' attribute.
|
||||
* @see #setPatternName(String)
|
||||
* @see org.emoflon.ibex.gt.StateModel.StateModelPackage#getAllMatches_PatternName()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
String getPatternName();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.emoflon.ibex.gt.StateModel.AllMatches#getPatternName <em>Pattern Name</em>}' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Pattern Name</em>' attribute.
|
||||
* @see #getPatternName()
|
||||
* @generated
|
||||
*/
|
||||
void setPatternName(String value);
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>All Matches For Pattern</b></em>' containment reference list.
|
||||
* The list contents are of type {@link org.emoflon.ibex.gt.StateModel.IBeXMatch}.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>All Matches For Pattern</em>' containment reference list.
|
||||
* @see org.emoflon.ibex.gt.StateModel.StateModelPackage#getAllMatches_AllMatchesForPattern()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
||||
EList<IBeXMatch> getAllMatchesForPattern();
|
||||
|
||||
} // AllMatches
|
|
@ -1,116 +0,0 @@
|
|||
/**
|
||||
*/
|
||||
package org.emoflon.ibex.gt.StateModel;
|
||||
|
||||
import org.eclipse.emf.ecore.EAttribute;
|
||||
import org.eclipse.emf.ecore.EObject;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* A representation of the model object '<em><b>Attribute Delta</b></em>'.
|
||||
* <!-- end-user-doc -->
|
||||
*
|
||||
* <p>
|
||||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.emoflon.ibex.gt.StateModel.AttributeDelta#getAttribute <em>Attribute</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.gt.StateModel.AttributeDelta#getObject <em>Object</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.gt.StateModel.AttributeDelta#getOldValue <em>Old Value</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.gt.StateModel.AttributeDelta#getNewValue <em>New Value</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @see org.emoflon.ibex.gt.StateModel.StateModelPackage#getAttributeDelta()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
public interface AttributeDelta extends EObject {
|
||||
/**
|
||||
* Returns the value of the '<em><b>Attribute</b></em>' reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Attribute</em>' reference.
|
||||
* @see #setAttribute(EAttribute)
|
||||
* @see org.emoflon.ibex.gt.StateModel.StateModelPackage#getAttributeDelta_Attribute()
|
||||
* @model required="true"
|
||||
* @generated
|
||||
*/
|
||||
EAttribute getAttribute();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.emoflon.ibex.gt.StateModel.AttributeDelta#getAttribute <em>Attribute</em>}' reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Attribute</em>' reference.
|
||||
* @see #getAttribute()
|
||||
* @generated
|
||||
*/
|
||||
void setAttribute(EAttribute value);
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Object</b></em>' reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Object</em>' reference.
|
||||
* @see #setObject(EObject)
|
||||
* @see org.emoflon.ibex.gt.StateModel.StateModelPackage#getAttributeDelta_Object()
|
||||
* @model required="true"
|
||||
* @generated
|
||||
*/
|
||||
EObject getObject();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.emoflon.ibex.gt.StateModel.AttributeDelta#getObject <em>Object</em>}' reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Object</em>' reference.
|
||||
* @see #getObject()
|
||||
* @generated
|
||||
*/
|
||||
void setObject(EObject value);
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Old Value</b></em>' containment reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Old Value</em>' containment reference.
|
||||
* @see #setOldValue(Value)
|
||||
* @see org.emoflon.ibex.gt.StateModel.StateModelPackage#getAttributeDelta_OldValue()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
||||
Value getOldValue();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.emoflon.ibex.gt.StateModel.AttributeDelta#getOldValue <em>Old Value</em>}' containment reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Old Value</em>' containment reference.
|
||||
* @see #getOldValue()
|
||||
* @generated
|
||||
*/
|
||||
void setOldValue(Value value);
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>New Value</b></em>' containment reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>New Value</em>' containment reference.
|
||||
* @see #setNewValue(Value)
|
||||
* @see org.emoflon.ibex.gt.StateModel.StateModelPackage#getAttributeDelta_NewValue()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
||||
Value getNewValue();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.emoflon.ibex.gt.StateModel.AttributeDelta#getNewValue <em>New Value</em>}' containment reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>New Value</em>' containment reference.
|
||||
* @see #getNewValue()
|
||||
* @generated
|
||||
*/
|
||||
void setNewValue(Value value);
|
||||
|
||||
} // AttributeDelta
|
|
@ -1,47 +0,0 @@
|
|||
/**
|
||||
*/
|
||||
package org.emoflon.ibex.gt.StateModel;
|
||||
|
||||
import org.eclipse.emf.ecore.EObject;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* A representation of the model object '<em><b>Complex Parameter</b></em>'.
|
||||
* <!-- end-user-doc -->
|
||||
*
|
||||
* <p>
|
||||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.emoflon.ibex.gt.StateModel.ComplexParameter#getValue <em>Value</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @see org.emoflon.ibex.gt.StateModel.StateModelPackage#getComplexParameter()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
public interface ComplexParameter extends Parameter {
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Value</b></em>' reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Value</em>' reference.
|
||||
* @see #setValue(EObject)
|
||||
* @see org.emoflon.ibex.gt.StateModel.StateModelPackage#getComplexParameter_Value()
|
||||
* @model required="true"
|
||||
* @generated
|
||||
*/
|
||||
EObject getValue();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.emoflon.ibex.gt.StateModel.ComplexParameter#getValue <em>Value</em>}' reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Value</em>' reference.
|
||||
* @see #getValue()
|
||||
* @generated
|
||||
*/
|
||||
void setValue(EObject value);
|
||||
|
||||
} // ComplexParameter
|
|
@ -1,62 +0,0 @@
|
|||
/**
|
||||
*/
|
||||
package org.emoflon.ibex.gt.StateModel;
|
||||
|
||||
import org.eclipse.emf.common.util.EList;
|
||||
|
||||
import org.eclipse.emf.ecore.EObject;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* A representation of the model object '<em><b>IBe XMatch</b></em>'.
|
||||
* <!-- end-user-doc -->
|
||||
*
|
||||
* <p>
|
||||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.emoflon.ibex.gt.StateModel.IBeXMatch#getPatternName <em>Pattern Name</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.gt.StateModel.IBeXMatch#getParameters <em>Parameters</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @see org.emoflon.ibex.gt.StateModel.StateModelPackage#getIBeXMatch()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
public interface IBeXMatch extends EObject {
|
||||
/**
|
||||
* Returns the value of the '<em><b>Pattern Name</b></em>' attribute.
|
||||
* The default value is <code>""</code>.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Pattern Name</em>' attribute.
|
||||
* @see #setPatternName(String)
|
||||
* @see org.emoflon.ibex.gt.StateModel.StateModelPackage#getIBeXMatch_PatternName()
|
||||
* @model default="" ordered="false"
|
||||
* @generated
|
||||
*/
|
||||
String getPatternName();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.emoflon.ibex.gt.StateModel.IBeXMatch#getPatternName <em>Pattern Name</em>}' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Pattern Name</em>' attribute.
|
||||
* @see #getPatternName()
|
||||
* @generated
|
||||
*/
|
||||
void setPatternName(String value);
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Parameters</b></em>' containment reference list.
|
||||
* The list contents are of type {@link org.emoflon.ibex.gt.StateModel.Parameter}.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Parameters</em>' containment reference list.
|
||||
* @see org.emoflon.ibex.gt.StateModel.StateModelPackage#getIBeXMatch_Parameters()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
||||
EList<Parameter> getParameters();
|
||||
|
||||
} // IBeXMatch
|
|
@ -1,93 +0,0 @@
|
|||
/**
|
||||
*/
|
||||
package org.emoflon.ibex.gt.StateModel;
|
||||
|
||||
import org.eclipse.emf.ecore.EObject;
|
||||
import org.eclipse.emf.ecore.EReference;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* A representation of the model object '<em><b>Link</b></em>'.
|
||||
* <!-- end-user-doc -->
|
||||
*
|
||||
* <p>
|
||||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.emoflon.ibex.gt.StateModel.Link#getType <em>Type</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.gt.StateModel.Link#getSrc <em>Src</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.gt.StateModel.Link#getTrg <em>Trg</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @see org.emoflon.ibex.gt.StateModel.StateModelPackage#getLink()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
public interface Link extends EObject {
|
||||
/**
|
||||
* Returns the value of the '<em><b>Type</b></em>' reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Type</em>' reference.
|
||||
* @see #setType(EReference)
|
||||
* @see org.emoflon.ibex.gt.StateModel.StateModelPackage#getLink_Type()
|
||||
* @model required="true"
|
||||
* @generated
|
||||
*/
|
||||
EReference getType();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.emoflon.ibex.gt.StateModel.Link#getType <em>Type</em>}' reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Type</em>' reference.
|
||||
* @see #getType()
|
||||
* @generated
|
||||
*/
|
||||
void setType(EReference value);
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Src</b></em>' reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Src</em>' reference.
|
||||
* @see #setSrc(EObject)
|
||||
* @see org.emoflon.ibex.gt.StateModel.StateModelPackage#getLink_Src()
|
||||
* @model required="true"
|
||||
* @generated
|
||||
*/
|
||||
EObject getSrc();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.emoflon.ibex.gt.StateModel.Link#getSrc <em>Src</em>}' reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Src</em>' reference.
|
||||
* @see #getSrc()
|
||||
* @generated
|
||||
*/
|
||||
void setSrc(EObject value);
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Trg</b></em>' reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Trg</em>' reference.
|
||||
* @see #setTrg(EObject)
|
||||
* @see org.emoflon.ibex.gt.StateModel.StateModelPackage#getLink_Trg()
|
||||
* @model required="true"
|
||||
* @generated
|
||||
*/
|
||||
EObject getTrg();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.emoflon.ibex.gt.StateModel.Link#getTrg <em>Trg</em>}' reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Trg</em>' reference.
|
||||
* @see #getTrg()
|
||||
* @generated
|
||||
*/
|
||||
void setTrg(EObject value);
|
||||
|
||||
} // Link
|
|
@ -1,61 +0,0 @@
|
|||
/**
|
||||
*/
|
||||
package org.emoflon.ibex.gt.StateModel;
|
||||
|
||||
import org.eclipse.emf.common.util.EList;
|
||||
|
||||
import org.eclipse.emf.ecore.EObject;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* A representation of the model object '<em><b>Match Delta</b></em>'.
|
||||
* <!-- end-user-doc -->
|
||||
*
|
||||
* <p>
|
||||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.emoflon.ibex.gt.StateModel.MatchDelta#getPatternName <em>Pattern Name</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.gt.StateModel.MatchDelta#getMatchDeltasForPattern <em>Match Deltas For Pattern</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @see org.emoflon.ibex.gt.StateModel.StateModelPackage#getMatchDelta()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
public interface MatchDelta extends EObject {
|
||||
/**
|
||||
* Returns the value of the '<em><b>Pattern Name</b></em>' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Pattern Name</em>' attribute.
|
||||
* @see #setPatternName(String)
|
||||
* @see org.emoflon.ibex.gt.StateModel.StateModelPackage#getMatchDelta_PatternName()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
String getPatternName();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.emoflon.ibex.gt.StateModel.MatchDelta#getPatternName <em>Pattern Name</em>}' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Pattern Name</em>' attribute.
|
||||
* @see #getPatternName()
|
||||
* @generated
|
||||
*/
|
||||
void setPatternName(String value);
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Match Deltas For Pattern</b></em>' containment reference list.
|
||||
* The list contents are of type {@link org.emoflon.ibex.gt.StateModel.IBeXMatch}.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Match Deltas For Pattern</em>' containment reference list.
|
||||
* @see org.emoflon.ibex.gt.StateModel.StateModelPackage#getMatchDelta_MatchDeltasForPattern()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
||||
EList<IBeXMatch> getMatchDeltasForPattern();
|
||||
|
||||
} // MatchDelta
|
|
@ -1,46 +0,0 @@
|
|||
/**
|
||||
*/
|
||||
package org.emoflon.ibex.gt.StateModel;
|
||||
|
||||
import org.eclipse.emf.ecore.EObject;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* A representation of the model object '<em><b>Parameter</b></em>'.
|
||||
* <!-- end-user-doc -->
|
||||
*
|
||||
* <p>
|
||||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.emoflon.ibex.gt.StateModel.Parameter#getName <em>Name</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @see org.emoflon.ibex.gt.StateModel.StateModelPackage#getParameter()
|
||||
* @model abstract="true"
|
||||
* @generated
|
||||
*/
|
||||
public interface Parameter extends EObject {
|
||||
/**
|
||||
* Returns the value of the '<em><b>Name</b></em>' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Name</em>' attribute.
|
||||
* @see #setName(String)
|
||||
* @see org.emoflon.ibex.gt.StateModel.StateModelPackage#getParameter_Name()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
String getName();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.emoflon.ibex.gt.StateModel.Parameter#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);
|
||||
|
||||
} // Parameter
|
|
@ -1,215 +0,0 @@
|
|||
/**
|
||||
*/
|
||||
package org.emoflon.ibex.gt.StateModel;
|
||||
|
||||
import org.eclipse.emf.common.util.EList;
|
||||
|
||||
import org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXRule;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* A representation of the model object '<em><b>Rule State</b></em>'.
|
||||
* <!-- end-user-doc -->
|
||||
*
|
||||
* <p>
|
||||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.emoflon.ibex.gt.StateModel.RuleState#getParent <em>Parent</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.gt.StateModel.RuleState#getRule <em>Rule</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.gt.StateModel.RuleState#getStructuralDelta <em>Structural Delta</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.gt.StateModel.RuleState#getAttributeDeltas <em>Attribute Deltas</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.gt.StateModel.RuleState#getMatch <em>Match</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.gt.StateModel.RuleState#getCoMatch <em>Co Match</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.gt.StateModel.RuleState#getParameters <em>Parameters</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.gt.StateModel.RuleState#getDeletedMatches <em>Deleted Matches</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.gt.StateModel.RuleState#getCreatedMatches <em>Created Matches</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.gt.StateModel.RuleState#getMatchCount <em>Match Count</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @see org.emoflon.ibex.gt.StateModel.StateModelPackage#getRuleState()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
public interface RuleState extends State {
|
||||
/**
|
||||
* Returns the value of the '<em><b>Parent</b></em>' reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Parent</em>' reference.
|
||||
* @see #setParent(State)
|
||||
* @see org.emoflon.ibex.gt.StateModel.StateModelPackage#getRuleState_Parent()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
State getParent();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.emoflon.ibex.gt.StateModel.RuleState#getParent <em>Parent</em>}' reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Parent</em>' reference.
|
||||
* @see #getParent()
|
||||
* @generated
|
||||
*/
|
||||
void setParent(State value);
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Rule</b></em>' reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Rule</em>' reference.
|
||||
* @see #setRule(IBeXRule)
|
||||
* @see org.emoflon.ibex.gt.StateModel.StateModelPackage#getRuleState_Rule()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
IBeXRule getRule();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.emoflon.ibex.gt.StateModel.RuleState#getRule <em>Rule</em>}' reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Rule</em>' reference.
|
||||
* @see #getRule()
|
||||
* @generated
|
||||
*/
|
||||
void setRule(IBeXRule value);
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Structural Delta</b></em>' containment reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Structural Delta</em>' containment reference.
|
||||
* @see #setStructuralDelta(StructuralDelta)
|
||||
* @see org.emoflon.ibex.gt.StateModel.StateModelPackage#getRuleState_StructuralDelta()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
||||
StructuralDelta getStructuralDelta();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.emoflon.ibex.gt.StateModel.RuleState#getStructuralDelta <em>Structural Delta</em>}' containment reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Structural Delta</em>' containment reference.
|
||||
* @see #getStructuralDelta()
|
||||
* @generated
|
||||
*/
|
||||
void setStructuralDelta(StructuralDelta value);
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Attribute Deltas</b></em>' containment reference list.
|
||||
* The list contents are of type {@link org.emoflon.ibex.gt.StateModel.AttributeDelta}.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Attribute Deltas</em>' containment reference list.
|
||||
* @see org.emoflon.ibex.gt.StateModel.StateModelPackage#getRuleState_AttributeDeltas()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
||||
EList<AttributeDelta> getAttributeDeltas();
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Match</b></em>' containment reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Match</em>' containment reference.
|
||||
* @see #setMatch(IBeXMatch)
|
||||
* @see org.emoflon.ibex.gt.StateModel.StateModelPackage#getRuleState_Match()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
||||
IBeXMatch getMatch();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.emoflon.ibex.gt.StateModel.RuleState#getMatch <em>Match</em>}' containment reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Match</em>' containment reference.
|
||||
* @see #getMatch()
|
||||
* @generated
|
||||
*/
|
||||
void setMatch(IBeXMatch value);
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Co Match</b></em>' containment reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Co Match</em>' containment reference.
|
||||
* @see #setCoMatch(IBeXMatch)
|
||||
* @see org.emoflon.ibex.gt.StateModel.StateModelPackage#getRuleState_CoMatch()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
||||
IBeXMatch getCoMatch();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.emoflon.ibex.gt.StateModel.RuleState#getCoMatch <em>Co Match</em>}' containment reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Co Match</em>' containment reference.
|
||||
* @see #getCoMatch()
|
||||
* @generated
|
||||
*/
|
||||
void setCoMatch(IBeXMatch value);
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Parameters</b></em>' containment reference list.
|
||||
* The list contents are of type {@link org.emoflon.ibex.gt.StateModel.Parameter}.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Parameters</em>' containment reference list.
|
||||
* @see org.emoflon.ibex.gt.StateModel.StateModelPackage#getRuleState_Parameters()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
||||
EList<Parameter> getParameters();
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Deleted Matches</b></em>' containment reference list.
|
||||
* The list contents are of type {@link org.emoflon.ibex.gt.StateModel.MatchDelta}.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Deleted Matches</em>' containment reference list.
|
||||
* @see org.emoflon.ibex.gt.StateModel.StateModelPackage#getRuleState_DeletedMatches()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
||||
EList<MatchDelta> getDeletedMatches();
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Created Matches</b></em>' containment reference list.
|
||||
* The list contents are of type {@link org.emoflon.ibex.gt.StateModel.MatchDelta}.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Created Matches</em>' containment reference list.
|
||||
* @see org.emoflon.ibex.gt.StateModel.StateModelPackage#getRuleState_CreatedMatches()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
||||
EList<MatchDelta> getCreatedMatches();
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Match Count</b></em>' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Match Count</em>' attribute.
|
||||
* @see #setMatchCount(long)
|
||||
* @see org.emoflon.ibex.gt.StateModel.StateModelPackage#getRuleState_MatchCount()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
long getMatchCount();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.emoflon.ibex.gt.StateModel.RuleState#getMatchCount <em>Match Count</em>}' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Match Count</em>' attribute.
|
||||
* @see #getMatchCount()
|
||||
* @generated
|
||||
*/
|
||||
void setMatchCount(long value);
|
||||
|
||||
} // RuleState
|
|
@ -1,69 +0,0 @@
|
|||
/**
|
||||
*/
|
||||
package org.emoflon.ibex.gt.StateModel;
|
||||
|
||||
import org.eclipse.emf.ecore.EDataType;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* A representation of the model object '<em><b>Simple Parameter</b></em>'.
|
||||
* <!-- end-user-doc -->
|
||||
*
|
||||
* <p>
|
||||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.emoflon.ibex.gt.StateModel.SimpleParameter#getValue <em>Value</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.gt.StateModel.SimpleParameter#getType <em>Type</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @see org.emoflon.ibex.gt.StateModel.StateModelPackage#getSimpleParameter()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
public interface SimpleParameter extends Parameter {
|
||||
/**
|
||||
* Returns the value of the '<em><b>Value</b></em>' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Value</em>' attribute.
|
||||
* @see #setValue(String)
|
||||
* @see org.emoflon.ibex.gt.StateModel.StateModelPackage#getSimpleParameter_Value()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
String getValue();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.emoflon.ibex.gt.StateModel.SimpleParameter#getValue <em>Value</em>}' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Value</em>' attribute.
|
||||
* @see #getValue()
|
||||
* @generated
|
||||
*/
|
||||
void setValue(String value);
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Type</b></em>' reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Type</em>' reference.
|
||||
* @see #setType(EDataType)
|
||||
* @see org.emoflon.ibex.gt.StateModel.StateModelPackage#getSimpleParameter_Type()
|
||||
* @model required="true"
|
||||
* @generated
|
||||
*/
|
||||
EDataType getType();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.emoflon.ibex.gt.StateModel.SimpleParameter#getType <em>Type</em>}' reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Type</em>' reference.
|
||||
* @see #getType()
|
||||
* @generated
|
||||
*/
|
||||
void setType(EDataType value);
|
||||
|
||||
} // SimpleParameter
|
|
@ -1,107 +0,0 @@
|
|||
/**
|
||||
*/
|
||||
package org.emoflon.ibex.gt.StateModel;
|
||||
|
||||
import org.eclipse.emf.common.util.EList;
|
||||
|
||||
import org.eclipse.emf.ecore.EObject;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* A representation of the model object '<em><b>State</b></em>'.
|
||||
* <!-- end-user-doc -->
|
||||
*
|
||||
* <p>
|
||||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.emoflon.ibex.gt.StateModel.State#isInitial <em>Initial</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.gt.StateModel.State#getChildren <em>Children</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.gt.StateModel.State#getHash <em>Hash</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.gt.StateModel.State#getPushoutApproach <em>Pushout Approach</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @see org.emoflon.ibex.gt.StateModel.StateModelPackage#getState()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
public interface State extends EObject {
|
||||
/**
|
||||
* Returns the value of the '<em><b>Initial</b></em>' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Initial</em>' attribute.
|
||||
* @see #setInitial(boolean)
|
||||
* @see org.emoflon.ibex.gt.StateModel.StateModelPackage#getState_Initial()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
boolean isInitial();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.emoflon.ibex.gt.StateModel.State#isInitial <em>Initial</em>}' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Initial</em>' attribute.
|
||||
* @see #isInitial()
|
||||
* @generated
|
||||
*/
|
||||
void setInitial(boolean value);
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Children</b></em>' reference list.
|
||||
* The list contents are of type {@link org.emoflon.ibex.gt.StateModel.RuleState}.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Children</em>' reference list.
|
||||
* @see org.emoflon.ibex.gt.StateModel.StateModelPackage#getState_Children()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
EList<RuleState> getChildren();
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Hash</b></em>' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Hash</em>' attribute.
|
||||
* @see #setHash(long)
|
||||
* @see org.emoflon.ibex.gt.StateModel.StateModelPackage#getState_Hash()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
long getHash();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.emoflon.ibex.gt.StateModel.State#getHash <em>Hash</em>}' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Hash</em>' attribute.
|
||||
* @see #getHash()
|
||||
* @generated
|
||||
*/
|
||||
void setHash(long value);
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Pushout Approach</b></em>' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Pushout Approach</em>' attribute.
|
||||
* @see #setPushoutApproach(int)
|
||||
* @see org.emoflon.ibex.gt.StateModel.StateModelPackage#getState_PushoutApproach()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
int getPushoutApproach();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.emoflon.ibex.gt.StateModel.State#getPushoutApproach <em>Pushout Approach</em>}' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Pushout Approach</em>' attribute.
|
||||
* @see #getPushoutApproach()
|
||||
* @generated
|
||||
*/
|
||||
void setPushoutApproach(int value);
|
||||
|
||||
} // State
|
|
@ -1,74 +0,0 @@
|
|||
/**
|
||||
*/
|
||||
package org.emoflon.ibex.gt.StateModel;
|
||||
|
||||
import org.eclipse.emf.common.util.EList;
|
||||
|
||||
import org.eclipse.emf.ecore.EObject;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* A representation of the model object '<em><b>State Container</b></em>'.
|
||||
* <!-- end-user-doc -->
|
||||
*
|
||||
* <p>
|
||||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.emoflon.ibex.gt.StateModel.StateContainer#getStates <em>States</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.gt.StateModel.StateContainer#getInitialState <em>Initial State</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.gt.StateModel.StateContainer#getInitialMatches <em>Initial Matches</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @see org.emoflon.ibex.gt.StateModel.StateModelPackage#getStateContainer()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
public interface StateContainer extends EObject {
|
||||
/**
|
||||
* Returns the value of the '<em><b>States</b></em>' containment reference list.
|
||||
* The list contents are of type {@link org.emoflon.ibex.gt.StateModel.State}.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>States</em>' containment reference list.
|
||||
* @see org.emoflon.ibex.gt.StateModel.StateModelPackage#getStateContainer_States()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
||||
EList<State> getStates();
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Initial State</b></em>' containment reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Initial State</em>' containment reference.
|
||||
* @see #setInitialState(State)
|
||||
* @see org.emoflon.ibex.gt.StateModel.StateModelPackage#getStateContainer_InitialState()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
||||
State getInitialState();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.emoflon.ibex.gt.StateModel.StateContainer#getInitialState <em>Initial State</em>}' containment reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Initial State</em>' containment reference.
|
||||
* @see #getInitialState()
|
||||
* @generated
|
||||
*/
|
||||
void setInitialState(State value);
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Initial Matches</b></em>' containment reference list.
|
||||
* The list contents are of type {@link org.emoflon.ibex.gt.StateModel.IBeXMatch}.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Initial Matches</em>' containment reference list.
|
||||
* @see org.emoflon.ibex.gt.StateModel.StateModelPackage#getStateContainer_InitialMatches()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
||||
EList<IBeXMatch> getInitialMatches();
|
||||
|
||||
} // StateContainer
|
|
@ -1,132 +0,0 @@
|
|||
/**
|
||||
*/
|
||||
package org.emoflon.ibex.gt.StateModel;
|
||||
|
||||
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 org.emoflon.ibex.gt.StateModel.StateModelPackage
|
||||
* @generated
|
||||
*/
|
||||
public interface StateModelFactory extends EFactory {
|
||||
/**
|
||||
* The singleton instance of the factory.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
StateModelFactory eINSTANCE = org.emoflon.ibex.gt.StateModel.impl.StateModelFactoryImpl.init();
|
||||
|
||||
/**
|
||||
* Returns a new object of class '<em>State Container</em>'.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return a new object of class '<em>State Container</em>'.
|
||||
* @generated
|
||||
*/
|
||||
StateContainer createStateContainer();
|
||||
|
||||
/**
|
||||
* Returns a new object of class '<em>State</em>'.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return a new object of class '<em>State</em>'.
|
||||
* @generated
|
||||
*/
|
||||
State createState();
|
||||
|
||||
/**
|
||||
* Returns a new object of class '<em>Rule State</em>'.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return a new object of class '<em>Rule State</em>'.
|
||||
* @generated
|
||||
*/
|
||||
RuleState createRuleState();
|
||||
|
||||
/**
|
||||
* Returns a new object of class '<em>Attribute Delta</em>'.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return a new object of class '<em>Attribute Delta</em>'.
|
||||
* @generated
|
||||
*/
|
||||
AttributeDelta createAttributeDelta();
|
||||
|
||||
/**
|
||||
* Returns a new object of class '<em>Structural Delta</em>'.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return a new object of class '<em>Structural Delta</em>'.
|
||||
* @generated
|
||||
*/
|
||||
StructuralDelta createStructuralDelta();
|
||||
|
||||
/**
|
||||
* Returns a new object of class '<em>Link</em>'.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return a new object of class '<em>Link</em>'.
|
||||
* @generated
|
||||
*/
|
||||
Link createLink();
|
||||
|
||||
/**
|
||||
* Returns a new object of class '<em>IBe XMatch</em>'.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return a new object of class '<em>IBe XMatch</em>'.
|
||||
* @generated
|
||||
*/
|
||||
IBeXMatch createIBeXMatch();
|
||||
|
||||
/**
|
||||
* Returns a new object of class '<em>Value</em>'.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return a new object of class '<em>Value</em>'.
|
||||
* @generated
|
||||
*/
|
||||
Value createValue();
|
||||
|
||||
/**
|
||||
* Returns a new object of class '<em>Match Delta</em>'.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return a new object of class '<em>Match Delta</em>'.
|
||||
* @generated
|
||||
*/
|
||||
MatchDelta createMatchDelta();
|
||||
|
||||
/**
|
||||
* Returns a new object of class '<em>Complex Parameter</em>'.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return a new object of class '<em>Complex Parameter</em>'.
|
||||
* @generated
|
||||
*/
|
||||
ComplexParameter createComplexParameter();
|
||||
|
||||
/**
|
||||
* Returns a new object of class '<em>Simple Parameter</em>'.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return a new object of class '<em>Simple Parameter</em>'.
|
||||
* @generated
|
||||
*/
|
||||
SimpleParameter createSimpleParameter();
|
||||
|
||||
/**
|
||||
* Returns the package supported by this factory.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the package supported by this factory.
|
||||
* @generated
|
||||
*/
|
||||
StateModelPackage getStateModelPackage();
|
||||
|
||||
} //StateModelFactory
|
File diff suppressed because it is too large
Load diff
|
@ -1,103 +0,0 @@
|
|||
/**
|
||||
*/
|
||||
package org.emoflon.ibex.gt.StateModel;
|
||||
|
||||
import org.eclipse.emf.common.util.EList;
|
||||
|
||||
import org.eclipse.emf.ecore.EObject;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* A representation of the model object '<em><b>Structural Delta</b></em>'.
|
||||
* <!-- end-user-doc -->
|
||||
*
|
||||
* <p>
|
||||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.emoflon.ibex.gt.StateModel.StructuralDelta#getCreatedObjects <em>Created Objects</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.gt.StateModel.StructuralDelta#getDeletedObjects <em>Deleted Objects</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.gt.StateModel.StructuralDelta#getCreatedLinks <em>Created Links</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.gt.StateModel.StructuralDelta#getDeletedLinks <em>Deleted Links</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.gt.StateModel.StructuralDelta#getDeletedRootLevelObjects <em>Deleted Root Level Objects</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.gt.StateModel.StructuralDelta#getResource2EObjectContainment <em>Resource2 EObject Containment</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @see org.emoflon.ibex.gt.StateModel.StateModelPackage#getStructuralDelta()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
public interface StructuralDelta extends EObject {
|
||||
/**
|
||||
* Returns the value of the '<em><b>Created Objects</b></em>' reference list.
|
||||
* The list contents are of type {@link org.eclipse.emf.ecore.EObject}.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Created Objects</em>' reference list.
|
||||
* @see org.emoflon.ibex.gt.StateModel.StateModelPackage#getStructuralDelta_CreatedObjects()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
EList<EObject> getCreatedObjects();
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Deleted Objects</b></em>' reference list.
|
||||
* The list contents are of type {@link org.eclipse.emf.ecore.EObject}.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Deleted Objects</em>' reference list.
|
||||
* @see org.emoflon.ibex.gt.StateModel.StateModelPackage#getStructuralDelta_DeletedObjects()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
EList<EObject> getDeletedObjects();
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Created Links</b></em>' containment reference list.
|
||||
* The list contents are of type {@link org.emoflon.ibex.gt.StateModel.Link}.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Created Links</em>' containment reference list.
|
||||
* @see org.emoflon.ibex.gt.StateModel.StateModelPackage#getStructuralDelta_CreatedLinks()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
||||
EList<Link> getCreatedLinks();
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Deleted Links</b></em>' containment reference list.
|
||||
* The list contents are of type {@link org.emoflon.ibex.gt.StateModel.Link}.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Deleted Links</em>' containment reference list.
|
||||
* @see org.emoflon.ibex.gt.StateModel.StateModelPackage#getStructuralDelta_DeletedLinks()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
||||
EList<Link> getDeletedLinks();
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Deleted Root Level Objects</b></em>' reference list.
|
||||
* The list contents are of type {@link org.eclipse.emf.ecore.EObject}.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Deleted Root Level Objects</em>' reference list.
|
||||
* @see org.emoflon.ibex.gt.StateModel.StateModelPackage#getStructuralDelta_DeletedRootLevelObjects()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
EList<EObject> getDeletedRootLevelObjects();
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Resource2 EObject Containment</b></em>' reference list.
|
||||
* The list contents are of type {@link org.eclipse.emf.ecore.EObject}.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Resource2 EObject Containment</em>' reference list.
|
||||
* @see org.emoflon.ibex.gt.StateModel.StateModelPackage#getStructuralDelta_Resource2EObjectContainment()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
EList<EObject> getResource2EObjectContainment();
|
||||
|
||||
} // StructuralDelta
|
|
@ -1,70 +0,0 @@
|
|||
/**
|
||||
*/
|
||||
package org.emoflon.ibex.gt.StateModel;
|
||||
|
||||
import org.eclipse.emf.ecore.EDataType;
|
||||
import org.eclipse.emf.ecore.EObject;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* A representation of the model object '<em><b>Value</b></em>'.
|
||||
* <!-- end-user-doc -->
|
||||
*
|
||||
* <p>
|
||||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.emoflon.ibex.gt.StateModel.Value#getType <em>Type</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.gt.StateModel.Value#getValueAsString <em>Value As String</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @see org.emoflon.ibex.gt.StateModel.StateModelPackage#getValue()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
public interface Value extends EObject {
|
||||
/**
|
||||
* Returns the value of the '<em><b>Type</b></em>' reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Type</em>' reference.
|
||||
* @see #setType(EDataType)
|
||||
* @see org.emoflon.ibex.gt.StateModel.StateModelPackage#getValue_Type()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
EDataType getType();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.emoflon.ibex.gt.StateModel.Value#getType <em>Type</em>}' reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Type</em>' reference.
|
||||
* @see #getType()
|
||||
* @generated
|
||||
*/
|
||||
void setType(EDataType value);
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Value As String</b></em>' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Value As String</em>' attribute.
|
||||
* @see #setValueAsString(String)
|
||||
* @see org.emoflon.ibex.gt.StateModel.StateModelPackage#getValue_ValueAsString()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
String getValueAsString();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.emoflon.ibex.gt.StateModel.Value#getValueAsString <em>Value As String</em>}' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Value As String</em>' attribute.
|
||||
* @see #getValueAsString()
|
||||
* @generated
|
||||
*/
|
||||
void setValueAsString(String value);
|
||||
|
||||
} // Value
|
|
@ -1,392 +0,0 @@
|
|||
/**
|
||||
*/
|
||||
package org.emoflon.ibex.gt.StateModel.impl;
|
||||
|
||||
import org.eclipse.emf.common.notify.Notification;
|
||||
import org.eclipse.emf.common.notify.NotificationChain;
|
||||
|
||||
import org.eclipse.emf.ecore.EAttribute;
|
||||
import org.eclipse.emf.ecore.EClass;
|
||||
import org.eclipse.emf.ecore.EObject;
|
||||
import org.eclipse.emf.ecore.InternalEObject;
|
||||
|
||||
import org.eclipse.emf.ecore.impl.ENotificationImpl;
|
||||
import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
|
||||
|
||||
import org.emoflon.ibex.gt.StateModel.AttributeDelta;
|
||||
import org.emoflon.ibex.gt.StateModel.StateModelPackage;
|
||||
import org.emoflon.ibex.gt.StateModel.Value;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* An implementation of the model object '<em><b>Attribute Delta</b></em>'.
|
||||
* <!-- end-user-doc -->
|
||||
* <p>
|
||||
* The following features are implemented:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.emoflon.ibex.gt.StateModel.impl.AttributeDeltaImpl#getAttribute <em>Attribute</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.gt.StateModel.impl.AttributeDeltaImpl#getObject <em>Object</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.gt.StateModel.impl.AttributeDeltaImpl#getOldValue <em>Old Value</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.gt.StateModel.impl.AttributeDeltaImpl#getNewValue <em>New Value</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @generated
|
||||
*/
|
||||
public class AttributeDeltaImpl extends MinimalEObjectImpl.Container implements AttributeDelta {
|
||||
/**
|
||||
* The cached value of the '{@link #getAttribute() <em>Attribute</em>}' reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #getAttribute()
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
protected EAttribute attribute;
|
||||
|
||||
/**
|
||||
* The cached value of the '{@link #getObject() <em>Object</em>}' reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #getObject()
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
protected EObject object;
|
||||
|
||||
/**
|
||||
* The cached value of the '{@link #getOldValue() <em>Old Value</em>}' containment reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #getOldValue()
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
protected Value oldValue;
|
||||
|
||||
/**
|
||||
* The cached value of the '{@link #getNewValue() <em>New Value</em>}' containment reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #getNewValue()
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
protected Value newValue;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
protected AttributeDeltaImpl() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
protected EClass eStaticClass() {
|
||||
return StateModelPackage.Literals.ATTRIBUTE_DELTA;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public EAttribute getAttribute() {
|
||||
if (attribute != null && attribute.eIsProxy()) {
|
||||
InternalEObject oldAttribute = (InternalEObject) attribute;
|
||||
attribute = (EAttribute) eResolveProxy(oldAttribute);
|
||||
if (attribute != oldAttribute) {
|
||||
if (eNotificationRequired())
|
||||
eNotify(new ENotificationImpl(this, Notification.RESOLVE,
|
||||
StateModelPackage.ATTRIBUTE_DELTA__ATTRIBUTE, oldAttribute, attribute));
|
||||
}
|
||||
}
|
||||
return attribute;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
public EAttribute basicGetAttribute() {
|
||||
return attribute;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public void setAttribute(EAttribute newAttribute) {
|
||||
EAttribute oldAttribute = attribute;
|
||||
attribute = newAttribute;
|
||||
if (eNotificationRequired())
|
||||
eNotify(new ENotificationImpl(this, Notification.SET, StateModelPackage.ATTRIBUTE_DELTA__ATTRIBUTE,
|
||||
oldAttribute, attribute));
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public EObject getObject() {
|
||||
if (object != null && object.eIsProxy()) {
|
||||
InternalEObject oldObject = (InternalEObject) object;
|
||||
object = eResolveProxy(oldObject);
|
||||
if (object != oldObject) {
|
||||
if (eNotificationRequired())
|
||||
eNotify(new ENotificationImpl(this, Notification.RESOLVE, StateModelPackage.ATTRIBUTE_DELTA__OBJECT,
|
||||
oldObject, object));
|
||||
}
|
||||
}
|
||||
return object;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
public EObject basicGetObject() {
|
||||
return object;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public void setObject(EObject newObject) {
|
||||
EObject oldObject = object;
|
||||
object = newObject;
|
||||
if (eNotificationRequired())
|
||||
eNotify(new ENotificationImpl(this, Notification.SET, StateModelPackage.ATTRIBUTE_DELTA__OBJECT, oldObject,
|
||||
object));
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public Value getOldValue() {
|
||||
return oldValue;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
public NotificationChain basicSetOldValue(Value newOldValue, NotificationChain msgs) {
|
||||
Value oldOldValue = oldValue;
|
||||
oldValue = newOldValue;
|
||||
if (eNotificationRequired()) {
|
||||
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
|
||||
StateModelPackage.ATTRIBUTE_DELTA__OLD_VALUE, oldOldValue, newOldValue);
|
||||
if (msgs == null)
|
||||
msgs = notification;
|
||||
else
|
||||
msgs.add(notification);
|
||||
}
|
||||
return msgs;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public void setOldValue(Value newOldValue) {
|
||||
if (newOldValue != oldValue) {
|
||||
NotificationChain msgs = null;
|
||||
if (oldValue != null)
|
||||
msgs = ((InternalEObject) oldValue).eInverseRemove(this,
|
||||
EOPPOSITE_FEATURE_BASE - StateModelPackage.ATTRIBUTE_DELTA__OLD_VALUE, null, msgs);
|
||||
if (newOldValue != null)
|
||||
msgs = ((InternalEObject) newOldValue).eInverseAdd(this,
|
||||
EOPPOSITE_FEATURE_BASE - StateModelPackage.ATTRIBUTE_DELTA__OLD_VALUE, null, msgs);
|
||||
msgs = basicSetOldValue(newOldValue, msgs);
|
||||
if (msgs != null)
|
||||
msgs.dispatch();
|
||||
} else if (eNotificationRequired())
|
||||
eNotify(new ENotificationImpl(this, Notification.SET, StateModelPackage.ATTRIBUTE_DELTA__OLD_VALUE,
|
||||
newOldValue, newOldValue));
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public Value getNewValue() {
|
||||
return newValue;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
public NotificationChain basicSetNewValue(Value newNewValue, NotificationChain msgs) {
|
||||
Value oldNewValue = newValue;
|
||||
newValue = newNewValue;
|
||||
if (eNotificationRequired()) {
|
||||
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
|
||||
StateModelPackage.ATTRIBUTE_DELTA__NEW_VALUE, oldNewValue, newNewValue);
|
||||
if (msgs == null)
|
||||
msgs = notification;
|
||||
else
|
||||
msgs.add(notification);
|
||||
}
|
||||
return msgs;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public void setNewValue(Value newNewValue) {
|
||||
if (newNewValue != newValue) {
|
||||
NotificationChain msgs = null;
|
||||
if (newValue != null)
|
||||
msgs = ((InternalEObject) newValue).eInverseRemove(this,
|
||||
EOPPOSITE_FEATURE_BASE - StateModelPackage.ATTRIBUTE_DELTA__NEW_VALUE, null, msgs);
|
||||
if (newNewValue != null)
|
||||
msgs = ((InternalEObject) newNewValue).eInverseAdd(this,
|
||||
EOPPOSITE_FEATURE_BASE - StateModelPackage.ATTRIBUTE_DELTA__NEW_VALUE, null, msgs);
|
||||
msgs = basicSetNewValue(newNewValue, msgs);
|
||||
if (msgs != null)
|
||||
msgs.dispatch();
|
||||
} else if (eNotificationRequired())
|
||||
eNotify(new ENotificationImpl(this, Notification.SET, StateModelPackage.ATTRIBUTE_DELTA__NEW_VALUE,
|
||||
newNewValue, newNewValue));
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
|
||||
switch (featureID) {
|
||||
case StateModelPackage.ATTRIBUTE_DELTA__OLD_VALUE:
|
||||
return basicSetOldValue(null, msgs);
|
||||
case StateModelPackage.ATTRIBUTE_DELTA__NEW_VALUE:
|
||||
return basicSetNewValue(null, msgs);
|
||||
}
|
||||
return super.eInverseRemove(otherEnd, featureID, msgs);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public Object eGet(int featureID, boolean resolve, boolean coreType) {
|
||||
switch (featureID) {
|
||||
case StateModelPackage.ATTRIBUTE_DELTA__ATTRIBUTE:
|
||||
if (resolve)
|
||||
return getAttribute();
|
||||
return basicGetAttribute();
|
||||
case StateModelPackage.ATTRIBUTE_DELTA__OBJECT:
|
||||
if (resolve)
|
||||
return getObject();
|
||||
return basicGetObject();
|
||||
case StateModelPackage.ATTRIBUTE_DELTA__OLD_VALUE:
|
||||
return getOldValue();
|
||||
case StateModelPackage.ATTRIBUTE_DELTA__NEW_VALUE:
|
||||
return getNewValue();
|
||||
}
|
||||
return super.eGet(featureID, resolve, coreType);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public void eSet(int featureID, Object newValue) {
|
||||
switch (featureID) {
|
||||
case StateModelPackage.ATTRIBUTE_DELTA__ATTRIBUTE:
|
||||
setAttribute((EAttribute) newValue);
|
||||
return;
|
||||
case StateModelPackage.ATTRIBUTE_DELTA__OBJECT:
|
||||
setObject((EObject) newValue);
|
||||
return;
|
||||
case StateModelPackage.ATTRIBUTE_DELTA__OLD_VALUE:
|
||||
setOldValue((Value) newValue);
|
||||
return;
|
||||
case StateModelPackage.ATTRIBUTE_DELTA__NEW_VALUE:
|
||||
setNewValue((Value) newValue);
|
||||
return;
|
||||
}
|
||||
super.eSet(featureID, newValue);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public void eUnset(int featureID) {
|
||||
switch (featureID) {
|
||||
case StateModelPackage.ATTRIBUTE_DELTA__ATTRIBUTE:
|
||||
setAttribute((EAttribute) null);
|
||||
return;
|
||||
case StateModelPackage.ATTRIBUTE_DELTA__OBJECT:
|
||||
setObject((EObject) null);
|
||||
return;
|
||||
case StateModelPackage.ATTRIBUTE_DELTA__OLD_VALUE:
|
||||
setOldValue((Value) null);
|
||||
return;
|
||||
case StateModelPackage.ATTRIBUTE_DELTA__NEW_VALUE:
|
||||
setNewValue((Value) null);
|
||||
return;
|
||||
}
|
||||
super.eUnset(featureID);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public boolean eIsSet(int featureID) {
|
||||
switch (featureID) {
|
||||
case StateModelPackage.ATTRIBUTE_DELTA__ATTRIBUTE:
|
||||
return attribute != null;
|
||||
case StateModelPackage.ATTRIBUTE_DELTA__OBJECT:
|
||||
return object != null;
|
||||
case StateModelPackage.ATTRIBUTE_DELTA__OLD_VALUE:
|
||||
return oldValue != null;
|
||||
case StateModelPackage.ATTRIBUTE_DELTA__NEW_VALUE:
|
||||
return newValue != null;
|
||||
}
|
||||
return super.eIsSet(featureID);
|
||||
}
|
||||
|
||||
} //AttributeDeltaImpl
|
|
@ -1,158 +0,0 @@
|
|||
/**
|
||||
*/
|
||||
package org.emoflon.ibex.gt.StateModel.impl;
|
||||
|
||||
import org.eclipse.emf.common.notify.Notification;
|
||||
import org.eclipse.emf.ecore.EClass;
|
||||
import org.eclipse.emf.ecore.EObject;
|
||||
import org.eclipse.emf.ecore.InternalEObject;
|
||||
import org.eclipse.emf.ecore.impl.ENotificationImpl;
|
||||
import org.emoflon.ibex.gt.StateModel.ComplexParameter;
|
||||
import org.emoflon.ibex.gt.StateModel.StateModelPackage;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* An implementation of the model object '<em><b>Complex Parameter</b></em>'.
|
||||
* <!-- end-user-doc -->
|
||||
* <p>
|
||||
* The following features are implemented:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.emoflon.ibex.gt.StateModel.impl.ComplexParameterImpl#getValue <em>Value</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @generated
|
||||
*/
|
||||
public class ComplexParameterImpl extends ParameterImpl implements ComplexParameter {
|
||||
/**
|
||||
* The cached value of the '{@link #getValue() <em>Value</em>}' reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #getValue()
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
protected EObject value;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
protected ComplexParameterImpl() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
protected EClass eStaticClass() {
|
||||
return StateModelPackage.Literals.COMPLEX_PARAMETER;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public EObject getValue() {
|
||||
if (value != null && value.eIsProxy()) {
|
||||
InternalEObject oldValue = (InternalEObject) value;
|
||||
value = eResolveProxy(oldValue);
|
||||
if (value != oldValue) {
|
||||
if (eNotificationRequired())
|
||||
eNotify(new ENotificationImpl(this, Notification.RESOLVE,
|
||||
StateModelPackage.COMPLEX_PARAMETER__VALUE, oldValue, value));
|
||||
}
|
||||
}
|
||||
return value;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
public EObject basicGetValue() {
|
||||
return value;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public void setValue(EObject newValue) {
|
||||
EObject oldValue = value;
|
||||
value = newValue;
|
||||
if (eNotificationRequired())
|
||||
eNotify(new ENotificationImpl(this, Notification.SET, StateModelPackage.COMPLEX_PARAMETER__VALUE, oldValue,
|
||||
value));
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public Object eGet(int featureID, boolean resolve, boolean coreType) {
|
||||
switch (featureID) {
|
||||
case StateModelPackage.COMPLEX_PARAMETER__VALUE:
|
||||
if (resolve)
|
||||
return getValue();
|
||||
return basicGetValue();
|
||||
}
|
||||
return super.eGet(featureID, resolve, coreType);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public void eSet(int featureID, Object newValue) {
|
||||
switch (featureID) {
|
||||
case StateModelPackage.COMPLEX_PARAMETER__VALUE:
|
||||
setValue((EObject) newValue);
|
||||
return;
|
||||
}
|
||||
super.eSet(featureID, newValue);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public void eUnset(int featureID) {
|
||||
switch (featureID) {
|
||||
case StateModelPackage.COMPLEX_PARAMETER__VALUE:
|
||||
setValue((EObject) null);
|
||||
return;
|
||||
}
|
||||
super.eUnset(featureID);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public boolean eIsSet(int featureID) {
|
||||
switch (featureID) {
|
||||
case StateModelPackage.COMPLEX_PARAMETER__VALUE:
|
||||
return value != null;
|
||||
}
|
||||
return super.eIsSet(featureID);
|
||||
}
|
||||
|
||||
} //ComplexParameterImpl
|
|
@ -1,228 +0,0 @@
|
|||
/**
|
||||
*/
|
||||
package org.emoflon.ibex.gt.StateModel.impl;
|
||||
|
||||
import java.util.Collection;
|
||||
|
||||
import org.eclipse.emf.common.notify.Notification;
|
||||
import org.eclipse.emf.common.notify.NotificationChain;
|
||||
|
||||
import org.eclipse.emf.common.util.EList;
|
||||
|
||||
import org.eclipse.emf.ecore.EClass;
|
||||
import org.eclipse.emf.ecore.InternalEObject;
|
||||
|
||||
import org.eclipse.emf.ecore.impl.ENotificationImpl;
|
||||
import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
|
||||
|
||||
import org.eclipse.emf.ecore.util.EObjectContainmentEList;
|
||||
import org.eclipse.emf.ecore.util.InternalEList;
|
||||
|
||||
import org.emoflon.ibex.gt.StateModel.IBeXMatch;
|
||||
import org.emoflon.ibex.gt.StateModel.Parameter;
|
||||
import org.emoflon.ibex.gt.StateModel.StateModelPackage;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* An implementation of the model object '<em><b>IBe XMatch</b></em>'.
|
||||
* <!-- end-user-doc -->
|
||||
* <p>
|
||||
* The following features are implemented:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.emoflon.ibex.gt.StateModel.impl.IBeXMatchImpl#getPatternName <em>Pattern Name</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.gt.StateModel.impl.IBeXMatchImpl#getParameters <em>Parameters</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @generated
|
||||
*/
|
||||
public class IBeXMatchImpl extends MinimalEObjectImpl.Container implements IBeXMatch {
|
||||
/**
|
||||
* The default value of the '{@link #getPatternName() <em>Pattern Name</em>}' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #getPatternName()
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
protected static final String PATTERN_NAME_EDEFAULT = "";
|
||||
|
||||
/**
|
||||
* The cached value of the '{@link #getPatternName() <em>Pattern Name</em>}' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #getPatternName()
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
protected String patternName = PATTERN_NAME_EDEFAULT;
|
||||
|
||||
/**
|
||||
* The cached value of the '{@link #getParameters() <em>Parameters</em>}' containment reference list.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #getParameters()
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
protected EList<Parameter> parameters;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
protected IBeXMatchImpl() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
protected EClass eStaticClass() {
|
||||
return StateModelPackage.Literals.IBE_XMATCH;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public String getPatternName() {
|
||||
return patternName;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public void setPatternName(String newPatternName) {
|
||||
String oldPatternName = patternName;
|
||||
patternName = newPatternName;
|
||||
if (eNotificationRequired())
|
||||
eNotify(new ENotificationImpl(this, Notification.SET, StateModelPackage.IBE_XMATCH__PATTERN_NAME,
|
||||
oldPatternName, patternName));
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public EList<Parameter> getParameters() {
|
||||
if (parameters == null) {
|
||||
parameters = new EObjectContainmentEList<Parameter>(Parameter.class, this,
|
||||
StateModelPackage.IBE_XMATCH__PARAMETERS);
|
||||
}
|
||||
return parameters;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
|
||||
switch (featureID) {
|
||||
case StateModelPackage.IBE_XMATCH__PARAMETERS:
|
||||
return ((InternalEList<?>) getParameters()).basicRemove(otherEnd, msgs);
|
||||
}
|
||||
return super.eInverseRemove(otherEnd, featureID, msgs);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public Object eGet(int featureID, boolean resolve, boolean coreType) {
|
||||
switch (featureID) {
|
||||
case StateModelPackage.IBE_XMATCH__PATTERN_NAME:
|
||||
return getPatternName();
|
||||
case StateModelPackage.IBE_XMATCH__PARAMETERS:
|
||||
return getParameters();
|
||||
}
|
||||
return super.eGet(featureID, resolve, coreType);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@SuppressWarnings("unchecked")
|
||||
@Override
|
||||
public void eSet(int featureID, Object newValue) {
|
||||
switch (featureID) {
|
||||
case StateModelPackage.IBE_XMATCH__PATTERN_NAME:
|
||||
setPatternName((String) newValue);
|
||||
return;
|
||||
case StateModelPackage.IBE_XMATCH__PARAMETERS:
|
||||
getParameters().clear();
|
||||
getParameters().addAll((Collection<? extends Parameter>) newValue);
|
||||
return;
|
||||
}
|
||||
super.eSet(featureID, newValue);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public void eUnset(int featureID) {
|
||||
switch (featureID) {
|
||||
case StateModelPackage.IBE_XMATCH__PATTERN_NAME:
|
||||
setPatternName(PATTERN_NAME_EDEFAULT);
|
||||
return;
|
||||
case StateModelPackage.IBE_XMATCH__PARAMETERS:
|
||||
getParameters().clear();
|
||||
return;
|
||||
}
|
||||
super.eUnset(featureID);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public boolean eIsSet(int featureID) {
|
||||
switch (featureID) {
|
||||
case StateModelPackage.IBE_XMATCH__PATTERN_NAME:
|
||||
return PATTERN_NAME_EDEFAULT == null ? patternName != null : !PATTERN_NAME_EDEFAULT.equals(patternName);
|
||||
case StateModelPackage.IBE_XMATCH__PARAMETERS:
|
||||
return parameters != null && !parameters.isEmpty();
|
||||
}
|
||||
return super.eIsSet(featureID);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public String toString() {
|
||||
if (eIsProxy())
|
||||
return super.toString();
|
||||
|
||||
StringBuilder result = new StringBuilder(super.toString());
|
||||
result.append(" (patternName: ");
|
||||
result.append(patternName);
|
||||
result.append(')');
|
||||
return result.toString();
|
||||
}
|
||||
|
||||
} //IBeXMatchImpl
|
|
@ -1,290 +0,0 @@
|
|||
/**
|
||||
*/
|
||||
package org.emoflon.ibex.gt.StateModel.impl;
|
||||
|
||||
import org.eclipse.emf.common.notify.Notification;
|
||||
|
||||
import org.eclipse.emf.ecore.EClass;
|
||||
import org.eclipse.emf.ecore.EObject;
|
||||
import org.eclipse.emf.ecore.EReference;
|
||||
import org.eclipse.emf.ecore.InternalEObject;
|
||||
|
||||
import org.eclipse.emf.ecore.impl.ENotificationImpl;
|
||||
import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
|
||||
|
||||
import org.emoflon.ibex.gt.StateModel.Link;
|
||||
import org.emoflon.ibex.gt.StateModel.StateModelPackage;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* An implementation of the model object '<em><b>Link</b></em>'.
|
||||
* <!-- end-user-doc -->
|
||||
* <p>
|
||||
* The following features are implemented:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.emoflon.ibex.gt.StateModel.impl.LinkImpl#getType <em>Type</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.gt.StateModel.impl.LinkImpl#getSrc <em>Src</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.gt.StateModel.impl.LinkImpl#getTrg <em>Trg</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @generated
|
||||
*/
|
||||
public class LinkImpl extends MinimalEObjectImpl.Container implements Link {
|
||||
/**
|
||||
* The cached value of the '{@link #getType() <em>Type</em>}' reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #getType()
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
protected EReference type;
|
||||
|
||||
/**
|
||||
* The cached value of the '{@link #getSrc() <em>Src</em>}' reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #getSrc()
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
protected EObject src;
|
||||
|
||||
/**
|
||||
* The cached value of the '{@link #getTrg() <em>Trg</em>}' reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #getTrg()
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
protected EObject trg;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
protected LinkImpl() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
protected EClass eStaticClass() {
|
||||
return StateModelPackage.Literals.LINK;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public EReference getType() {
|
||||
if (type != null && type.eIsProxy()) {
|
||||
InternalEObject oldType = (InternalEObject) type;
|
||||
type = (EReference) eResolveProxy(oldType);
|
||||
if (type != oldType) {
|
||||
if (eNotificationRequired())
|
||||
eNotify(new ENotificationImpl(this, Notification.RESOLVE, StateModelPackage.LINK__TYPE, oldType,
|
||||
type));
|
||||
}
|
||||
}
|
||||
return type;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
public EReference basicGetType() {
|
||||
return type;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public void setType(EReference newType) {
|
||||
EReference oldType = type;
|
||||
type = newType;
|
||||
if (eNotificationRequired())
|
||||
eNotify(new ENotificationImpl(this, Notification.SET, StateModelPackage.LINK__TYPE, oldType, type));
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public EObject getSrc() {
|
||||
if (src != null && src.eIsProxy()) {
|
||||
InternalEObject oldSrc = (InternalEObject) src;
|
||||
src = eResolveProxy(oldSrc);
|
||||
if (src != oldSrc) {
|
||||
if (eNotificationRequired())
|
||||
eNotify(new ENotificationImpl(this, Notification.RESOLVE, StateModelPackage.LINK__SRC, oldSrc,
|
||||
src));
|
||||
}
|
||||
}
|
||||
return src;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
public EObject basicGetSrc() {
|
||||
return src;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public void setSrc(EObject newSrc) {
|
||||
EObject oldSrc = src;
|
||||
src = newSrc;
|
||||
if (eNotificationRequired())
|
||||
eNotify(new ENotificationImpl(this, Notification.SET, StateModelPackage.LINK__SRC, oldSrc, src));
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public EObject getTrg() {
|
||||
if (trg != null && trg.eIsProxy()) {
|
||||
InternalEObject oldTrg = (InternalEObject) trg;
|
||||
trg = eResolveProxy(oldTrg);
|
||||
if (trg != oldTrg) {
|
||||
if (eNotificationRequired())
|
||||
eNotify(new ENotificationImpl(this, Notification.RESOLVE, StateModelPackage.LINK__TRG, oldTrg,
|
||||
trg));
|
||||
}
|
||||
}
|
||||
return trg;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
public EObject basicGetTrg() {
|
||||
return trg;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public void setTrg(EObject newTrg) {
|
||||
EObject oldTrg = trg;
|
||||
trg = newTrg;
|
||||
if (eNotificationRequired())
|
||||
eNotify(new ENotificationImpl(this, Notification.SET, StateModelPackage.LINK__TRG, oldTrg, trg));
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public Object eGet(int featureID, boolean resolve, boolean coreType) {
|
||||
switch (featureID) {
|
||||
case StateModelPackage.LINK__TYPE:
|
||||
if (resolve)
|
||||
return getType();
|
||||
return basicGetType();
|
||||
case StateModelPackage.LINK__SRC:
|
||||
if (resolve)
|
||||
return getSrc();
|
||||
return basicGetSrc();
|
||||
case StateModelPackage.LINK__TRG:
|
||||
if (resolve)
|
||||
return getTrg();
|
||||
return basicGetTrg();
|
||||
}
|
||||
return super.eGet(featureID, resolve, coreType);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public void eSet(int featureID, Object newValue) {
|
||||
switch (featureID) {
|
||||
case StateModelPackage.LINK__TYPE:
|
||||
setType((EReference) newValue);
|
||||
return;
|
||||
case StateModelPackage.LINK__SRC:
|
||||
setSrc((EObject) newValue);
|
||||
return;
|
||||
case StateModelPackage.LINK__TRG:
|
||||
setTrg((EObject) newValue);
|
||||
return;
|
||||
}
|
||||
super.eSet(featureID, newValue);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public void eUnset(int featureID) {
|
||||
switch (featureID) {
|
||||
case StateModelPackage.LINK__TYPE:
|
||||
setType((EReference) null);
|
||||
return;
|
||||
case StateModelPackage.LINK__SRC:
|
||||
setSrc((EObject) null);
|
||||
return;
|
||||
case StateModelPackage.LINK__TRG:
|
||||
setTrg((EObject) null);
|
||||
return;
|
||||
}
|
||||
super.eUnset(featureID);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public boolean eIsSet(int featureID) {
|
||||
switch (featureID) {
|
||||
case StateModelPackage.LINK__TYPE:
|
||||
return type != null;
|
||||
case StateModelPackage.LINK__SRC:
|
||||
return src != null;
|
||||
case StateModelPackage.LINK__TRG:
|
||||
return trg != null;
|
||||
}
|
||||
return super.eIsSet(featureID);
|
||||
}
|
||||
|
||||
} //LinkImpl
|
|
@ -1,228 +0,0 @@
|
|||
/**
|
||||
*/
|
||||
package org.emoflon.ibex.gt.StateModel.impl;
|
||||
|
||||
import java.util.Collection;
|
||||
|
||||
import org.eclipse.emf.common.notify.Notification;
|
||||
import org.eclipse.emf.common.notify.NotificationChain;
|
||||
|
||||
import org.eclipse.emf.common.util.EList;
|
||||
|
||||
import org.eclipse.emf.ecore.EClass;
|
||||
import org.eclipse.emf.ecore.InternalEObject;
|
||||
|
||||
import org.eclipse.emf.ecore.impl.ENotificationImpl;
|
||||
import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
|
||||
|
||||
import org.eclipse.emf.ecore.util.EObjectContainmentEList;
|
||||
import org.eclipse.emf.ecore.util.InternalEList;
|
||||
|
||||
import org.emoflon.ibex.gt.StateModel.IBeXMatch;
|
||||
import org.emoflon.ibex.gt.StateModel.MatchDelta;
|
||||
import org.emoflon.ibex.gt.StateModel.StateModelPackage;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* An implementation of the model object '<em><b>Match Delta</b></em>'.
|
||||
* <!-- end-user-doc -->
|
||||
* <p>
|
||||
* The following features are implemented:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.emoflon.ibex.gt.StateModel.impl.MatchDeltaImpl#getPatternName <em>Pattern Name</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.gt.StateModel.impl.MatchDeltaImpl#getMatchDeltasForPattern <em>Match Deltas For Pattern</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @generated
|
||||
*/
|
||||
public class MatchDeltaImpl extends MinimalEObjectImpl.Container implements MatchDelta {
|
||||
/**
|
||||
* The default value of the '{@link #getPatternName() <em>Pattern Name</em>}' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #getPatternName()
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
protected static final String PATTERN_NAME_EDEFAULT = null;
|
||||
|
||||
/**
|
||||
* The cached value of the '{@link #getPatternName() <em>Pattern Name</em>}' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #getPatternName()
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
protected String patternName = PATTERN_NAME_EDEFAULT;
|
||||
|
||||
/**
|
||||
* The cached value of the '{@link #getMatchDeltasForPattern() <em>Match Deltas For Pattern</em>}' containment reference list.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #getMatchDeltasForPattern()
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
protected EList<IBeXMatch> matchDeltasForPattern;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
protected MatchDeltaImpl() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
protected EClass eStaticClass() {
|
||||
return StateModelPackage.Literals.MATCH_DELTA;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public String getPatternName() {
|
||||
return patternName;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public void setPatternName(String newPatternName) {
|
||||
String oldPatternName = patternName;
|
||||
patternName = newPatternName;
|
||||
if (eNotificationRequired())
|
||||
eNotify(new ENotificationImpl(this, Notification.SET, StateModelPackage.MATCH_DELTA__PATTERN_NAME,
|
||||
oldPatternName, patternName));
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public EList<IBeXMatch> getMatchDeltasForPattern() {
|
||||
if (matchDeltasForPattern == null) {
|
||||
matchDeltasForPattern = new EObjectContainmentEList<IBeXMatch>(IBeXMatch.class, this,
|
||||
StateModelPackage.MATCH_DELTA__MATCH_DELTAS_FOR_PATTERN);
|
||||
}
|
||||
return matchDeltasForPattern;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
|
||||
switch (featureID) {
|
||||
case StateModelPackage.MATCH_DELTA__MATCH_DELTAS_FOR_PATTERN:
|
||||
return ((InternalEList<?>) getMatchDeltasForPattern()).basicRemove(otherEnd, msgs);
|
||||
}
|
||||
return super.eInverseRemove(otherEnd, featureID, msgs);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public Object eGet(int featureID, boolean resolve, boolean coreType) {
|
||||
switch (featureID) {
|
||||
case StateModelPackage.MATCH_DELTA__PATTERN_NAME:
|
||||
return getPatternName();
|
||||
case StateModelPackage.MATCH_DELTA__MATCH_DELTAS_FOR_PATTERN:
|
||||
return getMatchDeltasForPattern();
|
||||
}
|
||||
return super.eGet(featureID, resolve, coreType);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@SuppressWarnings("unchecked")
|
||||
@Override
|
||||
public void eSet(int featureID, Object newValue) {
|
||||
switch (featureID) {
|
||||
case StateModelPackage.MATCH_DELTA__PATTERN_NAME:
|
||||
setPatternName((String) newValue);
|
||||
return;
|
||||
case StateModelPackage.MATCH_DELTA__MATCH_DELTAS_FOR_PATTERN:
|
||||
getMatchDeltasForPattern().clear();
|
||||
getMatchDeltasForPattern().addAll((Collection<? extends IBeXMatch>) newValue);
|
||||
return;
|
||||
}
|
||||
super.eSet(featureID, newValue);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public void eUnset(int featureID) {
|
||||
switch (featureID) {
|
||||
case StateModelPackage.MATCH_DELTA__PATTERN_NAME:
|
||||
setPatternName(PATTERN_NAME_EDEFAULT);
|
||||
return;
|
||||
case StateModelPackage.MATCH_DELTA__MATCH_DELTAS_FOR_PATTERN:
|
||||
getMatchDeltasForPattern().clear();
|
||||
return;
|
||||
}
|
||||
super.eUnset(featureID);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public boolean eIsSet(int featureID) {
|
||||
switch (featureID) {
|
||||
case StateModelPackage.MATCH_DELTA__PATTERN_NAME:
|
||||
return PATTERN_NAME_EDEFAULT == null ? patternName != null : !PATTERN_NAME_EDEFAULT.equals(patternName);
|
||||
case StateModelPackage.MATCH_DELTA__MATCH_DELTAS_FOR_PATTERN:
|
||||
return matchDeltasForPattern != null && !matchDeltasForPattern.isEmpty();
|
||||
}
|
||||
return super.eIsSet(featureID);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public String toString() {
|
||||
if (eIsProxy())
|
||||
return super.toString();
|
||||
|
||||
StringBuilder result = new StringBuilder(super.toString());
|
||||
result.append(" (patternName: ");
|
||||
result.append(patternName);
|
||||
result.append(')');
|
||||
return result.toString();
|
||||
}
|
||||
|
||||
} //MatchDeltaImpl
|
|
@ -1,165 +0,0 @@
|
|||
/**
|
||||
*/
|
||||
package org.emoflon.ibex.gt.StateModel.impl;
|
||||
|
||||
import org.eclipse.emf.common.notify.Notification;
|
||||
|
||||
import org.eclipse.emf.ecore.EClass;
|
||||
import org.eclipse.emf.ecore.impl.ENotificationImpl;
|
||||
import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
|
||||
|
||||
import org.emoflon.ibex.gt.StateModel.Parameter;
|
||||
import org.emoflon.ibex.gt.StateModel.StateModelPackage;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* An implementation of the model object '<em><b>Parameter</b></em>'.
|
||||
* <!-- end-user-doc -->
|
||||
* <p>
|
||||
* The following features are implemented:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.emoflon.ibex.gt.StateModel.impl.ParameterImpl#getName <em>Name</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @generated
|
||||
*/
|
||||
public abstract class ParameterImpl extends MinimalEObjectImpl.Container implements Parameter {
|
||||
/**
|
||||
* The default value of the '{@link #getName() <em>Name</em>}' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #getName()
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
protected static final String NAME_EDEFAULT = null;
|
||||
|
||||
/**
|
||||
* The cached value of the '{@link #getName() <em>Name</em>}' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #getName()
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
protected String name = NAME_EDEFAULT;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
protected ParameterImpl() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
protected EClass eStaticClass() {
|
||||
return StateModelPackage.Literals.PARAMETER;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public void setName(String newName) {
|
||||
String oldName = name;
|
||||
name = newName;
|
||||
if (eNotificationRequired())
|
||||
eNotify(new ENotificationImpl(this, Notification.SET, StateModelPackage.PARAMETER__NAME, oldName, name));
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public Object eGet(int featureID, boolean resolve, boolean coreType) {
|
||||
switch (featureID) {
|
||||
case StateModelPackage.PARAMETER__NAME:
|
||||
return getName();
|
||||
}
|
||||
return super.eGet(featureID, resolve, coreType);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public void eSet(int featureID, Object newValue) {
|
||||
switch (featureID) {
|
||||
case StateModelPackage.PARAMETER__NAME:
|
||||
setName((String) newValue);
|
||||
return;
|
||||
}
|
||||
super.eSet(featureID, newValue);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public void eUnset(int featureID) {
|
||||
switch (featureID) {
|
||||
case StateModelPackage.PARAMETER__NAME:
|
||||
setName(NAME_EDEFAULT);
|
||||
return;
|
||||
}
|
||||
super.eUnset(featureID);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public boolean eIsSet(int featureID) {
|
||||
switch (featureID) {
|
||||
case StateModelPackage.PARAMETER__NAME:
|
||||
return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
|
||||
}
|
||||
return super.eIsSet(featureID);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public String toString() {
|
||||
if (eIsProxy())
|
||||
return super.toString();
|
||||
|
||||
StringBuilder result = new StringBuilder(super.toString());
|
||||
result.append(" (name: ");
|
||||
result.append(name);
|
||||
result.append(')');
|
||||
return result.toString();
|
||||
}
|
||||
|
||||
} //ParameterImpl
|
|
@ -1,701 +0,0 @@
|
|||
/**
|
||||
*/
|
||||
package org.emoflon.ibex.gt.StateModel.impl;
|
||||
|
||||
import java.util.Collection;
|
||||
|
||||
import org.eclipse.emf.common.notify.Notification;
|
||||
import org.eclipse.emf.common.notify.NotificationChain;
|
||||
|
||||
import org.eclipse.emf.common.util.EList;
|
||||
|
||||
import org.eclipse.emf.ecore.EClass;
|
||||
import org.eclipse.emf.ecore.InternalEObject;
|
||||
|
||||
import org.eclipse.emf.ecore.impl.ENotificationImpl;
|
||||
|
||||
import org.eclipse.emf.ecore.util.EObjectContainmentEList;
|
||||
import org.eclipse.emf.ecore.util.InternalEList;
|
||||
import org.emoflon.ibex.gt.StateModel.AttributeDelta;
|
||||
import org.emoflon.ibex.gt.StateModel.IBeXMatch;
|
||||
import org.emoflon.ibex.gt.StateModel.MatchDelta;
|
||||
import org.emoflon.ibex.gt.StateModel.Parameter;
|
||||
import org.emoflon.ibex.gt.StateModel.RuleState;
|
||||
import org.emoflon.ibex.gt.StateModel.State;
|
||||
import org.emoflon.ibex.gt.StateModel.StateModelPackage;
|
||||
import org.emoflon.ibex.gt.StateModel.StructuralDelta;
|
||||
|
||||
import org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXRule;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* An implementation of the model object '<em><b>Rule State</b></em>'.
|
||||
* <!-- end-user-doc -->
|
||||
* <p>
|
||||
* The following features are implemented:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.emoflon.ibex.gt.StateModel.impl.RuleStateImpl#getParent <em>Parent</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.gt.StateModel.impl.RuleStateImpl#getRule <em>Rule</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.gt.StateModel.impl.RuleStateImpl#getStructuralDelta <em>Structural Delta</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.gt.StateModel.impl.RuleStateImpl#getAttributeDeltas <em>Attribute Deltas</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.gt.StateModel.impl.RuleStateImpl#getMatch <em>Match</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.gt.StateModel.impl.RuleStateImpl#getCoMatch <em>Co Match</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.gt.StateModel.impl.RuleStateImpl#getParameters <em>Parameters</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.gt.StateModel.impl.RuleStateImpl#getDeletedMatches <em>Deleted Matches</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.gt.StateModel.impl.RuleStateImpl#getCreatedMatches <em>Created Matches</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.gt.StateModel.impl.RuleStateImpl#getMatchCount <em>Match Count</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @generated
|
||||
*/
|
||||
public class RuleStateImpl extends StateImpl implements RuleState {
|
||||
/**
|
||||
* The cached value of the '{@link #getParent() <em>Parent</em>}' reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #getParent()
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
protected State parent;
|
||||
|
||||
/**
|
||||
* The cached value of the '{@link #getRule() <em>Rule</em>}' reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #getRule()
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
protected IBeXRule rule;
|
||||
|
||||
/**
|
||||
* The cached value of the '{@link #getStructuralDelta() <em>Structural Delta</em>}' containment reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #getStructuralDelta()
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
protected StructuralDelta structuralDelta;
|
||||
|
||||
/**
|
||||
* The cached value of the '{@link #getAttributeDeltas() <em>Attribute Deltas</em>}' containment reference list.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #getAttributeDeltas()
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
protected EList<AttributeDelta> attributeDeltas;
|
||||
|
||||
/**
|
||||
* The cached value of the '{@link #getMatch() <em>Match</em>}' containment reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #getMatch()
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
protected IBeXMatch match;
|
||||
|
||||
/**
|
||||
* The cached value of the '{@link #getCoMatch() <em>Co Match</em>}' containment reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #getCoMatch()
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
protected IBeXMatch coMatch;
|
||||
|
||||
/**
|
||||
* The cached value of the '{@link #getParameters() <em>Parameters</em>}' containment reference list.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #getParameters()
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
protected EList<Parameter> parameters;
|
||||
|
||||
/**
|
||||
* The cached value of the '{@link #getDeletedMatches() <em>Deleted Matches</em>}' containment reference list.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #getDeletedMatches()
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
protected EList<MatchDelta> deletedMatches;
|
||||
|
||||
/**
|
||||
* The cached value of the '{@link #getCreatedMatches() <em>Created Matches</em>}' containment reference list.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #getCreatedMatches()
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
protected EList<MatchDelta> createdMatches;
|
||||
|
||||
/**
|
||||
* The default value of the '{@link #getMatchCount() <em>Match Count</em>}' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #getMatchCount()
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
protected static final long MATCH_COUNT_EDEFAULT = 0L;
|
||||
|
||||
/**
|
||||
* The cached value of the '{@link #getMatchCount() <em>Match Count</em>}' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #getMatchCount()
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
protected long matchCount = MATCH_COUNT_EDEFAULT;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
protected RuleStateImpl() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
protected EClass eStaticClass() {
|
||||
return StateModelPackage.Literals.RULE_STATE;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public State getParent() {
|
||||
if (parent != null && parent.eIsProxy()) {
|
||||
InternalEObject oldParent = (InternalEObject) parent;
|
||||
parent = (State) eResolveProxy(oldParent);
|
||||
if (parent != oldParent) {
|
||||
if (eNotificationRequired())
|
||||
eNotify(new ENotificationImpl(this, Notification.RESOLVE, StateModelPackage.RULE_STATE__PARENT,
|
||||
oldParent, parent));
|
||||
}
|
||||
}
|
||||
return parent;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
public State basicGetParent() {
|
||||
return parent;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public void setParent(State newParent) {
|
||||
State oldParent = parent;
|
||||
parent = newParent;
|
||||
if (eNotificationRequired())
|
||||
eNotify(new ENotificationImpl(this, Notification.SET, StateModelPackage.RULE_STATE__PARENT, oldParent,
|
||||
parent));
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public IBeXRule getRule() {
|
||||
if (rule != null && rule.eIsProxy()) {
|
||||
InternalEObject oldRule = (InternalEObject) rule;
|
||||
rule = (IBeXRule) eResolveProxy(oldRule);
|
||||
if (rule != oldRule) {
|
||||
if (eNotificationRequired())
|
||||
eNotify(new ENotificationImpl(this, Notification.RESOLVE, StateModelPackage.RULE_STATE__RULE,
|
||||
oldRule, rule));
|
||||
}
|
||||
}
|
||||
return rule;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
public IBeXRule basicGetRule() {
|
||||
return rule;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public void setRule(IBeXRule newRule) {
|
||||
IBeXRule oldRule = rule;
|
||||
rule = newRule;
|
||||
if (eNotificationRequired())
|
||||
eNotify(new ENotificationImpl(this, Notification.SET, StateModelPackage.RULE_STATE__RULE, oldRule, rule));
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public StructuralDelta getStructuralDelta() {
|
||||
return structuralDelta;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
public NotificationChain basicSetStructuralDelta(StructuralDelta newStructuralDelta, NotificationChain msgs) {
|
||||
StructuralDelta oldStructuralDelta = structuralDelta;
|
||||
structuralDelta = newStructuralDelta;
|
||||
if (eNotificationRequired()) {
|
||||
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
|
||||
StateModelPackage.RULE_STATE__STRUCTURAL_DELTA, oldStructuralDelta, newStructuralDelta);
|
||||
if (msgs == null)
|
||||
msgs = notification;
|
||||
else
|
||||
msgs.add(notification);
|
||||
}
|
||||
return msgs;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public void setStructuralDelta(StructuralDelta newStructuralDelta) {
|
||||
if (newStructuralDelta != structuralDelta) {
|
||||
NotificationChain msgs = null;
|
||||
if (structuralDelta != null)
|
||||
msgs = ((InternalEObject) structuralDelta).eInverseRemove(this,
|
||||
EOPPOSITE_FEATURE_BASE - StateModelPackage.RULE_STATE__STRUCTURAL_DELTA, null, msgs);
|
||||
if (newStructuralDelta != null)
|
||||
msgs = ((InternalEObject) newStructuralDelta).eInverseAdd(this,
|
||||
EOPPOSITE_FEATURE_BASE - StateModelPackage.RULE_STATE__STRUCTURAL_DELTA, null, msgs);
|
||||
msgs = basicSetStructuralDelta(newStructuralDelta, msgs);
|
||||
if (msgs != null)
|
||||
msgs.dispatch();
|
||||
} else if (eNotificationRequired())
|
||||
eNotify(new ENotificationImpl(this, Notification.SET, StateModelPackage.RULE_STATE__STRUCTURAL_DELTA,
|
||||
newStructuralDelta, newStructuralDelta));
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public EList<AttributeDelta> getAttributeDeltas() {
|
||||
if (attributeDeltas == null) {
|
||||
attributeDeltas = new EObjectContainmentEList<AttributeDelta>(AttributeDelta.class, this,
|
||||
StateModelPackage.RULE_STATE__ATTRIBUTE_DELTAS);
|
||||
}
|
||||
return attributeDeltas;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public IBeXMatch getMatch() {
|
||||
return match;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
public NotificationChain basicSetMatch(IBeXMatch newMatch, NotificationChain msgs) {
|
||||
IBeXMatch oldMatch = match;
|
||||
match = newMatch;
|
||||
if (eNotificationRequired()) {
|
||||
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
|
||||
StateModelPackage.RULE_STATE__MATCH, oldMatch, newMatch);
|
||||
if (msgs == null)
|
||||
msgs = notification;
|
||||
else
|
||||
msgs.add(notification);
|
||||
}
|
||||
return msgs;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public void setMatch(IBeXMatch newMatch) {
|
||||
if (newMatch != match) {
|
||||
NotificationChain msgs = null;
|
||||
if (match != null)
|
||||
msgs = ((InternalEObject) match).eInverseRemove(this,
|
||||
EOPPOSITE_FEATURE_BASE - StateModelPackage.RULE_STATE__MATCH, null, msgs);
|
||||
if (newMatch != null)
|
||||
msgs = ((InternalEObject) newMatch).eInverseAdd(this,
|
||||
EOPPOSITE_FEATURE_BASE - StateModelPackage.RULE_STATE__MATCH, null, msgs);
|
||||
msgs = basicSetMatch(newMatch, msgs);
|
||||
if (msgs != null)
|
||||
msgs.dispatch();
|
||||
} else if (eNotificationRequired())
|
||||
eNotify(new ENotificationImpl(this, Notification.SET, StateModelPackage.RULE_STATE__MATCH, newMatch,
|
||||
newMatch));
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public IBeXMatch getCoMatch() {
|
||||
return coMatch;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
public NotificationChain basicSetCoMatch(IBeXMatch newCoMatch, NotificationChain msgs) {
|
||||
IBeXMatch oldCoMatch = coMatch;
|
||||
coMatch = newCoMatch;
|
||||
if (eNotificationRequired()) {
|
||||
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
|
||||
StateModelPackage.RULE_STATE__CO_MATCH, oldCoMatch, newCoMatch);
|
||||
if (msgs == null)
|
||||
msgs = notification;
|
||||
else
|
||||
msgs.add(notification);
|
||||
}
|
||||
return msgs;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public void setCoMatch(IBeXMatch newCoMatch) {
|
||||
if (newCoMatch != coMatch) {
|
||||
NotificationChain msgs = null;
|
||||
if (coMatch != null)
|
||||
msgs = ((InternalEObject) coMatch).eInverseRemove(this,
|
||||
EOPPOSITE_FEATURE_BASE - StateModelPackage.RULE_STATE__CO_MATCH, null, msgs);
|
||||
if (newCoMatch != null)
|
||||
msgs = ((InternalEObject) newCoMatch).eInverseAdd(this,
|
||||
EOPPOSITE_FEATURE_BASE - StateModelPackage.RULE_STATE__CO_MATCH, null, msgs);
|
||||
msgs = basicSetCoMatch(newCoMatch, msgs);
|
||||
if (msgs != null)
|
||||
msgs.dispatch();
|
||||
} else if (eNotificationRequired())
|
||||
eNotify(new ENotificationImpl(this, Notification.SET, StateModelPackage.RULE_STATE__CO_MATCH, newCoMatch,
|
||||
newCoMatch));
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public EList<Parameter> getParameters() {
|
||||
if (parameters == null) {
|
||||
parameters = new EObjectContainmentEList<Parameter>(Parameter.class, this,
|
||||
StateModelPackage.RULE_STATE__PARAMETERS);
|
||||
}
|
||||
return parameters;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public EList<MatchDelta> getDeletedMatches() {
|
||||
if (deletedMatches == null) {
|
||||
deletedMatches = new EObjectContainmentEList<MatchDelta>(MatchDelta.class, this,
|
||||
StateModelPackage.RULE_STATE__DELETED_MATCHES);
|
||||
}
|
||||
return deletedMatches;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public EList<MatchDelta> getCreatedMatches() {
|
||||
if (createdMatches == null) {
|
||||
createdMatches = new EObjectContainmentEList<MatchDelta>(MatchDelta.class, this,
|
||||
StateModelPackage.RULE_STATE__CREATED_MATCHES);
|
||||
}
|
||||
return createdMatches;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public long getMatchCount() {
|
||||
return matchCount;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public void setMatchCount(long newMatchCount) {
|
||||
long oldMatchCount = matchCount;
|
||||
matchCount = newMatchCount;
|
||||
if (eNotificationRequired())
|
||||
eNotify(new ENotificationImpl(this, Notification.SET, StateModelPackage.RULE_STATE__MATCH_COUNT,
|
||||
oldMatchCount, matchCount));
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
|
||||
switch (featureID) {
|
||||
case StateModelPackage.RULE_STATE__STRUCTURAL_DELTA:
|
||||
return basicSetStructuralDelta(null, msgs);
|
||||
case StateModelPackage.RULE_STATE__ATTRIBUTE_DELTAS:
|
||||
return ((InternalEList<?>) getAttributeDeltas()).basicRemove(otherEnd, msgs);
|
||||
case StateModelPackage.RULE_STATE__MATCH:
|
||||
return basicSetMatch(null, msgs);
|
||||
case StateModelPackage.RULE_STATE__CO_MATCH:
|
||||
return basicSetCoMatch(null, msgs);
|
||||
case StateModelPackage.RULE_STATE__PARAMETERS:
|
||||
return ((InternalEList<?>) getParameters()).basicRemove(otherEnd, msgs);
|
||||
case StateModelPackage.RULE_STATE__DELETED_MATCHES:
|
||||
return ((InternalEList<?>) getDeletedMatches()).basicRemove(otherEnd, msgs);
|
||||
case StateModelPackage.RULE_STATE__CREATED_MATCHES:
|
||||
return ((InternalEList<?>) getCreatedMatches()).basicRemove(otherEnd, msgs);
|
||||
}
|
||||
return super.eInverseRemove(otherEnd, featureID, msgs);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public Object eGet(int featureID, boolean resolve, boolean coreType) {
|
||||
switch (featureID) {
|
||||
case StateModelPackage.RULE_STATE__PARENT:
|
||||
if (resolve)
|
||||
return getParent();
|
||||
return basicGetParent();
|
||||
case StateModelPackage.RULE_STATE__RULE:
|
||||
if (resolve)
|
||||
return getRule();
|
||||
return basicGetRule();
|
||||
case StateModelPackage.RULE_STATE__STRUCTURAL_DELTA:
|
||||
return getStructuralDelta();
|
||||
case StateModelPackage.RULE_STATE__ATTRIBUTE_DELTAS:
|
||||
return getAttributeDeltas();
|
||||
case StateModelPackage.RULE_STATE__MATCH:
|
||||
return getMatch();
|
||||
case StateModelPackage.RULE_STATE__CO_MATCH:
|
||||
return getCoMatch();
|
||||
case StateModelPackage.RULE_STATE__PARAMETERS:
|
||||
return getParameters();
|
||||
case StateModelPackage.RULE_STATE__DELETED_MATCHES:
|
||||
return getDeletedMatches();
|
||||
case StateModelPackage.RULE_STATE__CREATED_MATCHES:
|
||||
return getCreatedMatches();
|
||||
case StateModelPackage.RULE_STATE__MATCH_COUNT:
|
||||
return getMatchCount();
|
||||
}
|
||||
return super.eGet(featureID, resolve, coreType);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@SuppressWarnings("unchecked")
|
||||
@Override
|
||||
public void eSet(int featureID, Object newValue) {
|
||||
switch (featureID) {
|
||||
case StateModelPackage.RULE_STATE__PARENT:
|
||||
setParent((State) newValue);
|
||||
return;
|
||||
case StateModelPackage.RULE_STATE__RULE:
|
||||
setRule((IBeXRule) newValue);
|
||||
return;
|
||||
case StateModelPackage.RULE_STATE__STRUCTURAL_DELTA:
|
||||
setStructuralDelta((StructuralDelta) newValue);
|
||||
return;
|
||||
case StateModelPackage.RULE_STATE__ATTRIBUTE_DELTAS:
|
||||
getAttributeDeltas().clear();
|
||||
getAttributeDeltas().addAll((Collection<? extends AttributeDelta>) newValue);
|
||||
return;
|
||||
case StateModelPackage.RULE_STATE__MATCH:
|
||||
setMatch((IBeXMatch) newValue);
|
||||
return;
|
||||
case StateModelPackage.RULE_STATE__CO_MATCH:
|
||||
setCoMatch((IBeXMatch) newValue);
|
||||
return;
|
||||
case StateModelPackage.RULE_STATE__PARAMETERS:
|
||||
getParameters().clear();
|
||||
getParameters().addAll((Collection<? extends Parameter>) newValue);
|
||||
return;
|
||||
case StateModelPackage.RULE_STATE__DELETED_MATCHES:
|
||||
getDeletedMatches().clear();
|
||||
getDeletedMatches().addAll((Collection<? extends MatchDelta>) newValue);
|
||||
return;
|
||||
case StateModelPackage.RULE_STATE__CREATED_MATCHES:
|
||||
getCreatedMatches().clear();
|
||||
getCreatedMatches().addAll((Collection<? extends MatchDelta>) newValue);
|
||||
return;
|
||||
case StateModelPackage.RULE_STATE__MATCH_COUNT:
|
||||
setMatchCount((Long) newValue);
|
||||
return;
|
||||
}
|
||||
super.eSet(featureID, newValue);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public void eUnset(int featureID) {
|
||||
switch (featureID) {
|
||||
case StateModelPackage.RULE_STATE__PARENT:
|
||||
setParent((State) null);
|
||||
return;
|
||||
case StateModelPackage.RULE_STATE__RULE:
|
||||
setRule((IBeXRule) null);
|
||||
return;
|
||||
case StateModelPackage.RULE_STATE__STRUCTURAL_DELTA:
|
||||
setStructuralDelta((StructuralDelta) null);
|
||||
return;
|
||||
case StateModelPackage.RULE_STATE__ATTRIBUTE_DELTAS:
|
||||
getAttributeDeltas().clear();
|
||||
return;
|
||||
case StateModelPackage.RULE_STATE__MATCH:
|
||||
setMatch((IBeXMatch) null);
|
||||
return;
|
||||
case StateModelPackage.RULE_STATE__CO_MATCH:
|
||||
setCoMatch((IBeXMatch) null);
|
||||
return;
|
||||
case StateModelPackage.RULE_STATE__PARAMETERS:
|
||||
getParameters().clear();
|
||||
return;
|
||||
case StateModelPackage.RULE_STATE__DELETED_MATCHES:
|
||||
getDeletedMatches().clear();
|
||||
return;
|
||||
case StateModelPackage.RULE_STATE__CREATED_MATCHES:
|
||||
getCreatedMatches().clear();
|
||||
return;
|
||||
case StateModelPackage.RULE_STATE__MATCH_COUNT:
|
||||
setMatchCount(MATCH_COUNT_EDEFAULT);
|
||||
return;
|
||||
}
|
||||
super.eUnset(featureID);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public boolean eIsSet(int featureID) {
|
||||
switch (featureID) {
|
||||
case StateModelPackage.RULE_STATE__PARENT:
|
||||
return parent != null;
|
||||
case StateModelPackage.RULE_STATE__RULE:
|
||||
return rule != null;
|
||||
case StateModelPackage.RULE_STATE__STRUCTURAL_DELTA:
|
||||
return structuralDelta != null;
|
||||
case StateModelPackage.RULE_STATE__ATTRIBUTE_DELTAS:
|
||||
return attributeDeltas != null && !attributeDeltas.isEmpty();
|
||||
case StateModelPackage.RULE_STATE__MATCH:
|
||||
return match != null;
|
||||
case StateModelPackage.RULE_STATE__CO_MATCH:
|
||||
return coMatch != null;
|
||||
case StateModelPackage.RULE_STATE__PARAMETERS:
|
||||
return parameters != null && !parameters.isEmpty();
|
||||
case StateModelPackage.RULE_STATE__DELETED_MATCHES:
|
||||
return deletedMatches != null && !deletedMatches.isEmpty();
|
||||
case StateModelPackage.RULE_STATE__CREATED_MATCHES:
|
||||
return createdMatches != null && !createdMatches.isEmpty();
|
||||
case StateModelPackage.RULE_STATE__MATCH_COUNT:
|
||||
return matchCount != MATCH_COUNT_EDEFAULT;
|
||||
}
|
||||
return super.eIsSet(featureID);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public String toString() {
|
||||
if (eIsProxy())
|
||||
return super.toString();
|
||||
|
||||
StringBuilder result = new StringBuilder(super.toString());
|
||||
result.append(" (matchCount: ");
|
||||
result.append(matchCount);
|
||||
result.append(')');
|
||||
return result.toString();
|
||||
}
|
||||
|
||||
} //RuleStateImpl
|
|
@ -1,233 +0,0 @@
|
|||
/**
|
||||
*/
|
||||
package org.emoflon.ibex.gt.StateModel.impl;
|
||||
|
||||
import org.eclipse.emf.common.notify.Notification;
|
||||
|
||||
import org.eclipse.emf.ecore.EClass;
|
||||
|
||||
import org.eclipse.emf.ecore.EDataType;
|
||||
import org.eclipse.emf.ecore.InternalEObject;
|
||||
import org.eclipse.emf.ecore.impl.ENotificationImpl;
|
||||
|
||||
import org.emoflon.ibex.gt.StateModel.SimpleParameter;
|
||||
import org.emoflon.ibex.gt.StateModel.StateModelPackage;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* An implementation of the model object '<em><b>Simple Parameter</b></em>'.
|
||||
* <!-- end-user-doc -->
|
||||
* <p>
|
||||
* The following features are implemented:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.emoflon.ibex.gt.StateModel.impl.SimpleParameterImpl#getValue <em>Value</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.gt.StateModel.impl.SimpleParameterImpl#getType <em>Type</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @generated
|
||||
*/
|
||||
public class SimpleParameterImpl extends ParameterImpl implements SimpleParameter {
|
||||
/**
|
||||
* The default value of the '{@link #getValue() <em>Value</em>}' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #getValue()
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
protected static final String VALUE_EDEFAULT = null;
|
||||
|
||||
/**
|
||||
* The cached value of the '{@link #getValue() <em>Value</em>}' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #getValue()
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
protected String value = VALUE_EDEFAULT;
|
||||
|
||||
/**
|
||||
* The cached value of the '{@link #getType() <em>Type</em>}' reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #getType()
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
protected EDataType type;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
protected SimpleParameterImpl() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
protected EClass eStaticClass() {
|
||||
return StateModelPackage.Literals.SIMPLE_PARAMETER;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public String getValue() {
|
||||
return value;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public void setValue(String newValue) {
|
||||
String oldValue = value;
|
||||
value = newValue;
|
||||
if (eNotificationRequired())
|
||||
eNotify(new ENotificationImpl(this, Notification.SET, StateModelPackage.SIMPLE_PARAMETER__VALUE, oldValue,
|
||||
value));
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public EDataType getType() {
|
||||
if (type != null && type.eIsProxy()) {
|
||||
InternalEObject oldType = (InternalEObject) type;
|
||||
type = (EDataType) eResolveProxy(oldType);
|
||||
if (type != oldType) {
|
||||
if (eNotificationRequired())
|
||||
eNotify(new ENotificationImpl(this, Notification.RESOLVE, StateModelPackage.SIMPLE_PARAMETER__TYPE,
|
||||
oldType, type));
|
||||
}
|
||||
}
|
||||
return type;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
public EDataType basicGetType() {
|
||||
return type;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public void setType(EDataType newType) {
|
||||
EDataType oldType = type;
|
||||
type = newType;
|
||||
if (eNotificationRequired())
|
||||
eNotify(new ENotificationImpl(this, Notification.SET, StateModelPackage.SIMPLE_PARAMETER__TYPE, oldType,
|
||||
type));
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public Object eGet(int featureID, boolean resolve, boolean coreType) {
|
||||
switch (featureID) {
|
||||
case StateModelPackage.SIMPLE_PARAMETER__VALUE:
|
||||
return getValue();
|
||||
case StateModelPackage.SIMPLE_PARAMETER__TYPE:
|
||||
if (resolve)
|
||||
return getType();
|
||||
return basicGetType();
|
||||
}
|
||||
return super.eGet(featureID, resolve, coreType);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public void eSet(int featureID, Object newValue) {
|
||||
switch (featureID) {
|
||||
case StateModelPackage.SIMPLE_PARAMETER__VALUE:
|
||||
setValue((String) newValue);
|
||||
return;
|
||||
case StateModelPackage.SIMPLE_PARAMETER__TYPE:
|
||||
setType((EDataType) newValue);
|
||||
return;
|
||||
}
|
||||
super.eSet(featureID, newValue);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public void eUnset(int featureID) {
|
||||
switch (featureID) {
|
||||
case StateModelPackage.SIMPLE_PARAMETER__VALUE:
|
||||
setValue(VALUE_EDEFAULT);
|
||||
return;
|
||||
case StateModelPackage.SIMPLE_PARAMETER__TYPE:
|
||||
setType((EDataType) null);
|
||||
return;
|
||||
}
|
||||
super.eUnset(featureID);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public boolean eIsSet(int featureID) {
|
||||
switch (featureID) {
|
||||
case StateModelPackage.SIMPLE_PARAMETER__VALUE:
|
||||
return VALUE_EDEFAULT == null ? value != null : !VALUE_EDEFAULT.equals(value);
|
||||
case StateModelPackage.SIMPLE_PARAMETER__TYPE:
|
||||
return type != null;
|
||||
}
|
||||
return super.eIsSet(featureID);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public String toString() {
|
||||
if (eIsProxy())
|
||||
return super.toString();
|
||||
|
||||
StringBuilder result = new StringBuilder(super.toString());
|
||||
result.append(" (value: ");
|
||||
result.append(value);
|
||||
result.append(')');
|
||||
return result.toString();
|
||||
}
|
||||
|
||||
} //SimpleParameterImpl
|
|
@ -1,269 +0,0 @@
|
|||
/**
|
||||
*/
|
||||
package org.emoflon.ibex.gt.StateModel.impl;
|
||||
|
||||
import java.util.Collection;
|
||||
|
||||
import org.eclipse.emf.common.notify.Notification;
|
||||
import org.eclipse.emf.common.notify.NotificationChain;
|
||||
|
||||
import org.eclipse.emf.common.util.EList;
|
||||
|
||||
import org.eclipse.emf.ecore.EClass;
|
||||
import org.eclipse.emf.ecore.InternalEObject;
|
||||
|
||||
import org.eclipse.emf.ecore.impl.ENotificationImpl;
|
||||
import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
|
||||
|
||||
import org.eclipse.emf.ecore.util.EObjectContainmentEList;
|
||||
import org.eclipse.emf.ecore.util.InternalEList;
|
||||
|
||||
import org.emoflon.ibex.gt.StateModel.IBeXMatch;
|
||||
import org.emoflon.ibex.gt.StateModel.State;
|
||||
import org.emoflon.ibex.gt.StateModel.StateContainer;
|
||||
import org.emoflon.ibex.gt.StateModel.StateModelPackage;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* An implementation of the model object '<em><b>State Container</b></em>'.
|
||||
* <!-- end-user-doc -->
|
||||
* <p>
|
||||
* The following features are implemented:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.emoflon.ibex.gt.StateModel.impl.StateContainerImpl#getStates <em>States</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.gt.StateModel.impl.StateContainerImpl#getInitialState <em>Initial State</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.gt.StateModel.impl.StateContainerImpl#getInitialMatches <em>Initial Matches</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @generated
|
||||
*/
|
||||
public class StateContainerImpl extends MinimalEObjectImpl.Container implements StateContainer {
|
||||
/**
|
||||
* The cached value of the '{@link #getStates() <em>States</em>}' containment reference list.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #getStates()
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
protected EList<State> states;
|
||||
|
||||
/**
|
||||
* The cached value of the '{@link #getInitialState() <em>Initial State</em>}' containment reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #getInitialState()
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
protected State initialState;
|
||||
|
||||
/**
|
||||
* The cached value of the '{@link #getInitialMatches() <em>Initial Matches</em>}' containment reference list.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #getInitialMatches()
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
protected EList<IBeXMatch> initialMatches;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
protected StateContainerImpl() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
protected EClass eStaticClass() {
|
||||
return StateModelPackage.Literals.STATE_CONTAINER;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public EList<State> getStates() {
|
||||
if (states == null) {
|
||||
states = new EObjectContainmentEList<State>(State.class, this, StateModelPackage.STATE_CONTAINER__STATES);
|
||||
}
|
||||
return states;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public State getInitialState() {
|
||||
return initialState;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
public NotificationChain basicSetInitialState(State newInitialState, NotificationChain msgs) {
|
||||
State oldInitialState = initialState;
|
||||
initialState = newInitialState;
|
||||
if (eNotificationRequired()) {
|
||||
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
|
||||
StateModelPackage.STATE_CONTAINER__INITIAL_STATE, oldInitialState, newInitialState);
|
||||
if (msgs == null)
|
||||
msgs = notification;
|
||||
else
|
||||
msgs.add(notification);
|
||||
}
|
||||
return msgs;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public void setInitialState(State newInitialState) {
|
||||
if (newInitialState != initialState) {
|
||||
NotificationChain msgs = null;
|
||||
if (initialState != null)
|
||||
msgs = ((InternalEObject) initialState).eInverseRemove(this,
|
||||
EOPPOSITE_FEATURE_BASE - StateModelPackage.STATE_CONTAINER__INITIAL_STATE, null, msgs);
|
||||
if (newInitialState != null)
|
||||
msgs = ((InternalEObject) newInitialState).eInverseAdd(this,
|
||||
EOPPOSITE_FEATURE_BASE - StateModelPackage.STATE_CONTAINER__INITIAL_STATE, null, msgs);
|
||||
msgs = basicSetInitialState(newInitialState, msgs);
|
||||
if (msgs != null)
|
||||
msgs.dispatch();
|
||||
} else if (eNotificationRequired())
|
||||
eNotify(new ENotificationImpl(this, Notification.SET, StateModelPackage.STATE_CONTAINER__INITIAL_STATE,
|
||||
newInitialState, newInitialState));
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public EList<IBeXMatch> getInitialMatches() {
|
||||
if (initialMatches == null) {
|
||||
initialMatches = new EObjectContainmentEList<IBeXMatch>(IBeXMatch.class, this,
|
||||
StateModelPackage.STATE_CONTAINER__INITIAL_MATCHES);
|
||||
}
|
||||
return initialMatches;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
|
||||
switch (featureID) {
|
||||
case StateModelPackage.STATE_CONTAINER__STATES:
|
||||
return ((InternalEList<?>) getStates()).basicRemove(otherEnd, msgs);
|
||||
case StateModelPackage.STATE_CONTAINER__INITIAL_STATE:
|
||||
return basicSetInitialState(null, msgs);
|
||||
case StateModelPackage.STATE_CONTAINER__INITIAL_MATCHES:
|
||||
return ((InternalEList<?>) getInitialMatches()).basicRemove(otherEnd, msgs);
|
||||
}
|
||||
return super.eInverseRemove(otherEnd, featureID, msgs);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public Object eGet(int featureID, boolean resolve, boolean coreType) {
|
||||
switch (featureID) {
|
||||
case StateModelPackage.STATE_CONTAINER__STATES:
|
||||
return getStates();
|
||||
case StateModelPackage.STATE_CONTAINER__INITIAL_STATE:
|
||||
return getInitialState();
|
||||
case StateModelPackage.STATE_CONTAINER__INITIAL_MATCHES:
|
||||
return getInitialMatches();
|
||||
}
|
||||
return super.eGet(featureID, resolve, coreType);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@SuppressWarnings("unchecked")
|
||||
@Override
|
||||
public void eSet(int featureID, Object newValue) {
|
||||
switch (featureID) {
|
||||
case StateModelPackage.STATE_CONTAINER__STATES:
|
||||
getStates().clear();
|
||||
getStates().addAll((Collection<? extends State>) newValue);
|
||||
return;
|
||||
case StateModelPackage.STATE_CONTAINER__INITIAL_STATE:
|
||||
setInitialState((State) newValue);
|
||||
return;
|
||||
case StateModelPackage.STATE_CONTAINER__INITIAL_MATCHES:
|
||||
getInitialMatches().clear();
|
||||
getInitialMatches().addAll((Collection<? extends IBeXMatch>) newValue);
|
||||
return;
|
||||
}
|
||||
super.eSet(featureID, newValue);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public void eUnset(int featureID) {
|
||||
switch (featureID) {
|
||||
case StateModelPackage.STATE_CONTAINER__STATES:
|
||||
getStates().clear();
|
||||
return;
|
||||
case StateModelPackage.STATE_CONTAINER__INITIAL_STATE:
|
||||
setInitialState((State) null);
|
||||
return;
|
||||
case StateModelPackage.STATE_CONTAINER__INITIAL_MATCHES:
|
||||
getInitialMatches().clear();
|
||||
return;
|
||||
}
|
||||
super.eUnset(featureID);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public boolean eIsSet(int featureID) {
|
||||
switch (featureID) {
|
||||
case StateModelPackage.STATE_CONTAINER__STATES:
|
||||
return states != null && !states.isEmpty();
|
||||
case StateModelPackage.STATE_CONTAINER__INITIAL_STATE:
|
||||
return initialState != null;
|
||||
case StateModelPackage.STATE_CONTAINER__INITIAL_MATCHES:
|
||||
return initialMatches != null && !initialMatches.isEmpty();
|
||||
}
|
||||
return super.eIsSet(featureID);
|
||||
}
|
||||
|
||||
} //StateContainerImpl
|
|
@ -1,323 +0,0 @@
|
|||
/**
|
||||
*/
|
||||
package org.emoflon.ibex.gt.StateModel.impl;
|
||||
|
||||
import java.util.Collection;
|
||||
|
||||
import org.eclipse.emf.common.notify.Notification;
|
||||
|
||||
import org.eclipse.emf.common.util.EList;
|
||||
|
||||
import org.eclipse.emf.ecore.EClass;
|
||||
|
||||
import org.eclipse.emf.ecore.impl.ENotificationImpl;
|
||||
import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
|
||||
|
||||
import org.eclipse.emf.ecore.util.EObjectResolvingEList;
|
||||
|
||||
import org.emoflon.ibex.gt.StateModel.RuleState;
|
||||
import org.emoflon.ibex.gt.StateModel.State;
|
||||
import org.emoflon.ibex.gt.StateModel.StateModelPackage;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* An implementation of the model object '<em><b>State</b></em>'.
|
||||
* <!-- end-user-doc -->
|
||||
* <p>
|
||||
* The following features are implemented:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.emoflon.ibex.gt.StateModel.impl.StateImpl#isInitial <em>Initial</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.gt.StateModel.impl.StateImpl#getChildren <em>Children</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.gt.StateModel.impl.StateImpl#getHash <em>Hash</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.gt.StateModel.impl.StateImpl#getPushoutApproach <em>Pushout Approach</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @generated
|
||||
*/
|
||||
public class StateImpl extends MinimalEObjectImpl.Container implements State {
|
||||
/**
|
||||
* The default value of the '{@link #isInitial() <em>Initial</em>}' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #isInitial()
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
protected static final boolean INITIAL_EDEFAULT = false;
|
||||
|
||||
/**
|
||||
* The cached value of the '{@link #isInitial() <em>Initial</em>}' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #isInitial()
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
protected boolean initial = INITIAL_EDEFAULT;
|
||||
|
||||
/**
|
||||
* The cached value of the '{@link #getChildren() <em>Children</em>}' reference list.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #getChildren()
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
protected EList<RuleState> children;
|
||||
|
||||
/**
|
||||
* The default value of the '{@link #getHash() <em>Hash</em>}' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #getHash()
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
protected static final long HASH_EDEFAULT = 0L;
|
||||
|
||||
/**
|
||||
* The cached value of the '{@link #getHash() <em>Hash</em>}' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #getHash()
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
protected long hash = HASH_EDEFAULT;
|
||||
|
||||
/**
|
||||
* The default value of the '{@link #getPushoutApproach() <em>Pushout Approach</em>}' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #getPushoutApproach()
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
protected static final int PUSHOUT_APPROACH_EDEFAULT = 0;
|
||||
|
||||
/**
|
||||
* The cached value of the '{@link #getPushoutApproach() <em>Pushout Approach</em>}' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #getPushoutApproach()
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
protected int pushoutApproach = PUSHOUT_APPROACH_EDEFAULT;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
protected StateImpl() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
protected EClass eStaticClass() {
|
||||
return StateModelPackage.Literals.STATE;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public boolean isInitial() {
|
||||
return initial;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public void setInitial(boolean newInitial) {
|
||||
boolean oldInitial = initial;
|
||||
initial = newInitial;
|
||||
if (eNotificationRequired())
|
||||
eNotify(new ENotificationImpl(this, Notification.SET, StateModelPackage.STATE__INITIAL, oldInitial,
|
||||
initial));
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public EList<RuleState> getChildren() {
|
||||
if (children == null) {
|
||||
children = new EObjectResolvingEList<RuleState>(RuleState.class, this, StateModelPackage.STATE__CHILDREN);
|
||||
}
|
||||
return children;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public long getHash() {
|
||||
return hash;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public void setHash(long newHash) {
|
||||
long oldHash = hash;
|
||||
hash = newHash;
|
||||
if (eNotificationRequired())
|
||||
eNotify(new ENotificationImpl(this, Notification.SET, StateModelPackage.STATE__HASH, oldHash, hash));
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public int getPushoutApproach() {
|
||||
return pushoutApproach;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public void setPushoutApproach(int newPushoutApproach) {
|
||||
int oldPushoutApproach = pushoutApproach;
|
||||
pushoutApproach = newPushoutApproach;
|
||||
if (eNotificationRequired())
|
||||
eNotify(new ENotificationImpl(this, Notification.SET, StateModelPackage.STATE__PUSHOUT_APPROACH,
|
||||
oldPushoutApproach, pushoutApproach));
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public Object eGet(int featureID, boolean resolve, boolean coreType) {
|
||||
switch (featureID) {
|
||||
case StateModelPackage.STATE__INITIAL:
|
||||
return isInitial();
|
||||
case StateModelPackage.STATE__CHILDREN:
|
||||
return getChildren();
|
||||
case StateModelPackage.STATE__HASH:
|
||||
return getHash();
|
||||
case StateModelPackage.STATE__PUSHOUT_APPROACH:
|
||||
return getPushoutApproach();
|
||||
}
|
||||
return super.eGet(featureID, resolve, coreType);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@SuppressWarnings("unchecked")
|
||||
@Override
|
||||
public void eSet(int featureID, Object newValue) {
|
||||
switch (featureID) {
|
||||
case StateModelPackage.STATE__INITIAL:
|
||||
setInitial((Boolean) newValue);
|
||||
return;
|
||||
case StateModelPackage.STATE__CHILDREN:
|
||||
getChildren().clear();
|
||||
getChildren().addAll((Collection<? extends RuleState>) newValue);
|
||||
return;
|
||||
case StateModelPackage.STATE__HASH:
|
||||
setHash((Long) newValue);
|
||||
return;
|
||||
case StateModelPackage.STATE__PUSHOUT_APPROACH:
|
||||
setPushoutApproach((Integer) newValue);
|
||||
return;
|
||||
}
|
||||
super.eSet(featureID, newValue);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public void eUnset(int featureID) {
|
||||
switch (featureID) {
|
||||
case StateModelPackage.STATE__INITIAL:
|
||||
setInitial(INITIAL_EDEFAULT);
|
||||
return;
|
||||
case StateModelPackage.STATE__CHILDREN:
|
||||
getChildren().clear();
|
||||
return;
|
||||
case StateModelPackage.STATE__HASH:
|
||||
setHash(HASH_EDEFAULT);
|
||||
return;
|
||||
case StateModelPackage.STATE__PUSHOUT_APPROACH:
|
||||
setPushoutApproach(PUSHOUT_APPROACH_EDEFAULT);
|
||||
return;
|
||||
}
|
||||
super.eUnset(featureID);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public boolean eIsSet(int featureID) {
|
||||
switch (featureID) {
|
||||
case StateModelPackage.STATE__INITIAL:
|
||||
return initial != INITIAL_EDEFAULT;
|
||||
case StateModelPackage.STATE__CHILDREN:
|
||||
return children != null && !children.isEmpty();
|
||||
case StateModelPackage.STATE__HASH:
|
||||
return hash != HASH_EDEFAULT;
|
||||
case StateModelPackage.STATE__PUSHOUT_APPROACH:
|
||||
return pushoutApproach != PUSHOUT_APPROACH_EDEFAULT;
|
||||
}
|
||||
return super.eIsSet(featureID);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public String toString() {
|
||||
if (eIsProxy())
|
||||
return super.toString();
|
||||
|
||||
StringBuilder result = new StringBuilder(super.toString());
|
||||
result.append(" (initial: ");
|
||||
result.append(initial);
|
||||
result.append(", hash: ");
|
||||
result.append(hash);
|
||||
result.append(", pushoutApproach: ");
|
||||
result.append(pushoutApproach);
|
||||
result.append(')');
|
||||
return result.toString();
|
||||
}
|
||||
|
||||
} //StateImpl
|
|
@ -1,228 +0,0 @@
|
|||
/**
|
||||
*/
|
||||
package org.emoflon.ibex.gt.StateModel.impl;
|
||||
|
||||
import org.eclipse.emf.ecore.EClass;
|
||||
import org.eclipse.emf.ecore.EObject;
|
||||
import org.eclipse.emf.ecore.EPackage;
|
||||
|
||||
import org.eclipse.emf.ecore.impl.EFactoryImpl;
|
||||
|
||||
import org.eclipse.emf.ecore.plugin.EcorePlugin;
|
||||
|
||||
import org.emoflon.ibex.gt.StateModel.*;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* An implementation of the model <b>Factory</b>.
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
public class StateModelFactoryImpl extends EFactoryImpl implements StateModelFactory {
|
||||
/**
|
||||
* Creates the default factory implementation.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
public static StateModelFactory init() {
|
||||
try {
|
||||
StateModelFactory theStateModelFactory = (StateModelFactory) EPackage.Registry.INSTANCE
|
||||
.getEFactory(StateModelPackage.eNS_URI);
|
||||
if (theStateModelFactory != null) {
|
||||
return theStateModelFactory;
|
||||
}
|
||||
} catch (Exception exception) {
|
||||
EcorePlugin.INSTANCE.log(exception);
|
||||
}
|
||||
return new StateModelFactoryImpl();
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates an instance of the factory.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
public StateModelFactoryImpl() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public EObject create(EClass eClass) {
|
||||
switch (eClass.getClassifierID()) {
|
||||
case StateModelPackage.STATE_CONTAINER:
|
||||
return createStateContainer();
|
||||
case StateModelPackage.STATE:
|
||||
return createState();
|
||||
case StateModelPackage.RULE_STATE:
|
||||
return createRuleState();
|
||||
case StateModelPackage.ATTRIBUTE_DELTA:
|
||||
return createAttributeDelta();
|
||||
case StateModelPackage.STRUCTURAL_DELTA:
|
||||
return createStructuralDelta();
|
||||
case StateModelPackage.LINK:
|
||||
return createLink();
|
||||
case StateModelPackage.IBE_XMATCH:
|
||||
return createIBeXMatch();
|
||||
case StateModelPackage.VALUE:
|
||||
return createValue();
|
||||
case StateModelPackage.MATCH_DELTA:
|
||||
return createMatchDelta();
|
||||
case StateModelPackage.COMPLEX_PARAMETER:
|
||||
return createComplexParameter();
|
||||
case StateModelPackage.SIMPLE_PARAMETER:
|
||||
return createSimpleParameter();
|
||||
default:
|
||||
throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public StateContainer createStateContainer() {
|
||||
StateContainerImpl stateContainer = new StateContainerImpl();
|
||||
return stateContainer;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public State createState() {
|
||||
StateImpl state = new StateImpl();
|
||||
return state;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public RuleState createRuleState() {
|
||||
RuleStateImpl ruleState = new RuleStateImpl();
|
||||
return ruleState;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public AttributeDelta createAttributeDelta() {
|
||||
AttributeDeltaImpl attributeDelta = new AttributeDeltaImpl();
|
||||
return attributeDelta;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public StructuralDelta createStructuralDelta() {
|
||||
StructuralDeltaImpl structuralDelta = new StructuralDeltaImpl();
|
||||
return structuralDelta;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public Link createLink() {
|
||||
LinkImpl link = new LinkImpl();
|
||||
return link;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public IBeXMatch createIBeXMatch() {
|
||||
IBeXMatchImpl iBeXMatch = new IBeXMatchImpl();
|
||||
return iBeXMatch;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public Value createValue() {
|
||||
ValueImpl value = new ValueImpl();
|
||||
return value;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public MatchDelta createMatchDelta() {
|
||||
MatchDeltaImpl matchDelta = new MatchDeltaImpl();
|
||||
return matchDelta;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public ComplexParameter createComplexParameter() {
|
||||
ComplexParameterImpl complexParameter = new ComplexParameterImpl();
|
||||
return complexParameter;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public SimpleParameter createSimpleParameter() {
|
||||
SimpleParameterImpl simpleParameter = new SimpleParameterImpl();
|
||||
return simpleParameter;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public StateModelPackage getStateModelPackage() {
|
||||
return (StateModelPackage) getEPackage();
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @deprecated
|
||||
* @generated
|
||||
*/
|
||||
@Deprecated
|
||||
public static StateModelPackage getPackage() {
|
||||
return StateModelPackage.eINSTANCE;
|
||||
}
|
||||
|
||||
} //StateModelFactoryImpl
|
|
@ -1,990 +0,0 @@
|
|||
/**
|
||||
*/
|
||||
package org.emoflon.ibex.gt.StateModel.impl;
|
||||
|
||||
import org.eclipse.emf.ecore.EAttribute;
|
||||
import org.eclipse.emf.ecore.EClass;
|
||||
import org.eclipse.emf.ecore.EPackage;
|
||||
import org.eclipse.emf.ecore.EReference;
|
||||
|
||||
import org.eclipse.emf.ecore.impl.EPackageImpl;
|
||||
import org.emoflon.ibex.gt.StateModel.AttributeDelta;
|
||||
import org.emoflon.ibex.gt.StateModel.ComplexParameter;
|
||||
import org.emoflon.ibex.gt.StateModel.IBeXMatch;
|
||||
import org.emoflon.ibex.gt.StateModel.Link;
|
||||
import org.emoflon.ibex.gt.StateModel.MatchDelta;
|
||||
import org.emoflon.ibex.gt.StateModel.Parameter;
|
||||
import org.emoflon.ibex.gt.StateModel.RuleState;
|
||||
import org.emoflon.ibex.gt.StateModel.SimpleParameter;
|
||||
import org.emoflon.ibex.gt.StateModel.State;
|
||||
import org.emoflon.ibex.gt.StateModel.StateContainer;
|
||||
import org.emoflon.ibex.gt.StateModel.StateModelFactory;
|
||||
import org.emoflon.ibex.gt.StateModel.StateModelPackage;
|
||||
import org.emoflon.ibex.gt.StateModel.StructuralDelta;
|
||||
import org.emoflon.ibex.gt.StateModel.Value;
|
||||
|
||||
import org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* An implementation of the model <b>Package</b>.
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
public class StateModelPackageImpl extends EPackageImpl implements StateModelPackage {
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
private EClass stateContainerEClass = null;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
private EClass stateEClass = null;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
private EClass ruleStateEClass = null;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
private EClass attributeDeltaEClass = null;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
private EClass structuralDeltaEClass = null;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
private EClass linkEClass = null;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
private EClass iBeXMatchEClass = null;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
private EClass parameterEClass = null;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
private EClass valueEClass = null;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
private EClass matchDeltaEClass = null;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
private EClass complexParameterEClass = null;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
private EClass simpleParameterEClass = null;
|
||||
|
||||
/**
|
||||
* Creates an instance of the model <b>Package</b>, registered with
|
||||
* {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
|
||||
* package URI value.
|
||||
* <p>Note: the correct way to create the package is via the static
|
||||
* factory method {@link #init init()}, which also performs
|
||||
* initialization of the package, or returns the registered package,
|
||||
* if one already exists.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see org.eclipse.emf.ecore.EPackage.Registry
|
||||
* @see org.emoflon.ibex.gt.StateModel.StateModelPackage#eNS_URI
|
||||
* @see #init()
|
||||
* @generated
|
||||
*/
|
||||
private StateModelPackageImpl() {
|
||||
super(eNS_URI, StateModelFactory.eINSTANCE);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
private static boolean isInited = false;
|
||||
|
||||
/**
|
||||
* Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
|
||||
*
|
||||
* <p>This method is used to initialize {@link StateModelPackage#eINSTANCE} when that field is accessed.
|
||||
* Clients should not invoke it directly. Instead, they should simply access that field to obtain the package.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #eNS_URI
|
||||
* @see #createPackageContents()
|
||||
* @see #initializePackageContents()
|
||||
* @generated
|
||||
*/
|
||||
public static StateModelPackage init() {
|
||||
if (isInited)
|
||||
return (StateModelPackage) EPackage.Registry.INSTANCE.getEPackage(StateModelPackage.eNS_URI);
|
||||
|
||||
// Obtain or create and register package
|
||||
Object registeredStateModelPackage = EPackage.Registry.INSTANCE.get(eNS_URI);
|
||||
StateModelPackageImpl theStateModelPackage = registeredStateModelPackage instanceof StateModelPackageImpl
|
||||
? (StateModelPackageImpl) registeredStateModelPackage
|
||||
: new StateModelPackageImpl();
|
||||
|
||||
isInited = true;
|
||||
|
||||
// Initialize simple dependencies
|
||||
IBeXPatternModelPackage.eINSTANCE.eClass();
|
||||
|
||||
// Create package meta-data objects
|
||||
theStateModelPackage.createPackageContents();
|
||||
|
||||
// Initialize created meta-data
|
||||
theStateModelPackage.initializePackageContents();
|
||||
|
||||
// Mark meta-data to indicate it can't be changed
|
||||
theStateModelPackage.freeze();
|
||||
|
||||
// Update the registry and return the package
|
||||
EPackage.Registry.INSTANCE.put(StateModelPackage.eNS_URI, theStateModelPackage);
|
||||
return theStateModelPackage;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public EClass getStateContainer() {
|
||||
return stateContainerEClass;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public EReference getStateContainer_States() {
|
||||
return (EReference) stateContainerEClass.getEStructuralFeatures().get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public EReference getStateContainer_InitialState() {
|
||||
return (EReference) stateContainerEClass.getEStructuralFeatures().get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public EReference getStateContainer_InitialMatches() {
|
||||
return (EReference) stateContainerEClass.getEStructuralFeatures().get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public EClass getState() {
|
||||
return stateEClass;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public EAttribute getState_Initial() {
|
||||
return (EAttribute) stateEClass.getEStructuralFeatures().get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public EReference getState_Children() {
|
||||
return (EReference) stateEClass.getEStructuralFeatures().get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public EAttribute getState_Hash() {
|
||||
return (EAttribute) stateEClass.getEStructuralFeatures().get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public EAttribute getState_PushoutApproach() {
|
||||
return (EAttribute) stateEClass.getEStructuralFeatures().get(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public EClass getRuleState() {
|
||||
return ruleStateEClass;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public EReference getRuleState_Parent() {
|
||||
return (EReference) ruleStateEClass.getEStructuralFeatures().get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public EReference getRuleState_Rule() {
|
||||
return (EReference) ruleStateEClass.getEStructuralFeatures().get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public EReference getRuleState_StructuralDelta() {
|
||||
return (EReference) ruleStateEClass.getEStructuralFeatures().get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public EReference getRuleState_AttributeDeltas() {
|
||||
return (EReference) ruleStateEClass.getEStructuralFeatures().get(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public EReference getRuleState_Match() {
|
||||
return (EReference) ruleStateEClass.getEStructuralFeatures().get(4);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public EReference getRuleState_CoMatch() {
|
||||
return (EReference) ruleStateEClass.getEStructuralFeatures().get(5);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public EReference getRuleState_Parameters() {
|
||||
return (EReference) ruleStateEClass.getEStructuralFeatures().get(6);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public EReference getRuleState_DeletedMatches() {
|
||||
return (EReference) ruleStateEClass.getEStructuralFeatures().get(7);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public EReference getRuleState_CreatedMatches() {
|
||||
return (EReference) ruleStateEClass.getEStructuralFeatures().get(8);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public EAttribute getRuleState_MatchCount() {
|
||||
return (EAttribute) ruleStateEClass.getEStructuralFeatures().get(9);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public EClass getAttributeDelta() {
|
||||
return attributeDeltaEClass;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public EReference getAttributeDelta_Attribute() {
|
||||
return (EReference) attributeDeltaEClass.getEStructuralFeatures().get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public EReference getAttributeDelta_Object() {
|
||||
return (EReference) attributeDeltaEClass.getEStructuralFeatures().get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public EReference getAttributeDelta_OldValue() {
|
||||
return (EReference) attributeDeltaEClass.getEStructuralFeatures().get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public EReference getAttributeDelta_NewValue() {
|
||||
return (EReference) attributeDeltaEClass.getEStructuralFeatures().get(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public EClass getStructuralDelta() {
|
||||
return structuralDeltaEClass;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public EReference getStructuralDelta_CreatedObjects() {
|
||||
return (EReference) structuralDeltaEClass.getEStructuralFeatures().get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public EReference getStructuralDelta_DeletedObjects() {
|
||||
return (EReference) structuralDeltaEClass.getEStructuralFeatures().get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public EReference getStructuralDelta_CreatedLinks() {
|
||||
return (EReference) structuralDeltaEClass.getEStructuralFeatures().get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public EReference getStructuralDelta_DeletedLinks() {
|
||||
return (EReference) structuralDeltaEClass.getEStructuralFeatures().get(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public EReference getStructuralDelta_DeletedRootLevelObjects() {
|
||||
return (EReference) structuralDeltaEClass.getEStructuralFeatures().get(4);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public EReference getStructuralDelta_Resource2EObjectContainment() {
|
||||
return (EReference) structuralDeltaEClass.getEStructuralFeatures().get(5);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public EClass getLink() {
|
||||
return linkEClass;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public EReference getLink_Type() {
|
||||
return (EReference) linkEClass.getEStructuralFeatures().get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public EReference getLink_Src() {
|
||||
return (EReference) linkEClass.getEStructuralFeatures().get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public EReference getLink_Trg() {
|
||||
return (EReference) linkEClass.getEStructuralFeatures().get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public EClass getIBeXMatch() {
|
||||
return iBeXMatchEClass;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public EAttribute getIBeXMatch_PatternName() {
|
||||
return (EAttribute) iBeXMatchEClass.getEStructuralFeatures().get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public EReference getIBeXMatch_Parameters() {
|
||||
return (EReference) iBeXMatchEClass.getEStructuralFeatures().get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public EClass getParameter() {
|
||||
return parameterEClass;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public EAttribute getParameter_Name() {
|
||||
return (EAttribute) parameterEClass.getEStructuralFeatures().get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public EClass getValue() {
|
||||
return valueEClass;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public EReference getValue_Type() {
|
||||
return (EReference) valueEClass.getEStructuralFeatures().get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public EAttribute getValue_ValueAsString() {
|
||||
return (EAttribute) valueEClass.getEStructuralFeatures().get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public EClass getMatchDelta() {
|
||||
return matchDeltaEClass;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public EAttribute getMatchDelta_PatternName() {
|
||||
return (EAttribute) matchDeltaEClass.getEStructuralFeatures().get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public EReference getMatchDelta_MatchDeltasForPattern() {
|
||||
return (EReference) matchDeltaEClass.getEStructuralFeatures().get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public EClass getComplexParameter() {
|
||||
return complexParameterEClass;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public EReference getComplexParameter_Value() {
|
||||
return (EReference) complexParameterEClass.getEStructuralFeatures().get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public EClass getSimpleParameter() {
|
||||
return simpleParameterEClass;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public EAttribute getSimpleParameter_Value() {
|
||||
return (EAttribute) simpleParameterEClass.getEStructuralFeatures().get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public EReference getSimpleParameter_Type() {
|
||||
return (EReference) simpleParameterEClass.getEStructuralFeatures().get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public StateModelFactory getStateModelFactory() {
|
||||
return (StateModelFactory) getEFactoryInstance();
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
private boolean isCreated = false;
|
||||
|
||||
/**
|
||||
* Creates the meta-model objects for the package. This method is
|
||||
* guarded to have no affect on any invocation but its first.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
public void createPackageContents() {
|
||||
if (isCreated)
|
||||
return;
|
||||
isCreated = true;
|
||||
|
||||
// Create classes and their features
|
||||
stateContainerEClass = createEClass(STATE_CONTAINER);
|
||||
createEReference(stateContainerEClass, STATE_CONTAINER__STATES);
|
||||
createEReference(stateContainerEClass, STATE_CONTAINER__INITIAL_STATE);
|
||||
createEReference(stateContainerEClass, STATE_CONTAINER__INITIAL_MATCHES);
|
||||
|
||||
stateEClass = createEClass(STATE);
|
||||
createEAttribute(stateEClass, STATE__INITIAL);
|
||||
createEReference(stateEClass, STATE__CHILDREN);
|
||||
createEAttribute(stateEClass, STATE__HASH);
|
||||
createEAttribute(stateEClass, STATE__PUSHOUT_APPROACH);
|
||||
|
||||
ruleStateEClass = createEClass(RULE_STATE);
|
||||
createEReference(ruleStateEClass, RULE_STATE__PARENT);
|
||||
createEReference(ruleStateEClass, RULE_STATE__RULE);
|
||||
createEReference(ruleStateEClass, RULE_STATE__STRUCTURAL_DELTA);
|
||||
createEReference(ruleStateEClass, RULE_STATE__ATTRIBUTE_DELTAS);
|
||||
createEReference(ruleStateEClass, RULE_STATE__MATCH);
|
||||
createEReference(ruleStateEClass, RULE_STATE__CO_MATCH);
|
||||
createEReference(ruleStateEClass, RULE_STATE__PARAMETERS);
|
||||
createEReference(ruleStateEClass, RULE_STATE__DELETED_MATCHES);
|
||||
createEReference(ruleStateEClass, RULE_STATE__CREATED_MATCHES);
|
||||
createEAttribute(ruleStateEClass, RULE_STATE__MATCH_COUNT);
|
||||
|
||||
attributeDeltaEClass = createEClass(ATTRIBUTE_DELTA);
|
||||
createEReference(attributeDeltaEClass, ATTRIBUTE_DELTA__ATTRIBUTE);
|
||||
createEReference(attributeDeltaEClass, ATTRIBUTE_DELTA__OBJECT);
|
||||
createEReference(attributeDeltaEClass, ATTRIBUTE_DELTA__OLD_VALUE);
|
||||
createEReference(attributeDeltaEClass, ATTRIBUTE_DELTA__NEW_VALUE);
|
||||
|
||||
structuralDeltaEClass = createEClass(STRUCTURAL_DELTA);
|
||||
createEReference(structuralDeltaEClass, STRUCTURAL_DELTA__CREATED_OBJECTS);
|
||||
createEReference(structuralDeltaEClass, STRUCTURAL_DELTA__DELETED_OBJECTS);
|
||||
createEReference(structuralDeltaEClass, STRUCTURAL_DELTA__CREATED_LINKS);
|
||||
createEReference(structuralDeltaEClass, STRUCTURAL_DELTA__DELETED_LINKS);
|
||||
createEReference(structuralDeltaEClass, STRUCTURAL_DELTA__DELETED_ROOT_LEVEL_OBJECTS);
|
||||
createEReference(structuralDeltaEClass, STRUCTURAL_DELTA__RESOURCE2_EOBJECT_CONTAINMENT);
|
||||
|
||||
linkEClass = createEClass(LINK);
|
||||
createEReference(linkEClass, LINK__TYPE);
|
||||
createEReference(linkEClass, LINK__SRC);
|
||||
createEReference(linkEClass, LINK__TRG);
|
||||
|
||||
iBeXMatchEClass = createEClass(IBE_XMATCH);
|
||||
createEAttribute(iBeXMatchEClass, IBE_XMATCH__PATTERN_NAME);
|
||||
createEReference(iBeXMatchEClass, IBE_XMATCH__PARAMETERS);
|
||||
|
||||
parameterEClass = createEClass(PARAMETER);
|
||||
createEAttribute(parameterEClass, PARAMETER__NAME);
|
||||
|
||||
valueEClass = createEClass(VALUE);
|
||||
createEReference(valueEClass, VALUE__TYPE);
|
||||
createEAttribute(valueEClass, VALUE__VALUE_AS_STRING);
|
||||
|
||||
matchDeltaEClass = createEClass(MATCH_DELTA);
|
||||
createEAttribute(matchDeltaEClass, MATCH_DELTA__PATTERN_NAME);
|
||||
createEReference(matchDeltaEClass, MATCH_DELTA__MATCH_DELTAS_FOR_PATTERN);
|
||||
|
||||
complexParameterEClass = createEClass(COMPLEX_PARAMETER);
|
||||
createEReference(complexParameterEClass, COMPLEX_PARAMETER__VALUE);
|
||||
|
||||
simpleParameterEClass = createEClass(SIMPLE_PARAMETER);
|
||||
createEAttribute(simpleParameterEClass, SIMPLE_PARAMETER__VALUE);
|
||||
createEReference(simpleParameterEClass, SIMPLE_PARAMETER__TYPE);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
private boolean isInitialized = false;
|
||||
|
||||
/**
|
||||
* Complete the initialization of the package and its meta-model. This
|
||||
* method is guarded to have no affect on any invocation but its first.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
public void initializePackageContents() {
|
||||
if (isInitialized)
|
||||
return;
|
||||
isInitialized = true;
|
||||
|
||||
// Initialize package
|
||||
setName(eNAME);
|
||||
setNsPrefix(eNS_PREFIX);
|
||||
setNsURI(eNS_URI);
|
||||
|
||||
// Obtain other dependent packages
|
||||
IBeXPatternModelPackage theIBeXPatternModelPackage = (IBeXPatternModelPackage) EPackage.Registry.INSTANCE
|
||||
.getEPackage(IBeXPatternModelPackage.eNS_URI);
|
||||
|
||||
// Create type parameters
|
||||
|
||||
// Set bounds for type parameters
|
||||
|
||||
// Add supertypes to classes
|
||||
ruleStateEClass.getESuperTypes().add(this.getState());
|
||||
complexParameterEClass.getESuperTypes().add(this.getParameter());
|
||||
simpleParameterEClass.getESuperTypes().add(this.getParameter());
|
||||
|
||||
// Initialize classes, features, and operations; add parameters
|
||||
initEClass(stateContainerEClass, StateContainer.class, "StateContainer", !IS_ABSTRACT, !IS_INTERFACE,
|
||||
IS_GENERATED_INSTANCE_CLASS);
|
||||
initEReference(getStateContainer_States(), this.getState(), null, "states", null, 0, -1, StateContainer.class,
|
||||
!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
|
||||
IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
||||
initEReference(getStateContainer_InitialState(), this.getState(), null, "initialState", null, 0, 1,
|
||||
StateContainer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
|
||||
!IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
||||
initEReference(getStateContainer_InitialMatches(), this.getIBeXMatch(), null, "initialMatches", null, 0, -1,
|
||||
StateContainer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
|
||||
!IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
||||
|
||||
initEClass(stateEClass, State.class, "State", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
|
||||
initEAttribute(getState_Initial(), ecorePackage.getEBoolean(), "initial", null, 0, 1, State.class,
|
||||
!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
||||
initEReference(getState_Children(), this.getRuleState(), null, "children", null, 0, -1, State.class,
|
||||
!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
|
||||
IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
||||
initEAttribute(getState_Hash(), ecorePackage.getELong(), "hash", null, 0, 1, State.class, !IS_TRANSIENT,
|
||||
!IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
||||
initEAttribute(getState_PushoutApproach(), ecorePackage.getEInt(), "pushoutApproach", null, 0, 1, State.class,
|
||||
!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
||||
|
||||
initEClass(ruleStateEClass, RuleState.class, "RuleState", !IS_ABSTRACT, !IS_INTERFACE,
|
||||
IS_GENERATED_INSTANCE_CLASS);
|
||||
initEReference(getRuleState_Parent(), this.getState(), null, "parent", null, 0, 1, RuleState.class,
|
||||
!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
|
||||
IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
||||
initEReference(getRuleState_Rule(), theIBeXPatternModelPackage.getIBeXRule(), null, "rule", null, 0, 1,
|
||||
RuleState.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,
|
||||
!IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
||||
initEReference(getRuleState_StructuralDelta(), this.getStructuralDelta(), null, "structuralDelta", null, 0, 1,
|
||||
RuleState.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
|
||||
!IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
||||
initEReference(getRuleState_AttributeDeltas(), this.getAttributeDelta(), null, "attributeDeltas", null, 0, -1,
|
||||
RuleState.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
|
||||
!IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
||||
initEReference(getRuleState_Match(), this.getIBeXMatch(), null, "match", null, 0, 1, RuleState.class,
|
||||
!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
|
||||
IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
||||
initEReference(getRuleState_CoMatch(), this.getIBeXMatch(), null, "coMatch", null, 0, 1, RuleState.class,
|
||||
!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
|
||||
IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
||||
initEReference(getRuleState_Parameters(), this.getParameter(), null, "parameters", null, 0, -1, RuleState.class,
|
||||
!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
|
||||
IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
||||
initEReference(getRuleState_DeletedMatches(), this.getMatchDelta(), null, "deletedMatches", null, 0, -1,
|
||||
RuleState.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
|
||||
!IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
||||
initEReference(getRuleState_CreatedMatches(), this.getMatchDelta(), null, "createdMatches", null, 0, -1,
|
||||
RuleState.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
|
||||
!IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
||||
initEAttribute(getRuleState_MatchCount(), ecorePackage.getELong(), "matchCount", null, 0, 1, RuleState.class,
|
||||
!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
||||
|
||||
initEClass(attributeDeltaEClass, AttributeDelta.class, "AttributeDelta", !IS_ABSTRACT, !IS_INTERFACE,
|
||||
IS_GENERATED_INSTANCE_CLASS);
|
||||
initEReference(getAttributeDelta_Attribute(), ecorePackage.getEAttribute(), null, "attribute", null, 1, 1,
|
||||
AttributeDelta.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,
|
||||
!IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
||||
initEReference(getAttributeDelta_Object(), ecorePackage.getEObject(), null, "object", null, 1, 1,
|
||||
AttributeDelta.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,
|
||||
!IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
||||
initEReference(getAttributeDelta_OldValue(), this.getValue(), null, "oldValue", null, 0, 1,
|
||||
AttributeDelta.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
|
||||
!IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
||||
initEReference(getAttributeDelta_NewValue(), this.getValue(), null, "newValue", null, 0, 1,
|
||||
AttributeDelta.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
|
||||
!IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
||||
|
||||
initEClass(structuralDeltaEClass, StructuralDelta.class, "StructuralDelta", !IS_ABSTRACT, !IS_INTERFACE,
|
||||
IS_GENERATED_INSTANCE_CLASS);
|
||||
initEReference(getStructuralDelta_CreatedObjects(), ecorePackage.getEObject(), null, "createdObjects", null, 0,
|
||||
-1, StructuralDelta.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE,
|
||||
IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
||||
initEReference(getStructuralDelta_DeletedObjects(), ecorePackage.getEObject(), null, "deletedObjects", null, 0,
|
||||
-1, StructuralDelta.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE,
|
||||
IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
||||
initEReference(getStructuralDelta_CreatedLinks(), this.getLink(), null, "createdLinks", null, 0, -1,
|
||||
StructuralDelta.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
|
||||
!IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
||||
initEReference(getStructuralDelta_DeletedLinks(), this.getLink(), null, "deletedLinks", null, 0, -1,
|
||||
StructuralDelta.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
|
||||
!IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
||||
initEReference(getStructuralDelta_DeletedRootLevelObjects(), ecorePackage.getEObject(), null,
|
||||
"deletedRootLevelObjects", null, 0, -1, StructuralDelta.class, !IS_TRANSIENT, !IS_VOLATILE,
|
||||
IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
||||
initEReference(getStructuralDelta_Resource2EObjectContainment(), ecorePackage.getEObject(), null,
|
||||
"resource2EObjectContainment", null, 0, -1, StructuralDelta.class, !IS_TRANSIENT, !IS_VOLATILE,
|
||||
IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
||||
|
||||
initEClass(linkEClass, Link.class, "Link", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
|
||||
initEReference(getLink_Type(), ecorePackage.getEReference(), null, "type", null, 1, 1, Link.class,
|
||||
!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
|
||||
IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
||||
initEReference(getLink_Src(), ecorePackage.getEObject(), null, "src", null, 1, 1, Link.class, !IS_TRANSIENT,
|
||||
!IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
|
||||
IS_ORDERED);
|
||||
initEReference(getLink_Trg(), ecorePackage.getEObject(), null, "trg", null, 1, 1, Link.class, !IS_TRANSIENT,
|
||||
!IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
|
||||
IS_ORDERED);
|
||||
|
||||
initEClass(iBeXMatchEClass, IBeXMatch.class, "IBeXMatch", !IS_ABSTRACT, !IS_INTERFACE,
|
||||
IS_GENERATED_INSTANCE_CLASS);
|
||||
initEAttribute(getIBeXMatch_PatternName(), ecorePackage.getEString(), "patternName", "", 0, 1, IBeXMatch.class,
|
||||
!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
|
||||
!IS_ORDERED);
|
||||
initEReference(getIBeXMatch_Parameters(), this.getParameter(), null, "parameters", null, 0, -1, IBeXMatch.class,
|
||||
!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
|
||||
IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
||||
|
||||
initEClass(parameterEClass, Parameter.class, "Parameter", IS_ABSTRACT, !IS_INTERFACE,
|
||||
IS_GENERATED_INSTANCE_CLASS);
|
||||
initEAttribute(getParameter_Name(), ecorePackage.getEString(), "name", null, 0, 1, Parameter.class,
|
||||
!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
||||
|
||||
initEClass(valueEClass, Value.class, "Value", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
|
||||
initEReference(getValue_Type(), ecorePackage.getEDataType(), null, "Type", null, 0, 1, Value.class,
|
||||
!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
|
||||
IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
||||
initEAttribute(getValue_ValueAsString(), ecorePackage.getEString(), "ValueAsString", null, 0, 1, Value.class,
|
||||
!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
||||
|
||||
initEClass(matchDeltaEClass, MatchDelta.class, "MatchDelta", !IS_ABSTRACT, !IS_INTERFACE,
|
||||
IS_GENERATED_INSTANCE_CLASS);
|
||||
initEAttribute(getMatchDelta_PatternName(), ecorePackage.getEString(), "patternName", null, 0, 1,
|
||||
MatchDelta.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
|
||||
!IS_DERIVED, IS_ORDERED);
|
||||
initEReference(getMatchDelta_MatchDeltasForPattern(), this.getIBeXMatch(), null, "matchDeltasForPattern", null,
|
||||
0, -1, MatchDelta.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
|
||||
!IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
||||
|
||||
initEClass(complexParameterEClass, ComplexParameter.class, "ComplexParameter", !IS_ABSTRACT, !IS_INTERFACE,
|
||||
IS_GENERATED_INSTANCE_CLASS);
|
||||
initEReference(getComplexParameter_Value(), ecorePackage.getEObject(), null, "value", null, 1, 1,
|
||||
ComplexParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,
|
||||
!IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
||||
|
||||
initEClass(simpleParameterEClass, SimpleParameter.class, "SimpleParameter", !IS_ABSTRACT, !IS_INTERFACE,
|
||||
IS_GENERATED_INSTANCE_CLASS);
|
||||
initEAttribute(getSimpleParameter_Value(), ecorePackage.getEString(), "value", null, 0, 1,
|
||||
SimpleParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
|
||||
!IS_DERIVED, IS_ORDERED);
|
||||
initEReference(getSimpleParameter_Type(), ecorePackage.getEDataType(), null, "type", null, 1, 1,
|
||||
SimpleParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,
|
||||
!IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
||||
|
||||
// Create resource
|
||||
createResource(eNS_URI);
|
||||
}
|
||||
|
||||
} //StateModelPackageImpl
|
|
@ -1,338 +0,0 @@
|
|||
/**
|
||||
*/
|
||||
package org.emoflon.ibex.gt.StateModel.impl;
|
||||
|
||||
import java.util.Collection;
|
||||
|
||||
import org.eclipse.emf.common.notify.NotificationChain;
|
||||
|
||||
import org.eclipse.emf.common.util.EList;
|
||||
|
||||
import org.eclipse.emf.ecore.EClass;
|
||||
import org.eclipse.emf.ecore.EObject;
|
||||
import org.eclipse.emf.ecore.InternalEObject;
|
||||
|
||||
import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
|
||||
|
||||
import org.eclipse.emf.ecore.util.EObjectContainmentEList;
|
||||
import org.eclipse.emf.ecore.util.EObjectResolvingEList;
|
||||
import org.eclipse.emf.ecore.util.InternalEList;
|
||||
|
||||
import org.emoflon.ibex.gt.StateModel.Link;
|
||||
import org.emoflon.ibex.gt.StateModel.StateModelPackage;
|
||||
import org.emoflon.ibex.gt.StateModel.StructuralDelta;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* An implementation of the model object '<em><b>Structural Delta</b></em>'.
|
||||
* <!-- end-user-doc -->
|
||||
* <p>
|
||||
* The following features are implemented:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.emoflon.ibex.gt.StateModel.impl.StructuralDeltaImpl#getCreatedObjects <em>Created Objects</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.gt.StateModel.impl.StructuralDeltaImpl#getDeletedObjects <em>Deleted Objects</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.gt.StateModel.impl.StructuralDeltaImpl#getCreatedLinks <em>Created Links</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.gt.StateModel.impl.StructuralDeltaImpl#getDeletedLinks <em>Deleted Links</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.gt.StateModel.impl.StructuralDeltaImpl#getDeletedRootLevelObjects <em>Deleted Root Level Objects</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.gt.StateModel.impl.StructuralDeltaImpl#getResource2EObjectContainment <em>Resource2 EObject Containment</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @generated
|
||||
*/
|
||||
public class StructuralDeltaImpl extends MinimalEObjectImpl.Container implements StructuralDelta {
|
||||
/**
|
||||
* The cached value of the '{@link #getCreatedObjects() <em>Created Objects</em>}' reference list.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #getCreatedObjects()
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
protected EList<EObject> createdObjects;
|
||||
|
||||
/**
|
||||
* The cached value of the '{@link #getDeletedObjects() <em>Deleted Objects</em>}' reference list.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #getDeletedObjects()
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
protected EList<EObject> deletedObjects;
|
||||
|
||||
/**
|
||||
* The cached value of the '{@link #getCreatedLinks() <em>Created Links</em>}' containment reference list.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #getCreatedLinks()
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
protected EList<Link> createdLinks;
|
||||
|
||||
/**
|
||||
* The cached value of the '{@link #getDeletedLinks() <em>Deleted Links</em>}' containment reference list.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #getDeletedLinks()
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
protected EList<Link> deletedLinks;
|
||||
|
||||
/**
|
||||
* The cached value of the '{@link #getDeletedRootLevelObjects() <em>Deleted Root Level Objects</em>}' reference list.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #getDeletedRootLevelObjects()
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
protected EList<EObject> deletedRootLevelObjects;
|
||||
|
||||
/**
|
||||
* The cached value of the '{@link #getResource2EObjectContainment() <em>Resource2 EObject Containment</em>}' reference list.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #getResource2EObjectContainment()
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
protected EList<EObject> resource2EObjectContainment;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
protected StructuralDeltaImpl() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
protected EClass eStaticClass() {
|
||||
return StateModelPackage.Literals.STRUCTURAL_DELTA;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public EList<EObject> getCreatedObjects() {
|
||||
if (createdObjects == null) {
|
||||
createdObjects = new EObjectResolvingEList<EObject>(EObject.class, this,
|
||||
StateModelPackage.STRUCTURAL_DELTA__CREATED_OBJECTS);
|
||||
}
|
||||
return createdObjects;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public EList<EObject> getDeletedObjects() {
|
||||
if (deletedObjects == null) {
|
||||
deletedObjects = new EObjectResolvingEList<EObject>(EObject.class, this,
|
||||
StateModelPackage.STRUCTURAL_DELTA__DELETED_OBJECTS);
|
||||
}
|
||||
return deletedObjects;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public EList<Link> getCreatedLinks() {
|
||||
if (createdLinks == null) {
|
||||
createdLinks = new EObjectContainmentEList<Link>(Link.class, this,
|
||||
StateModelPackage.STRUCTURAL_DELTA__CREATED_LINKS);
|
||||
}
|
||||
return createdLinks;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public EList<Link> getDeletedLinks() {
|
||||
if (deletedLinks == null) {
|
||||
deletedLinks = new EObjectContainmentEList<Link>(Link.class, this,
|
||||
StateModelPackage.STRUCTURAL_DELTA__DELETED_LINKS);
|
||||
}
|
||||
return deletedLinks;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public EList<EObject> getDeletedRootLevelObjects() {
|
||||
if (deletedRootLevelObjects == null) {
|
||||
deletedRootLevelObjects = new EObjectResolvingEList<EObject>(EObject.class, this,
|
||||
StateModelPackage.STRUCTURAL_DELTA__DELETED_ROOT_LEVEL_OBJECTS);
|
||||
}
|
||||
return deletedRootLevelObjects;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public EList<EObject> getResource2EObjectContainment() {
|
||||
if (resource2EObjectContainment == null) {
|
||||
resource2EObjectContainment = new EObjectResolvingEList<EObject>(EObject.class, this,
|
||||
StateModelPackage.STRUCTURAL_DELTA__RESOURCE2_EOBJECT_CONTAINMENT);
|
||||
}
|
||||
return resource2EObjectContainment;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
|
||||
switch (featureID) {
|
||||
case StateModelPackage.STRUCTURAL_DELTA__CREATED_LINKS:
|
||||
return ((InternalEList<?>) getCreatedLinks()).basicRemove(otherEnd, msgs);
|
||||
case StateModelPackage.STRUCTURAL_DELTA__DELETED_LINKS:
|
||||
return ((InternalEList<?>) getDeletedLinks()).basicRemove(otherEnd, msgs);
|
||||
}
|
||||
return super.eInverseRemove(otherEnd, featureID, msgs);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public Object eGet(int featureID, boolean resolve, boolean coreType) {
|
||||
switch (featureID) {
|
||||
case StateModelPackage.STRUCTURAL_DELTA__CREATED_OBJECTS:
|
||||
return getCreatedObjects();
|
||||
case StateModelPackage.STRUCTURAL_DELTA__DELETED_OBJECTS:
|
||||
return getDeletedObjects();
|
||||
case StateModelPackage.STRUCTURAL_DELTA__CREATED_LINKS:
|
||||
return getCreatedLinks();
|
||||
case StateModelPackage.STRUCTURAL_DELTA__DELETED_LINKS:
|
||||
return getDeletedLinks();
|
||||
case StateModelPackage.STRUCTURAL_DELTA__DELETED_ROOT_LEVEL_OBJECTS:
|
||||
return getDeletedRootLevelObjects();
|
||||
case StateModelPackage.STRUCTURAL_DELTA__RESOURCE2_EOBJECT_CONTAINMENT:
|
||||
return getResource2EObjectContainment();
|
||||
}
|
||||
return super.eGet(featureID, resolve, coreType);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@SuppressWarnings("unchecked")
|
||||
@Override
|
||||
public void eSet(int featureID, Object newValue) {
|
||||
switch (featureID) {
|
||||
case StateModelPackage.STRUCTURAL_DELTA__CREATED_OBJECTS:
|
||||
getCreatedObjects().clear();
|
||||
getCreatedObjects().addAll((Collection<? extends EObject>) newValue);
|
||||
return;
|
||||
case StateModelPackage.STRUCTURAL_DELTA__DELETED_OBJECTS:
|
||||
getDeletedObjects().clear();
|
||||
getDeletedObjects().addAll((Collection<? extends EObject>) newValue);
|
||||
return;
|
||||
case StateModelPackage.STRUCTURAL_DELTA__CREATED_LINKS:
|
||||
getCreatedLinks().clear();
|
||||
getCreatedLinks().addAll((Collection<? extends Link>) newValue);
|
||||
return;
|
||||
case StateModelPackage.STRUCTURAL_DELTA__DELETED_LINKS:
|
||||
getDeletedLinks().clear();
|
||||
getDeletedLinks().addAll((Collection<? extends Link>) newValue);
|
||||
return;
|
||||
case StateModelPackage.STRUCTURAL_DELTA__DELETED_ROOT_LEVEL_OBJECTS:
|
||||
getDeletedRootLevelObjects().clear();
|
||||
getDeletedRootLevelObjects().addAll((Collection<? extends EObject>) newValue);
|
||||
return;
|
||||
case StateModelPackage.STRUCTURAL_DELTA__RESOURCE2_EOBJECT_CONTAINMENT:
|
||||
getResource2EObjectContainment().clear();
|
||||
getResource2EObjectContainment().addAll((Collection<? extends EObject>) newValue);
|
||||
return;
|
||||
}
|
||||
super.eSet(featureID, newValue);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public void eUnset(int featureID) {
|
||||
switch (featureID) {
|
||||
case StateModelPackage.STRUCTURAL_DELTA__CREATED_OBJECTS:
|
||||
getCreatedObjects().clear();
|
||||
return;
|
||||
case StateModelPackage.STRUCTURAL_DELTA__DELETED_OBJECTS:
|
||||
getDeletedObjects().clear();
|
||||
return;
|
||||
case StateModelPackage.STRUCTURAL_DELTA__CREATED_LINKS:
|
||||
getCreatedLinks().clear();
|
||||
return;
|
||||
case StateModelPackage.STRUCTURAL_DELTA__DELETED_LINKS:
|
||||
getDeletedLinks().clear();
|
||||
return;
|
||||
case StateModelPackage.STRUCTURAL_DELTA__DELETED_ROOT_LEVEL_OBJECTS:
|
||||
getDeletedRootLevelObjects().clear();
|
||||
return;
|
||||
case StateModelPackage.STRUCTURAL_DELTA__RESOURCE2_EOBJECT_CONTAINMENT:
|
||||
getResource2EObjectContainment().clear();
|
||||
return;
|
||||
}
|
||||
super.eUnset(featureID);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public boolean eIsSet(int featureID) {
|
||||
switch (featureID) {
|
||||
case StateModelPackage.STRUCTURAL_DELTA__CREATED_OBJECTS:
|
||||
return createdObjects != null && !createdObjects.isEmpty();
|
||||
case StateModelPackage.STRUCTURAL_DELTA__DELETED_OBJECTS:
|
||||
return deletedObjects != null && !deletedObjects.isEmpty();
|
||||
case StateModelPackage.STRUCTURAL_DELTA__CREATED_LINKS:
|
||||
return createdLinks != null && !createdLinks.isEmpty();
|
||||
case StateModelPackage.STRUCTURAL_DELTA__DELETED_LINKS:
|
||||
return deletedLinks != null && !deletedLinks.isEmpty();
|
||||
case StateModelPackage.STRUCTURAL_DELTA__DELETED_ROOT_LEVEL_OBJECTS:
|
||||
return deletedRootLevelObjects != null && !deletedRootLevelObjects.isEmpty();
|
||||
case StateModelPackage.STRUCTURAL_DELTA__RESOURCE2_EOBJECT_CONTAINMENT:
|
||||
return resource2EObjectContainment != null && !resource2EObjectContainment.isEmpty();
|
||||
}
|
||||
return super.eIsSet(featureID);
|
||||
}
|
||||
|
||||
} //StructuralDeltaImpl
|
|
@ -1,234 +0,0 @@
|
|||
/**
|
||||
*/
|
||||
package org.emoflon.ibex.gt.StateModel.impl;
|
||||
|
||||
import org.eclipse.emf.common.notify.Notification;
|
||||
|
||||
import org.eclipse.emf.ecore.EClass;
|
||||
import org.eclipse.emf.ecore.EDataType;
|
||||
import org.eclipse.emf.ecore.InternalEObject;
|
||||
|
||||
import org.eclipse.emf.ecore.impl.ENotificationImpl;
|
||||
import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
|
||||
|
||||
import org.emoflon.ibex.gt.StateModel.StateModelPackage;
|
||||
import org.emoflon.ibex.gt.StateModel.Value;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* An implementation of the model object '<em><b>Value</b></em>'.
|
||||
* <!-- end-user-doc -->
|
||||
* <p>
|
||||
* The following features are implemented:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.emoflon.ibex.gt.StateModel.impl.ValueImpl#getType <em>Type</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.gt.StateModel.impl.ValueImpl#getValueAsString <em>Value As String</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @generated
|
||||
*/
|
||||
public class ValueImpl extends MinimalEObjectImpl.Container implements Value {
|
||||
/**
|
||||
* The cached value of the '{@link #getType() <em>Type</em>}' reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #getType()
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
protected EDataType type;
|
||||
|
||||
/**
|
||||
* The default value of the '{@link #getValueAsString() <em>Value As String</em>}' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #getValueAsString()
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
protected static final String VALUE_AS_STRING_EDEFAULT = null;
|
||||
|
||||
/**
|
||||
* The cached value of the '{@link #getValueAsString() <em>Value As String</em>}' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #getValueAsString()
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
protected String valueAsString = VALUE_AS_STRING_EDEFAULT;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
protected ValueImpl() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
protected EClass eStaticClass() {
|
||||
return StateModelPackage.Literals.VALUE;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public EDataType getType() {
|
||||
if (type != null && type.eIsProxy()) {
|
||||
InternalEObject oldType = (InternalEObject) type;
|
||||
type = (EDataType) eResolveProxy(oldType);
|
||||
if (type != oldType) {
|
||||
if (eNotificationRequired())
|
||||
eNotify(new ENotificationImpl(this, Notification.RESOLVE, StateModelPackage.VALUE__TYPE, oldType,
|
||||
type));
|
||||
}
|
||||
}
|
||||
return type;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
public EDataType basicGetType() {
|
||||
return type;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public void setType(EDataType newType) {
|
||||
EDataType oldType = type;
|
||||
type = newType;
|
||||
if (eNotificationRequired())
|
||||
eNotify(new ENotificationImpl(this, Notification.SET, StateModelPackage.VALUE__TYPE, oldType, type));
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public String getValueAsString() {
|
||||
return valueAsString;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public void setValueAsString(String newValueAsString) {
|
||||
String oldValueAsString = valueAsString;
|
||||
valueAsString = newValueAsString;
|
||||
if (eNotificationRequired())
|
||||
eNotify(new ENotificationImpl(this, Notification.SET, StateModelPackage.VALUE__VALUE_AS_STRING,
|
||||
oldValueAsString, valueAsString));
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public Object eGet(int featureID, boolean resolve, boolean coreType) {
|
||||
switch (featureID) {
|
||||
case StateModelPackage.VALUE__TYPE:
|
||||
if (resolve)
|
||||
return getType();
|
||||
return basicGetType();
|
||||
case StateModelPackage.VALUE__VALUE_AS_STRING:
|
||||
return getValueAsString();
|
||||
}
|
||||
return super.eGet(featureID, resolve, coreType);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public void eSet(int featureID, Object newValue) {
|
||||
switch (featureID) {
|
||||
case StateModelPackage.VALUE__TYPE:
|
||||
setType((EDataType) newValue);
|
||||
return;
|
||||
case StateModelPackage.VALUE__VALUE_AS_STRING:
|
||||
setValueAsString((String) newValue);
|
||||
return;
|
||||
}
|
||||
super.eSet(featureID, newValue);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public void eUnset(int featureID) {
|
||||
switch (featureID) {
|
||||
case StateModelPackage.VALUE__TYPE:
|
||||
setType((EDataType) null);
|
||||
return;
|
||||
case StateModelPackage.VALUE__VALUE_AS_STRING:
|
||||
setValueAsString(VALUE_AS_STRING_EDEFAULT);
|
||||
return;
|
||||
}
|
||||
super.eUnset(featureID);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public boolean eIsSet(int featureID) {
|
||||
switch (featureID) {
|
||||
case StateModelPackage.VALUE__TYPE:
|
||||
return type != null;
|
||||
case StateModelPackage.VALUE__VALUE_AS_STRING:
|
||||
return VALUE_AS_STRING_EDEFAULT == null ? valueAsString != null
|
||||
: !VALUE_AS_STRING_EDEFAULT.equals(valueAsString);
|
||||
}
|
||||
return super.eIsSet(featureID);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public String toString() {
|
||||
if (eIsProxy())
|
||||
return super.toString();
|
||||
|
||||
StringBuilder result = new StringBuilder(super.toString());
|
||||
result.append(" (ValueAsString: ");
|
||||
result.append(valueAsString);
|
||||
result.append(')');
|
||||
return result.toString();
|
||||
}
|
||||
|
||||
} //ValueImpl
|
|
@ -1,328 +0,0 @@
|
|||
/**
|
||||
*/
|
||||
package org.emoflon.ibex.gt.StateModel.util;
|
||||
|
||||
import org.eclipse.emf.common.notify.Adapter;
|
||||
import org.eclipse.emf.common.notify.Notifier;
|
||||
|
||||
import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
|
||||
|
||||
import org.eclipse.emf.ecore.EObject;
|
||||
|
||||
import org.emoflon.ibex.gt.StateModel.*;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* The <b>Adapter Factory</b> for the model.
|
||||
* It provides an adapter <code>createXXX</code> method for each class of the model.
|
||||
* <!-- end-user-doc -->
|
||||
* @see org.emoflon.ibex.gt.StateModel.StateModelPackage
|
||||
* @generated
|
||||
*/
|
||||
public class StateModelAdapterFactory extends AdapterFactoryImpl {
|
||||
/**
|
||||
* The cached model package.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
protected static StateModelPackage modelPackage;
|
||||
|
||||
/**
|
||||
* Creates an instance of the adapter factory.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
public StateModelAdapterFactory() {
|
||||
if (modelPackage == null) {
|
||||
modelPackage = StateModelPackage.eINSTANCE;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns whether this factory is applicable for the type of the object.
|
||||
* <!-- begin-user-doc -->
|
||||
* This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model.
|
||||
* <!-- end-user-doc -->
|
||||
* @return whether this factory is applicable for the type of the object.
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public boolean isFactoryForType(Object object) {
|
||||
if (object == modelPackage) {
|
||||
return true;
|
||||
}
|
||||
if (object instanceof EObject) {
|
||||
return ((EObject) object).eClass().getEPackage() == modelPackage;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* The switch that delegates to the <code>createXXX</code> methods.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
protected StateModelSwitch<Adapter> modelSwitch = new StateModelSwitch<Adapter>() {
|
||||
@Override
|
||||
public Adapter caseStateContainer(StateContainer object) {
|
||||
return createStateContainerAdapter();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Adapter caseState(State object) {
|
||||
return createStateAdapter();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Adapter caseRuleState(RuleState object) {
|
||||
return createRuleStateAdapter();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Adapter caseAttributeDelta(AttributeDelta object) {
|
||||
return createAttributeDeltaAdapter();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Adapter caseStructuralDelta(StructuralDelta object) {
|
||||
return createStructuralDeltaAdapter();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Adapter caseLink(Link object) {
|
||||
return createLinkAdapter();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Adapter caseIBeXMatch(IBeXMatch object) {
|
||||
return createIBeXMatchAdapter();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Adapter caseParameter(Parameter object) {
|
||||
return createParameterAdapter();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Adapter caseValue(Value object) {
|
||||
return createValueAdapter();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Adapter caseMatchDelta(MatchDelta object) {
|
||||
return createMatchDeltaAdapter();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Adapter caseComplexParameter(ComplexParameter object) {
|
||||
return createComplexParameterAdapter();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Adapter caseSimpleParameter(SimpleParameter object) {
|
||||
return createSimpleParameterAdapter();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Adapter defaultCase(EObject object) {
|
||||
return createEObjectAdapter();
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* Creates an adapter for the <code>target</code>.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param target the object to adapt.
|
||||
* @return the adapter for the <code>target</code>.
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public Adapter createAdapter(Notifier target) {
|
||||
return modelSwitch.doSwitch((EObject) target);
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a new adapter for an object of class '{@link org.emoflon.ibex.gt.StateModel.StateContainer <em>State Container</em>}'.
|
||||
* <!-- begin-user-doc -->
|
||||
* This default implementation returns null so that we can easily ignore cases;
|
||||
* it's useful to ignore a case when inheritance will catch all the cases anyway.
|
||||
* <!-- end-user-doc -->
|
||||
* @return the new adapter.
|
||||
* @see org.emoflon.ibex.gt.StateModel.StateContainer
|
||||
* @generated
|
||||
*/
|
||||
public Adapter createStateContainerAdapter() {
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a new adapter for an object of class '{@link org.emoflon.ibex.gt.StateModel.State <em>State</em>}'.
|
||||
* <!-- begin-user-doc -->
|
||||
* This default implementation returns null so that we can easily ignore cases;
|
||||
* it's useful to ignore a case when inheritance will catch all the cases anyway.
|
||||
* <!-- end-user-doc -->
|
||||
* @return the new adapter.
|
||||
* @see org.emoflon.ibex.gt.StateModel.State
|
||||
* @generated
|
||||
*/
|
||||
public Adapter createStateAdapter() {
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a new adapter for an object of class '{@link org.emoflon.ibex.gt.StateModel.RuleState <em>Rule State</em>}'.
|
||||
* <!-- begin-user-doc -->
|
||||
* This default implementation returns null so that we can easily ignore cases;
|
||||
* it's useful to ignore a case when inheritance will catch all the cases anyway.
|
||||
* <!-- end-user-doc -->
|
||||
* @return the new adapter.
|
||||
* @see org.emoflon.ibex.gt.StateModel.RuleState
|
||||
* @generated
|
||||
*/
|
||||
public Adapter createRuleStateAdapter() {
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a new adapter for an object of class '{@link org.emoflon.ibex.gt.StateModel.AttributeDelta <em>Attribute Delta</em>}'.
|
||||
* <!-- begin-user-doc -->
|
||||
* This default implementation returns null so that we can easily ignore cases;
|
||||
* it's useful to ignore a case when inheritance will catch all the cases anyway.
|
||||
* <!-- end-user-doc -->
|
||||
* @return the new adapter.
|
||||
* @see org.emoflon.ibex.gt.StateModel.AttributeDelta
|
||||
* @generated
|
||||
*/
|
||||
public Adapter createAttributeDeltaAdapter() {
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a new adapter for an object of class '{@link org.emoflon.ibex.gt.StateModel.StructuralDelta <em>Structural Delta</em>}'.
|
||||
* <!-- begin-user-doc -->
|
||||
* This default implementation returns null so that we can easily ignore cases;
|
||||
* it's useful to ignore a case when inheritance will catch all the cases anyway.
|
||||
* <!-- end-user-doc -->
|
||||
* @return the new adapter.
|
||||
* @see org.emoflon.ibex.gt.StateModel.StructuralDelta
|
||||
* @generated
|
||||
*/
|
||||
public Adapter createStructuralDeltaAdapter() {
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a new adapter for an object of class '{@link org.emoflon.ibex.gt.StateModel.Link <em>Link</em>}'.
|
||||
* <!-- begin-user-doc -->
|
||||
* This default implementation returns null so that we can easily ignore cases;
|
||||
* it's useful to ignore a case when inheritance will catch all the cases anyway.
|
||||
* <!-- end-user-doc -->
|
||||
* @return the new adapter.
|
||||
* @see org.emoflon.ibex.gt.StateModel.Link
|
||||
* @generated
|
||||
*/
|
||||
public Adapter createLinkAdapter() {
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a new adapter for an object of class '{@link org.emoflon.ibex.gt.StateModel.IBeXMatch <em>IBe XMatch</em>}'.
|
||||
* <!-- begin-user-doc -->
|
||||
* This default implementation returns null so that we can easily ignore cases;
|
||||
* it's useful to ignore a case when inheritance will catch all the cases anyway.
|
||||
* <!-- end-user-doc -->
|
||||
* @return the new adapter.
|
||||
* @see org.emoflon.ibex.gt.StateModel.IBeXMatch
|
||||
* @generated
|
||||
*/
|
||||
public Adapter createIBeXMatchAdapter() {
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a new adapter for an object of class '{@link org.emoflon.ibex.gt.StateModel.Parameter <em>Parameter</em>}'.
|
||||
* <!-- begin-user-doc -->
|
||||
* This default implementation returns null so that we can easily ignore cases;
|
||||
* it's useful to ignore a case when inheritance will catch all the cases anyway.
|
||||
* <!-- end-user-doc -->
|
||||
* @return the new adapter.
|
||||
* @see org.emoflon.ibex.gt.StateModel.Parameter
|
||||
* @generated
|
||||
*/
|
||||
public Adapter createParameterAdapter() {
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a new adapter for an object of class '{@link org.emoflon.ibex.gt.StateModel.Value <em>Value</em>}'.
|
||||
* <!-- begin-user-doc -->
|
||||
* This default implementation returns null so that we can easily ignore cases;
|
||||
* it's useful to ignore a case when inheritance will catch all the cases anyway.
|
||||
* <!-- end-user-doc -->
|
||||
* @return the new adapter.
|
||||
* @see org.emoflon.ibex.gt.StateModel.Value
|
||||
* @generated
|
||||
*/
|
||||
public Adapter createValueAdapter() {
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a new adapter for an object of class '{@link org.emoflon.ibex.gt.StateModel.MatchDelta <em>Match Delta</em>}'.
|
||||
* <!-- begin-user-doc -->
|
||||
* This default implementation returns null so that we can easily ignore cases;
|
||||
* it's useful to ignore a case when inheritance will catch all the cases anyway.
|
||||
* <!-- end-user-doc -->
|
||||
* @return the new adapter.
|
||||
* @see org.emoflon.ibex.gt.StateModel.MatchDelta
|
||||
* @generated
|
||||
*/
|
||||
public Adapter createMatchDeltaAdapter() {
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a new adapter for an object of class '{@link org.emoflon.ibex.gt.StateModel.ComplexParameter <em>Complex Parameter</em>}'.
|
||||
* <!-- begin-user-doc -->
|
||||
* This default implementation returns null so that we can easily ignore cases;
|
||||
* it's useful to ignore a case when inheritance will catch all the cases anyway.
|
||||
* <!-- end-user-doc -->
|
||||
* @return the new adapter.
|
||||
* @see org.emoflon.ibex.gt.StateModel.ComplexParameter
|
||||
* @generated
|
||||
*/
|
||||
public Adapter createComplexParameterAdapter() {
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a new adapter for an object of class '{@link org.emoflon.ibex.gt.StateModel.SimpleParameter <em>Simple Parameter</em>}'.
|
||||
* <!-- begin-user-doc -->
|
||||
* This default implementation returns null so that we can easily ignore cases;
|
||||
* it's useful to ignore a case when inheritance will catch all the cases anyway.
|
||||
* <!-- end-user-doc -->
|
||||
* @return the new adapter.
|
||||
* @see org.emoflon.ibex.gt.StateModel.SimpleParameter
|
||||
* @generated
|
||||
*/
|
||||
public Adapter createSimpleParameterAdapter() {
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a new adapter for the default case.
|
||||
* <!-- begin-user-doc -->
|
||||
* This default implementation returns null.
|
||||
* <!-- end-user-doc -->
|
||||
* @return the new adapter.
|
||||
* @generated
|
||||
*/
|
||||
public Adapter createEObjectAdapter() {
|
||||
return null;
|
||||
}
|
||||
|
||||
} //StateModelAdapterFactory
|
|
@ -1,360 +0,0 @@
|
|||
/**
|
||||
*/
|
||||
package org.emoflon.ibex.gt.StateModel.util;
|
||||
|
||||
import org.eclipse.emf.ecore.EObject;
|
||||
import org.eclipse.emf.ecore.EPackage;
|
||||
|
||||
import org.eclipse.emf.ecore.util.Switch;
|
||||
|
||||
import org.emoflon.ibex.gt.StateModel.*;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* The <b>Switch</b> for the model's inheritance hierarchy.
|
||||
* It supports the call {@link #doSwitch(EObject) doSwitch(object)}
|
||||
* to invoke the <code>caseXXX</code> method for each class of the model,
|
||||
* starting with the actual class of the object
|
||||
* and proceeding up the inheritance hierarchy
|
||||
* until a non-null result is returned,
|
||||
* which is the result of the switch.
|
||||
* <!-- end-user-doc -->
|
||||
* @see org.emoflon.ibex.gt.StateModel.StateModelPackage
|
||||
* @generated
|
||||
*/
|
||||
public class StateModelSwitch<T> extends Switch<T> {
|
||||
/**
|
||||
* The cached model package
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
protected static StateModelPackage modelPackage;
|
||||
|
||||
/**
|
||||
* Creates an instance of the switch.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
public StateModelSwitch() {
|
||||
if (modelPackage == null) {
|
||||
modelPackage = StateModelPackage.eINSTANCE;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks whether this is a switch for the given package.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param ePackage the package in question.
|
||||
* @return whether this is a switch for the given package.
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
protected boolean isSwitchFor(EPackage ePackage) {
|
||||
return ePackage == modelPackage;
|
||||
}
|
||||
|
||||
/**
|
||||
* Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the first non-null result returned by a <code>caseXXX</code> call.
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
protected T doSwitch(int classifierID, EObject theEObject) {
|
||||
switch (classifierID) {
|
||||
case StateModelPackage.STATE_CONTAINER: {
|
||||
StateContainer stateContainer = (StateContainer) theEObject;
|
||||
T result = caseStateContainer(stateContainer);
|
||||
if (result == null)
|
||||
result = defaultCase(theEObject);
|
||||
return result;
|
||||
}
|
||||
case StateModelPackage.STATE: {
|
||||
State state = (State) theEObject;
|
||||
T result = caseState(state);
|
||||
if (result == null)
|
||||
result = defaultCase(theEObject);
|
||||
return result;
|
||||
}
|
||||
case StateModelPackage.RULE_STATE: {
|
||||
RuleState ruleState = (RuleState) theEObject;
|
||||
T result = caseRuleState(ruleState);
|
||||
if (result == null)
|
||||
result = caseState(ruleState);
|
||||
if (result == null)
|
||||
result = defaultCase(theEObject);
|
||||
return result;
|
||||
}
|
||||
case StateModelPackage.ATTRIBUTE_DELTA: {
|
||||
AttributeDelta attributeDelta = (AttributeDelta) theEObject;
|
||||
T result = caseAttributeDelta(attributeDelta);
|
||||
if (result == null)
|
||||
result = defaultCase(theEObject);
|
||||
return result;
|
||||
}
|
||||
case StateModelPackage.STRUCTURAL_DELTA: {
|
||||
StructuralDelta structuralDelta = (StructuralDelta) theEObject;
|
||||
T result = caseStructuralDelta(structuralDelta);
|
||||
if (result == null)
|
||||
result = defaultCase(theEObject);
|
||||
return result;
|
||||
}
|
||||
case StateModelPackage.LINK: {
|
||||
Link link = (Link) theEObject;
|
||||
T result = caseLink(link);
|
||||
if (result == null)
|
||||
result = defaultCase(theEObject);
|
||||
return result;
|
||||
}
|
||||
case StateModelPackage.IBE_XMATCH: {
|
||||
IBeXMatch iBeXMatch = (IBeXMatch) theEObject;
|
||||
T result = caseIBeXMatch(iBeXMatch);
|
||||
if (result == null)
|
||||
result = defaultCase(theEObject);
|
||||
return result;
|
||||
}
|
||||
case StateModelPackage.PARAMETER: {
|
||||
Parameter parameter = (Parameter) theEObject;
|
||||
T result = caseParameter(parameter);
|
||||
if (result == null)
|
||||
result = defaultCase(theEObject);
|
||||
return result;
|
||||
}
|
||||
case StateModelPackage.VALUE: {
|
||||
Value value = (Value) theEObject;
|
||||
T result = caseValue(value);
|
||||
if (result == null)
|
||||
result = defaultCase(theEObject);
|
||||
return result;
|
||||
}
|
||||
case StateModelPackage.MATCH_DELTA: {
|
||||
MatchDelta matchDelta = (MatchDelta) theEObject;
|
||||
T result = caseMatchDelta(matchDelta);
|
||||
if (result == null)
|
||||
result = defaultCase(theEObject);
|
||||
return result;
|
||||
}
|
||||
case StateModelPackage.COMPLEX_PARAMETER: {
|
||||
ComplexParameter complexParameter = (ComplexParameter) theEObject;
|
||||
T result = caseComplexParameter(complexParameter);
|
||||
if (result == null)
|
||||
result = caseParameter(complexParameter);
|
||||
if (result == null)
|
||||
result = defaultCase(theEObject);
|
||||
return result;
|
||||
}
|
||||
case StateModelPackage.SIMPLE_PARAMETER: {
|
||||
SimpleParameter simpleParameter = (SimpleParameter) theEObject;
|
||||
T result = caseSimpleParameter(simpleParameter);
|
||||
if (result == null)
|
||||
result = caseParameter(simpleParameter);
|
||||
if (result == null)
|
||||
result = defaultCase(theEObject);
|
||||
return result;
|
||||
}
|
||||
default:
|
||||
return defaultCase(theEObject);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the result of interpreting the object as an instance of '<em>State Container</em>'.
|
||||
* <!-- begin-user-doc -->
|
||||
* This implementation returns null;
|
||||
* returning a non-null result will terminate the switch.
|
||||
* <!-- end-user-doc -->
|
||||
* @param object the target of the switch.
|
||||
* @return the result of interpreting the object as an instance of '<em>State Container</em>'.
|
||||
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
|
||||
* @generated
|
||||
*/
|
||||
public T caseStateContainer(StateContainer object) {
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the result of interpreting the object as an instance of '<em>State</em>'.
|
||||
* <!-- begin-user-doc -->
|
||||
* This implementation returns null;
|
||||
* returning a non-null result will terminate the switch.
|
||||
* <!-- end-user-doc -->
|
||||
* @param object the target of the switch.
|
||||
* @return the result of interpreting the object as an instance of '<em>State</em>'.
|
||||
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
|
||||
* @generated
|
||||
*/
|
||||
public T caseState(State object) {
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the result of interpreting the object as an instance of '<em>Rule State</em>'.
|
||||
* <!-- begin-user-doc -->
|
||||
* This implementation returns null;
|
||||
* returning a non-null result will terminate the switch.
|
||||
* <!-- end-user-doc -->
|
||||
* @param object the target of the switch.
|
||||
* @return the result of interpreting the object as an instance of '<em>Rule State</em>'.
|
||||
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
|
||||
* @generated
|
||||
*/
|
||||
public T caseRuleState(RuleState object) {
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the result of interpreting the object as an instance of '<em>Attribute Delta</em>'.
|
||||
* <!-- begin-user-doc -->
|
||||
* This implementation returns null;
|
||||
* returning a non-null result will terminate the switch.
|
||||
* <!-- end-user-doc -->
|
||||
* @param object the target of the switch.
|
||||
* @return the result of interpreting the object as an instance of '<em>Attribute Delta</em>'.
|
||||
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
|
||||
* @generated
|
||||
*/
|
||||
public T caseAttributeDelta(AttributeDelta object) {
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the result of interpreting the object as an instance of '<em>Structural Delta</em>'.
|
||||
* <!-- begin-user-doc -->
|
||||
* This implementation returns null;
|
||||
* returning a non-null result will terminate the switch.
|
||||
* <!-- end-user-doc -->
|
||||
* @param object the target of the switch.
|
||||
* @return the result of interpreting the object as an instance of '<em>Structural Delta</em>'.
|
||||
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
|
||||
* @generated
|
||||
*/
|
||||
public T caseStructuralDelta(StructuralDelta object) {
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the result of interpreting the object as an instance of '<em>Link</em>'.
|
||||
* <!-- begin-user-doc -->
|
||||
* This implementation returns null;
|
||||
* returning a non-null result will terminate the switch.
|
||||
* <!-- end-user-doc -->
|
||||
* @param object the target of the switch.
|
||||
* @return the result of interpreting the object as an instance of '<em>Link</em>'.
|
||||
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
|
||||
* @generated
|
||||
*/
|
||||
public T caseLink(Link object) {
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the result of interpreting the object as an instance of '<em>IBe XMatch</em>'.
|
||||
* <!-- begin-user-doc -->
|
||||
* This implementation returns null;
|
||||
* returning a non-null result will terminate the switch.
|
||||
* <!-- end-user-doc -->
|
||||
* @param object the target of the switch.
|
||||
* @return the result of interpreting the object as an instance of '<em>IBe XMatch</em>'.
|
||||
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
|
||||
* @generated
|
||||
*/
|
||||
public T caseIBeXMatch(IBeXMatch object) {
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the result of interpreting the object as an instance of '<em>Parameter</em>'.
|
||||
* <!-- begin-user-doc -->
|
||||
* This implementation returns null;
|
||||
* returning a non-null result will terminate the switch.
|
||||
* <!-- end-user-doc -->
|
||||
* @param object the target of the switch.
|
||||
* @return the result of interpreting the object as an instance of '<em>Parameter</em>'.
|
||||
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
|
||||
* @generated
|
||||
*/
|
||||
public T caseParameter(Parameter object) {
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the result of interpreting the object as an instance of '<em>Value</em>'.
|
||||
* <!-- begin-user-doc -->
|
||||
* This implementation returns null;
|
||||
* returning a non-null result will terminate the switch.
|
||||
* <!-- end-user-doc -->
|
||||
* @param object the target of the switch.
|
||||
* @return the result of interpreting the object as an instance of '<em>Value</em>'.
|
||||
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
|
||||
* @generated
|
||||
*/
|
||||
public T caseValue(Value object) {
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the result of interpreting the object as an instance of '<em>Match Delta</em>'.
|
||||
* <!-- begin-user-doc -->
|
||||
* This implementation returns null;
|
||||
* returning a non-null result will terminate the switch.
|
||||
* <!-- end-user-doc -->
|
||||
* @param object the target of the switch.
|
||||
* @return the result of interpreting the object as an instance of '<em>Match Delta</em>'.
|
||||
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
|
||||
* @generated
|
||||
*/
|
||||
public T caseMatchDelta(MatchDelta object) {
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the result of interpreting the object as an instance of '<em>Complex Parameter</em>'.
|
||||
* <!-- begin-user-doc -->
|
||||
* This implementation returns null;
|
||||
* returning a non-null result will terminate the switch.
|
||||
* <!-- end-user-doc -->
|
||||
* @param object the target of the switch.
|
||||
* @return the result of interpreting the object as an instance of '<em>Complex Parameter</em>'.
|
||||
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
|
||||
* @generated
|
||||
*/
|
||||
public T caseComplexParameter(ComplexParameter object) {
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the result of interpreting the object as an instance of '<em>Simple Parameter</em>'.
|
||||
* <!-- begin-user-doc -->
|
||||
* This implementation returns null;
|
||||
* returning a non-null result will terminate the switch.
|
||||
* <!-- end-user-doc -->
|
||||
* @param object the target of the switch.
|
||||
* @return the result of interpreting the object as an instance of '<em>Simple Parameter</em>'.
|
||||
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
|
||||
* @generated
|
||||
*/
|
||||
public T caseSimpleParameter(SimpleParameter object) {
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the result of interpreting the object as an instance of '<em>EObject</em>'.
|
||||
* <!-- begin-user-doc -->
|
||||
* This implementation returns null;
|
||||
* returning a non-null result will terminate the switch, but this is the last case anyway.
|
||||
* <!-- end-user-doc -->
|
||||
* @param object the target of the switch.
|
||||
* @return the result of interpreting the object as an instance of '<em>EObject</em>'.
|
||||
* @see #doSwitch(org.eclipse.emf.ecore.EObject)
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public T defaultCase(EObject object) {
|
||||
return null;
|
||||
}
|
||||
|
||||
} //StateModelSwitch
|
|
@ -1,23 +0,0 @@
|
|||
/**
|
||||
*
|
||||
* $Id$
|
||||
*/
|
||||
package org.emoflon.ibex.gt.StateModel.validation;
|
||||
|
||||
import org.eclipse.emf.common.util.EList;
|
||||
|
||||
import org.emoflon.ibex.gt.StateModel.IBeXMatch;
|
||||
|
||||
/**
|
||||
* A sample validator interface for {@link org.emoflon.ibex.gt.StateModel.AllMatches}.
|
||||
* This doesn't really do anything, and it's not a real EMF artifact.
|
||||
* It was generated by the org.eclipse.emf.examples.generator.validator plug-in to illustrate how EMF's code generator can be extended.
|
||||
* This can be disabled with -vmargs -Dorg.eclipse.emf.examples.generator.validator=false.
|
||||
*/
|
||||
public interface AllMatchesValidator {
|
||||
boolean validate();
|
||||
|
||||
boolean validatePatternName(String value);
|
||||
|
||||
boolean validateAllMatchesForPattern(EList<IBeXMatch> value);
|
||||
}
|
|
@ -1,28 +0,0 @@
|
|||
/**
|
||||
*
|
||||
* $Id$
|
||||
*/
|
||||
package org.emoflon.ibex.gt.StateModel.validation;
|
||||
|
||||
import org.eclipse.emf.ecore.EAttribute;
|
||||
import org.eclipse.emf.ecore.EObject;
|
||||
|
||||
import org.emoflon.ibex.gt.StateModel.Value;
|
||||
|
||||
/**
|
||||
* A sample validator interface for {@link org.emoflon.ibex.gt.StateModel.AttributeDelta}.
|
||||
* This doesn't really do anything, and it's not a real EMF artifact.
|
||||
* It was generated by the org.eclipse.emf.examples.generator.validator plug-in to illustrate how EMF's code generator can be extended.
|
||||
* This can be disabled with -vmargs -Dorg.eclipse.emf.examples.generator.validator=false.
|
||||
*/
|
||||
public interface AttributeDeltaValidator {
|
||||
boolean validate();
|
||||
|
||||
boolean validateAttribute(EAttribute value);
|
||||
|
||||
boolean validateObject(EObject value);
|
||||
|
||||
boolean validateOldValue(Value value);
|
||||
|
||||
boolean validateNewValue(Value value);
|
||||
}
|
|
@ -1,23 +0,0 @@
|
|||
/**
|
||||
*
|
||||
* $Id$
|
||||
*/
|
||||
package org.emoflon.ibex.gt.StateModel.validation;
|
||||
|
||||
import org.eclipse.emf.common.util.EList;
|
||||
|
||||
import org.emoflon.ibex.gt.StateModel.Parameter;
|
||||
|
||||
/**
|
||||
* A sample validator interface for {@link org.emoflon.ibex.gt.StateModel.IBeXMatch}.
|
||||
* This doesn't really do anything, and it's not a real EMF artifact.
|
||||
* It was generated by the org.eclipse.emf.examples.generator.validator plug-in to illustrate how EMF's code generator can be extended.
|
||||
* This can be disabled with -vmargs -Dorg.eclipse.emf.examples.generator.validator=false.
|
||||
*/
|
||||
public interface IBeXMatchValidator {
|
||||
boolean validate();
|
||||
|
||||
boolean validatePatternName(String value);
|
||||
|
||||
boolean validateParameters(EList<Parameter> value);
|
||||
}
|
|
@ -1,24 +0,0 @@
|
|||
/**
|
||||
*
|
||||
* $Id$
|
||||
*/
|
||||
package org.emoflon.ibex.gt.StateModel.validation;
|
||||
|
||||
import org.eclipse.emf.ecore.EObject;
|
||||
import org.eclipse.emf.ecore.EReference;
|
||||
|
||||
/**
|
||||
* A sample validator interface for {@link org.emoflon.ibex.gt.StateModel.Link}.
|
||||
* This doesn't really do anything, and it's not a real EMF artifact.
|
||||
* It was generated by the org.eclipse.emf.examples.generator.validator plug-in to illustrate how EMF's code generator can be extended.
|
||||
* This can be disabled with -vmargs -Dorg.eclipse.emf.examples.generator.validator=false.
|
||||
*/
|
||||
public interface LinkValidator {
|
||||
boolean validate();
|
||||
|
||||
boolean validateType(EReference value);
|
||||
|
||||
boolean validateSrc(EObject value);
|
||||
|
||||
boolean validateTrg(EObject value);
|
||||
}
|
|
@ -1,23 +0,0 @@
|
|||
/**
|
||||
*
|
||||
* $Id$
|
||||
*/
|
||||
package org.emoflon.ibex.gt.StateModel.validation;
|
||||
|
||||
import org.eclipse.emf.common.util.EList;
|
||||
|
||||
import org.emoflon.ibex.gt.StateModel.IBeXMatch;
|
||||
|
||||
/**
|
||||
* A sample validator interface for {@link org.emoflon.ibex.gt.StateModel.MatchDelta}.
|
||||
* This doesn't really do anything, and it's not a real EMF artifact.
|
||||
* It was generated by the org.eclipse.emf.examples.generator.validator plug-in to illustrate how EMF's code generator can be extended.
|
||||
* This can be disabled with -vmargs -Dorg.eclipse.emf.examples.generator.validator=false.
|
||||
*/
|
||||
public interface MatchDeltaValidator {
|
||||
boolean validate();
|
||||
|
||||
boolean validatePatternName(String value);
|
||||
|
||||
boolean validateMatchDeltasForPattern(EList<IBeXMatch> value);
|
||||
}
|
|
@ -1,21 +0,0 @@
|
|||
/**
|
||||
*
|
||||
* $Id$
|
||||
*/
|
||||
package org.emoflon.ibex.gt.StateModel.validation;
|
||||
|
||||
import org.eclipse.emf.ecore.EObject;
|
||||
|
||||
/**
|
||||
* A sample validator interface for {@link org.emoflon.ibex.gt.StateModel.Parameter}.
|
||||
* This doesn't really do anything, and it's not a real EMF artifact.
|
||||
* It was generated by the org.eclipse.emf.examples.generator.validator plug-in to illustrate how EMF's code generator can be extended.
|
||||
* This can be disabled with -vmargs -Dorg.eclipse.emf.examples.generator.validator=false.
|
||||
*/
|
||||
public interface ParameterValidator {
|
||||
boolean validate();
|
||||
|
||||
boolean validateName(String value);
|
||||
|
||||
boolean validateParameter(EObject value);
|
||||
}
|
|
@ -1,49 +0,0 @@
|
|||
/**
|
||||
*
|
||||
* $Id$
|
||||
*/
|
||||
package org.emoflon.ibex.gt.StateModel.validation;
|
||||
|
||||
import org.eclipse.emf.common.util.EList;
|
||||
|
||||
import org.emoflon.ibex.gt.StateModel.AllMatches;
|
||||
import org.emoflon.ibex.gt.StateModel.AttributeDelta;
|
||||
import org.emoflon.ibex.gt.StateModel.IBeXMatch;
|
||||
import org.emoflon.ibex.gt.StateModel.MatchDelta;
|
||||
import org.emoflon.ibex.gt.StateModel.Parameter;
|
||||
import org.emoflon.ibex.gt.StateModel.State;
|
||||
import org.emoflon.ibex.gt.StateModel.StructuralDelta;
|
||||
|
||||
import org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXRule;
|
||||
|
||||
/**
|
||||
* A sample validator interface for {@link org.emoflon.ibex.gt.StateModel.RuleState}.
|
||||
* This doesn't really do anything, and it's not a real EMF artifact.
|
||||
* It was generated by the org.eclipse.emf.examples.generator.validator plug-in to illustrate how EMF's code generator can be extended.
|
||||
* This can be disabled with -vmargs -Dorg.eclipse.emf.examples.generator.validator=false.
|
||||
*/
|
||||
public interface RuleStateValidator {
|
||||
boolean validate();
|
||||
|
||||
boolean validateParent(State value);
|
||||
|
||||
boolean validateRule(IBeXRule value);
|
||||
|
||||
boolean validateStructuralDelta(StructuralDelta value);
|
||||
|
||||
boolean validateAttributeDeltas(EList<AttributeDelta> value);
|
||||
|
||||
boolean validateMatch(IBeXMatch value);
|
||||
|
||||
boolean validateCoMatch(IBeXMatch value);
|
||||
|
||||
boolean validateParameters(EList<Parameter> value);
|
||||
|
||||
boolean validateAllMatches(EList<AllMatches> value);
|
||||
|
||||
boolean validateDeletedMatches(EList<MatchDelta> value);
|
||||
|
||||
boolean validateCreatedMatches(EList<MatchDelta> value);
|
||||
|
||||
boolean validateMatchCount(long value);
|
||||
}
|
|
@ -1,26 +0,0 @@
|
|||
/**
|
||||
*
|
||||
* $Id$
|
||||
*/
|
||||
package org.emoflon.ibex.gt.StateModel.validation;
|
||||
|
||||
import org.eclipse.emf.common.util.EList;
|
||||
|
||||
import org.emoflon.ibex.gt.StateModel.IBeXMatch;
|
||||
import org.emoflon.ibex.gt.StateModel.State;
|
||||
|
||||
/**
|
||||
* A sample validator interface for {@link org.emoflon.ibex.gt.StateModel.StateContainer}.
|
||||
* This doesn't really do anything, and it's not a real EMF artifact.
|
||||
* It was generated by the org.eclipse.emf.examples.generator.validator plug-in to illustrate how EMF's code generator can be extended.
|
||||
* This can be disabled with -vmargs -Dorg.eclipse.emf.examples.generator.validator=false.
|
||||
*/
|
||||
public interface StateContainerValidator {
|
||||
boolean validate();
|
||||
|
||||
boolean validateStates(EList<State> value);
|
||||
|
||||
boolean validateInitialState(State value);
|
||||
|
||||
boolean validateInitialMatches(EList<IBeXMatch> value);
|
||||
}
|
|
@ -1,27 +0,0 @@
|
|||
/**
|
||||
*
|
||||
* $Id$
|
||||
*/
|
||||
package org.emoflon.ibex.gt.StateModel.validation;
|
||||
|
||||
import org.eclipse.emf.common.util.EList;
|
||||
|
||||
import org.emoflon.ibex.gt.StateModel.RuleState;
|
||||
|
||||
/**
|
||||
* A sample validator interface for {@link org.emoflon.ibex.gt.StateModel.State}.
|
||||
* This doesn't really do anything, and it's not a real EMF artifact.
|
||||
* It was generated by the org.eclipse.emf.examples.generator.validator plug-in to illustrate how EMF's code generator can be extended.
|
||||
* This can be disabled with -vmargs -Dorg.eclipse.emf.examples.generator.validator=false.
|
||||
*/
|
||||
public interface StateValidator {
|
||||
boolean validate();
|
||||
|
||||
boolean validateInitial(boolean value);
|
||||
|
||||
boolean validateChildren(EList<RuleState> value);
|
||||
|
||||
boolean validateHash(long value);
|
||||
|
||||
boolean validatePushoutApproach(int value);
|
||||
}
|
|
@ -1,33 +0,0 @@
|
|||
/**
|
||||
*
|
||||
* $Id$
|
||||
*/
|
||||
package org.emoflon.ibex.gt.StateModel.validation;
|
||||
|
||||
import org.eclipse.emf.common.util.EList;
|
||||
|
||||
import org.eclipse.emf.ecore.EObject;
|
||||
|
||||
import org.emoflon.ibex.gt.StateModel.Link;
|
||||
|
||||
/**
|
||||
* A sample validator interface for {@link org.emoflon.ibex.gt.StateModel.StructuralDelta}.
|
||||
* This doesn't really do anything, and it's not a real EMF artifact.
|
||||
* It was generated by the org.eclipse.emf.examples.generator.validator plug-in to illustrate how EMF's code generator can be extended.
|
||||
* This can be disabled with -vmargs -Dorg.eclipse.emf.examples.generator.validator=false.
|
||||
*/
|
||||
public interface StructuralDeltaValidator {
|
||||
boolean validate();
|
||||
|
||||
boolean validateCreatedObjects(EList<EObject> value);
|
||||
|
||||
boolean validateDeletedObjects(EList<EObject> value);
|
||||
|
||||
boolean validateCreatedLinks(EList<Link> value);
|
||||
|
||||
boolean validateDeletedLinks(EList<Link> value);
|
||||
|
||||
boolean validateDeletedRootLevelObjects(EList<EObject> value);
|
||||
|
||||
boolean validateResource2EObjectContainment(EList<EObject> value);
|
||||
}
|
|
@ -1,21 +0,0 @@
|
|||
/**
|
||||
*
|
||||
* $Id$
|
||||
*/
|
||||
package org.emoflon.ibex.gt.StateModel.validation;
|
||||
|
||||
import org.eclipse.emf.ecore.EDataType;
|
||||
|
||||
/**
|
||||
* A sample validator interface for {@link org.emoflon.ibex.gt.StateModel.Value}.
|
||||
* This doesn't really do anything, and it's not a real EMF artifact.
|
||||
* It was generated by the org.eclipse.emf.examples.generator.validator plug-in to illustrate how EMF's code generator can be extended.
|
||||
* This can be disabled with -vmargs -Dorg.eclipse.emf.examples.generator.validator=false.
|
||||
*/
|
||||
public interface ValueValidator {
|
||||
boolean validate();
|
||||
|
||||
boolean validateType(EDataType value);
|
||||
|
||||
boolean validateValueAsString(String value);
|
||||
}
|
2
org.emoflon.ibex.patternmodel/.gitignore
vendored
2
org.emoflon.ibex.patternmodel/.gitignore
vendored
|
@ -1 +1,3 @@
|
|||
/bin/
|
||||
/src-gen/
|
||||
|
||||
|
|
|
@ -1,69 +0,0 @@
|
|||
/**
|
||||
*/
|
||||
package org.emoflon.ibex.patternmodel.IBeXPatternModel;
|
||||
|
||||
import org.eclipse.emf.ecore.EAttribute;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* A representation of the model object '<em><b>IBe XArithmetic Attribute</b></em>'.
|
||||
* <!-- end-user-doc -->
|
||||
*
|
||||
* <p>
|
||||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXArithmeticAttribute#getAttribute <em>Attribute</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXArithmeticAttribute#isNegative <em>Negative</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXArithmeticAttribute()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
public interface IBeXArithmeticAttribute extends IBeXNode, IBeXArithmeticExpression {
|
||||
/**
|
||||
* Returns the value of the '<em><b>Attribute</b></em>' reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Attribute</em>' reference.
|
||||
* @see #setAttribute(EAttribute)
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXArithmeticAttribute_Attribute()
|
||||
* @model required="true"
|
||||
* @generated
|
||||
*/
|
||||
EAttribute getAttribute();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXArithmeticAttribute#getAttribute <em>Attribute</em>}' reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Attribute</em>' reference.
|
||||
* @see #getAttribute()
|
||||
* @generated
|
||||
*/
|
||||
void setAttribute(EAttribute value);
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Negative</b></em>' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Negative</em>' attribute.
|
||||
* @see #setNegative(boolean)
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXArithmeticAttribute_Negative()
|
||||
* @model required="true"
|
||||
* @generated
|
||||
*/
|
||||
boolean isNegative();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXArithmeticAttribute#isNegative <em>Negative</em>}' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Negative</em>' attribute.
|
||||
* @see #isNegative()
|
||||
* @generated
|
||||
*/
|
||||
void setNegative(boolean value);
|
||||
|
||||
} // IBeXArithmeticAttribute
|
|
@ -1,93 +0,0 @@
|
|||
/**
|
||||
*/
|
||||
package org.emoflon.ibex.patternmodel.IBeXPatternModel;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* A representation of the model object '<em><b>IBe XArithmetic Constraint</b></em>'.
|
||||
* <!-- end-user-doc -->
|
||||
*
|
||||
* <p>
|
||||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXArithmeticConstraint#getLhs <em>Lhs</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXArithmeticConstraint#getRelation <em>Relation</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXArithmeticConstraint#getRhs <em>Rhs</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXArithmeticConstraint()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
public interface IBeXArithmeticConstraint extends IBeXConstraint {
|
||||
/**
|
||||
* Returns the value of the '<em><b>Lhs</b></em>' containment reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Lhs</em>' containment reference.
|
||||
* @see #setLhs(IBeXArithmeticExpression)
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXArithmeticConstraint_Lhs()
|
||||
* @model containment="true" required="true"
|
||||
* @generated
|
||||
*/
|
||||
IBeXArithmeticExpression getLhs();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXArithmeticConstraint#getLhs <em>Lhs</em>}' containment reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Lhs</em>' containment reference.
|
||||
* @see #getLhs()
|
||||
* @generated
|
||||
*/
|
||||
void setLhs(IBeXArithmeticExpression value);
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Relation</b></em>' attribute.
|
||||
* The literals are from the enumeration {@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXRelation}.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Relation</em>' attribute.
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXRelation
|
||||
* @see #setRelation(IBeXRelation)
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXArithmeticConstraint_Relation()
|
||||
* @model required="true"
|
||||
* @generated
|
||||
*/
|
||||
IBeXRelation getRelation();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXArithmeticConstraint#getRelation <em>Relation</em>}' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Relation</em>' attribute.
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXRelation
|
||||
* @see #getRelation()
|
||||
* @generated
|
||||
*/
|
||||
void setRelation(IBeXRelation value);
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Rhs</b></em>' containment reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Rhs</em>' containment reference.
|
||||
* @see #setRhs(IBeXArithmeticExpression)
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXArithmeticConstraint_Rhs()
|
||||
* @model containment="true" required="true"
|
||||
* @generated
|
||||
*/
|
||||
IBeXArithmeticExpression getRhs();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXArithmeticConstraint#getRhs <em>Rhs</em>}' containment reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Rhs</em>' containment reference.
|
||||
* @see #getRhs()
|
||||
* @generated
|
||||
*/
|
||||
void setRhs(IBeXArithmeticExpression value);
|
||||
|
||||
} // IBeXArithmeticConstraint
|
|
@ -1,18 +0,0 @@
|
|||
/**
|
||||
*/
|
||||
package org.emoflon.ibex.patternmodel.IBeXPatternModel;
|
||||
|
||||
import org.eclipse.emf.ecore.EObject;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* A representation of the model object '<em><b>IBe XArithmetic Expression</b></em>'.
|
||||
* <!-- end-user-doc -->
|
||||
*
|
||||
*
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXArithmeticExpression()
|
||||
* @model interface="true" abstract="true"
|
||||
* @generated
|
||||
*/
|
||||
public interface IBeXArithmeticExpression extends EObject {
|
||||
} // IBeXArithmeticExpression
|
|
@ -1,44 +0,0 @@
|
|||
/**
|
||||
*/
|
||||
package org.emoflon.ibex.patternmodel.IBeXPatternModel;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* A representation of the model object '<em><b>IBe XArithmetic Value</b></em>'.
|
||||
* <!-- end-user-doc -->
|
||||
*
|
||||
* <p>
|
||||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXArithmeticValue#getExpression <em>Expression</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXArithmeticValue()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
public interface IBeXArithmeticValue extends IBeXAttributeValue {
|
||||
/**
|
||||
* Returns the value of the '<em><b>Expression</b></em>' containment reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Expression</em>' containment reference.
|
||||
* @see #setExpression(IBeXArithmeticExpression)
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXArithmeticValue_Expression()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
||||
IBeXArithmeticExpression getExpression();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXArithmeticValue#getExpression <em>Expression</em>}' containment reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Expression</em>' containment reference.
|
||||
* @see #getExpression()
|
||||
* @generated
|
||||
*/
|
||||
void setExpression(IBeXArithmeticExpression value);
|
||||
|
||||
} // IBeXArithmeticValue
|
|
@ -1,44 +0,0 @@
|
|||
/**
|
||||
*/
|
||||
package org.emoflon.ibex.patternmodel.IBeXPatternModel;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* A representation of the model object '<em><b>IBe XArithmetic Value Literal</b></em>'.
|
||||
* <!-- end-user-doc -->
|
||||
*
|
||||
* <p>
|
||||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXArithmeticValueLiteral#getValue <em>Value</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXArithmeticValueLiteral()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
public interface IBeXArithmeticValueLiteral extends IBeXArithmeticExpression {
|
||||
/**
|
||||
* Returns the value of the '<em><b>Value</b></em>' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Value</em>' attribute.
|
||||
* @see #setValue(double)
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXArithmeticValueLiteral_Value()
|
||||
* @model required="true"
|
||||
* @generated
|
||||
*/
|
||||
double getValue();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXArithmeticValueLiteral#getValue <em>Value</em>}' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Value</em>' attribute.
|
||||
* @see #getValue()
|
||||
* @generated
|
||||
*/
|
||||
void setValue(double value);
|
||||
|
||||
} // IBeXArithmeticValueLiteral
|
|
@ -1,22 +0,0 @@
|
|||
/**
|
||||
*/
|
||||
package org.emoflon.ibex.patternmodel.IBeXPatternModel;
|
||||
|
||||
import org.eclipse.emf.ecore.EObject;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* A representation of the model object '<em><b>IBe XAttribute</b></em>'.
|
||||
* <!-- end-user-doc -->
|
||||
*
|
||||
* <!-- begin-model-doc -->
|
||||
* The super class for attribute assignments and constraints.
|
||||
* <!-- end-model-doc -->
|
||||
*
|
||||
*
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXAttribute()
|
||||
* @model abstract="true"
|
||||
* @generated
|
||||
*/
|
||||
public interface IBeXAttribute extends EObject {
|
||||
} // IBeXAttribute
|
|
@ -1,96 +0,0 @@
|
|||
/**
|
||||
*/
|
||||
package org.emoflon.ibex.patternmodel.IBeXPatternModel;
|
||||
|
||||
import org.eclipse.emf.ecore.EAttribute;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* A representation of the model object '<em><b>IBe XAttribute Assignment</b></em>'.
|
||||
* <!-- end-user-doc -->
|
||||
*
|
||||
* <!-- begin-model-doc -->
|
||||
* An attribute assignment sets the attribute value.
|
||||
* <!-- end-model-doc -->
|
||||
*
|
||||
* <p>
|
||||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXAttributeAssignment#getValue <em>Value</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXAttributeAssignment#getNode <em>Node</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXAttributeAssignment#getType <em>Type</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXAttributeAssignment()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
public interface IBeXAttributeAssignment extends IBeXAttribute {
|
||||
/**
|
||||
* Returns the value of the '<em><b>Value</b></em>' containment reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Value</em>' containment reference.
|
||||
* @see #setValue(IBeXAttributeValue)
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXAttributeAssignment_Value()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
||||
IBeXAttributeValue getValue();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXAttributeAssignment#getValue <em>Value</em>}' containment reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Value</em>' containment reference.
|
||||
* @see #getValue()
|
||||
* @generated
|
||||
*/
|
||||
void setValue(IBeXAttributeValue value);
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Node</b></em>' reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Node</em>' reference.
|
||||
* @see #setNode(IBeXNode)
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXAttributeAssignment_Node()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
IBeXNode getNode();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXAttributeAssignment#getNode <em>Node</em>}' reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Node</em>' reference.
|
||||
* @see #getNode()
|
||||
* @generated
|
||||
*/
|
||||
void setNode(IBeXNode value);
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Type</b></em>' reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Type</em>' reference.
|
||||
* @see #setType(EAttribute)
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXAttributeAssignment_Type()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
EAttribute getType();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXAttributeAssignment#getType <em>Type</em>}' reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Type</em>' reference.
|
||||
* @see #getType()
|
||||
* @generated
|
||||
*/
|
||||
void setType(EAttribute value);
|
||||
|
||||
} // IBeXAttributeAssignment
|
|
@ -1,97 +0,0 @@
|
|||
/**
|
||||
*/
|
||||
package org.emoflon.ibex.patternmodel.IBeXPatternModel;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* A representation of the model object '<em><b>IBe XAttribute Constraint</b></em>'.
|
||||
* <!-- end-user-doc -->
|
||||
*
|
||||
* <!-- begin-model-doc -->
|
||||
* A constraint defines a relation which must hold for a certain attribute of a node.
|
||||
* <!-- end-model-doc -->
|
||||
*
|
||||
* <p>
|
||||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXAttributeConstraint#getRelation <em>Relation</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXAttributeConstraint#getLhs <em>Lhs</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXAttributeConstraint#getRhs <em>Rhs</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXAttributeConstraint()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
public interface IBeXAttributeConstraint extends IBeXAttribute, IBeXConstraint {
|
||||
/**
|
||||
* Returns the value of the '<em><b>Relation</b></em>' attribute.
|
||||
* The literals are from the enumeration {@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXRelation}.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Relation</em>' attribute.
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXRelation
|
||||
* @see #setRelation(IBeXRelation)
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXAttributeConstraint_Relation()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
IBeXRelation getRelation();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXAttributeConstraint#getRelation <em>Relation</em>}' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Relation</em>' attribute.
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXRelation
|
||||
* @see #getRelation()
|
||||
* @generated
|
||||
*/
|
||||
void setRelation(IBeXRelation value);
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Lhs</b></em>' containment reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Lhs</em>' containment reference.
|
||||
* @see #setLhs(IBeXAttributeValue)
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXAttributeConstraint_Lhs()
|
||||
* @model containment="true" required="true"
|
||||
* @generated
|
||||
*/
|
||||
IBeXAttributeValue getLhs();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXAttributeConstraint#getLhs <em>Lhs</em>}' containment reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Lhs</em>' containment reference.
|
||||
* @see #getLhs()
|
||||
* @generated
|
||||
*/
|
||||
void setLhs(IBeXAttributeValue value);
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Rhs</b></em>' containment reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Rhs</em>' containment reference.
|
||||
* @see #setRhs(IBeXAttributeValue)
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXAttributeConstraint_Rhs()
|
||||
* @model containment="true" required="true"
|
||||
* @generated
|
||||
*/
|
||||
IBeXAttributeValue getRhs();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXAttributeConstraint#getRhs <em>Rhs</em>}' containment reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Rhs</em>' containment reference.
|
||||
* @see #getRhs()
|
||||
* @generated
|
||||
*/
|
||||
void setRhs(IBeXAttributeValue value);
|
||||
|
||||
} // IBeXAttributeConstraint
|
|
@ -1,73 +0,0 @@
|
|||
/**
|
||||
*/
|
||||
package org.emoflon.ibex.patternmodel.IBeXPatternModel;
|
||||
|
||||
import org.eclipse.emf.ecore.EAttribute;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* A representation of the model object '<em><b>IBe XAttribute Expression</b></em>'.
|
||||
* <!-- end-user-doc -->
|
||||
*
|
||||
* <!-- begin-model-doc -->
|
||||
* An attribute expression points to the attribute value of a node.
|
||||
* <!-- end-model-doc -->
|
||||
*
|
||||
* <p>
|
||||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXAttributeExpression#getAttribute <em>Attribute</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXAttributeExpression#getNode <em>Node</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXAttributeExpression()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
public interface IBeXAttributeExpression extends IBeXAttributeValue {
|
||||
/**
|
||||
* Returns the value of the '<em><b>Attribute</b></em>' reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Attribute</em>' reference.
|
||||
* @see #setAttribute(EAttribute)
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXAttributeExpression_Attribute()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
EAttribute getAttribute();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXAttributeExpression#getAttribute <em>Attribute</em>}' reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Attribute</em>' reference.
|
||||
* @see #getAttribute()
|
||||
* @generated
|
||||
*/
|
||||
void setAttribute(EAttribute value);
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Node</b></em>' reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Node</em>' reference.
|
||||
* @see #setNode(IBeXNode)
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXAttributeExpression_Node()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
IBeXNode getNode();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXAttributeExpression#getNode <em>Node</em>}' reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Node</em>' reference.
|
||||
* @see #getNode()
|
||||
* @generated
|
||||
*/
|
||||
void setNode(IBeXNode value);
|
||||
|
||||
} // IBeXAttributeExpression
|
|
@ -1,20 +0,0 @@
|
|||
/**
|
||||
*/
|
||||
package org.emoflon.ibex.patternmodel.IBeXPatternModel;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* A representation of the model object '<em><b>IBe XAttribute Parameter</b></em>'.
|
||||
* <!-- end-user-doc -->
|
||||
*
|
||||
* <!-- begin-model-doc -->
|
||||
* An attribute value whose value is determined by a parameter.
|
||||
* <!-- end-model-doc -->
|
||||
*
|
||||
*
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXAttributeParameter()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
public interface IBeXAttributeParameter extends IBeXAttributeValue, IBeXNamedElement {
|
||||
} // IBeXAttributeParameter
|
|
@ -1,22 +0,0 @@
|
|||
/**
|
||||
*/
|
||||
package org.emoflon.ibex.patternmodel.IBeXPatternModel;
|
||||
|
||||
import org.eclipse.emf.ecore.EObject;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* A representation of the model object '<em><b>IBe XAttribute Value</b></em>'.
|
||||
* <!-- end-user-doc -->
|
||||
*
|
||||
* <!-- begin-model-doc -->
|
||||
* The value of an attribute constraint or assignment.
|
||||
* <!-- end-model-doc -->
|
||||
*
|
||||
*
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXAttributeValue()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
public interface IBeXAttributeValue extends EObject {
|
||||
} // IBeXAttributeValue
|
|
@ -1,93 +0,0 @@
|
|||
/**
|
||||
*/
|
||||
package org.emoflon.ibex.patternmodel.IBeXPatternModel;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* A representation of the model object '<em><b>IBe XBinary Expression</b></em>'.
|
||||
* <!-- end-user-doc -->
|
||||
*
|
||||
* <p>
|
||||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXBinaryExpression#getLeft <em>Left</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXBinaryExpression#getRight <em>Right</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXBinaryExpression#getOperator <em>Operator</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXBinaryExpression()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
public interface IBeXBinaryExpression extends IBeXArithmeticExpression {
|
||||
/**
|
||||
* Returns the value of the '<em><b>Left</b></em>' containment reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Left</em>' containment reference.
|
||||
* @see #setLeft(IBeXArithmeticExpression)
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXBinaryExpression_Left()
|
||||
* @model containment="true" required="true"
|
||||
* @generated
|
||||
*/
|
||||
IBeXArithmeticExpression getLeft();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXBinaryExpression#getLeft <em>Left</em>}' containment reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Left</em>' containment reference.
|
||||
* @see #getLeft()
|
||||
* @generated
|
||||
*/
|
||||
void setLeft(IBeXArithmeticExpression value);
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Right</b></em>' containment reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Right</em>' containment reference.
|
||||
* @see #setRight(IBeXArithmeticExpression)
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXBinaryExpression_Right()
|
||||
* @model containment="true" required="true"
|
||||
* @generated
|
||||
*/
|
||||
IBeXArithmeticExpression getRight();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXBinaryExpression#getRight <em>Right</em>}' containment reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Right</em>' containment reference.
|
||||
* @see #getRight()
|
||||
* @generated
|
||||
*/
|
||||
void setRight(IBeXArithmeticExpression value);
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Operator</b></em>' attribute.
|
||||
* The literals are from the enumeration {@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXBinaryOperator}.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Operator</em>' attribute.
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXBinaryOperator
|
||||
* @see #setOperator(IBeXBinaryOperator)
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXBinaryExpression_Operator()
|
||||
* @model required="true"
|
||||
* @generated
|
||||
*/
|
||||
IBeXBinaryOperator getOperator();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXBinaryExpression#getOperator <em>Operator</em>}' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Operator</em>' attribute.
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXBinaryOperator
|
||||
* @see #getOperator()
|
||||
* @generated
|
||||
*/
|
||||
void setOperator(IBeXBinaryOperator value);
|
||||
|
||||
} // IBeXBinaryExpression
|
|
@ -1,346 +0,0 @@
|
|||
/**
|
||||
*/
|
||||
package org.emoflon.ibex.patternmodel.IBeXPatternModel;
|
||||
|
||||
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>IBe XBinary Operator</b></em>',
|
||||
* and utility methods for working with them.
|
||||
* <!-- end-user-doc -->
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXBinaryOperator()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
public enum IBeXBinaryOperator implements Enumerator {
|
||||
/**
|
||||
* The '<em><b>ADDITION</b></em>' literal object.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #ADDITION_VALUE
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
ADDITION(0, "ADDITION", "ADDITION"),
|
||||
|
||||
/**
|
||||
* The '<em><b>MULTIPLICATION</b></em>' literal object.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #MULTIPLICATION_VALUE
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
MULTIPLICATION(1, "MULTIPLICATION", "MULTIPLICATION"),
|
||||
|
||||
/**
|
||||
* The '<em><b>DIVISION</b></em>' literal object.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #DIVISION_VALUE
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
DIVISION(2, "DIVISION", "DIVISION"),
|
||||
|
||||
/**
|
||||
* The '<em><b>MODULUS</b></em>' literal object.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #MODULUS_VALUE
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
MODULUS(3, "MODULUS", "MODULUS"),
|
||||
|
||||
/**
|
||||
* The '<em><b>EXPONENTIATION</b></em>' literal object.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #EXPONENTIATION_VALUE
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
EXPONENTIATION(4, "EXPONENTIATION", "EXPONENTIATION"),
|
||||
|
||||
/**
|
||||
* The '<em><b>SUBTRACTION</b></em>' literal object.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #SUBTRACTION_VALUE
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
SUBTRACTION(5, "SUBTRACTION", "SUBTRACTION"),
|
||||
|
||||
/**
|
||||
* The '<em><b>MINIMUM</b></em>' literal object.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #MINIMUM_VALUE
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
MINIMUM(6, "MINIMUM", "MINIMUM"),
|
||||
|
||||
/**
|
||||
* The '<em><b>MAXIMUM</b></em>' literal object.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #MAXIMUM_VALUE
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
MAXIMUM(7, "MAXIMUM", "MAXIMUM");
|
||||
|
||||
/**
|
||||
* The '<em><b>ADDITION</b></em>' literal value.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #ADDITION
|
||||
* @model
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
public static final int ADDITION_VALUE = 0;
|
||||
|
||||
/**
|
||||
* The '<em><b>MULTIPLICATION</b></em>' literal value.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #MULTIPLICATION
|
||||
* @model
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
public static final int MULTIPLICATION_VALUE = 1;
|
||||
|
||||
/**
|
||||
* The '<em><b>DIVISION</b></em>' literal value.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #DIVISION
|
||||
* @model
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
public static final int DIVISION_VALUE = 2;
|
||||
|
||||
/**
|
||||
* The '<em><b>MODULUS</b></em>' literal value.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #MODULUS
|
||||
* @model
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
public static final int MODULUS_VALUE = 3;
|
||||
|
||||
/**
|
||||
* The '<em><b>EXPONENTIATION</b></em>' literal value.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #EXPONENTIATION
|
||||
* @model
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
public static final int EXPONENTIATION_VALUE = 4;
|
||||
|
||||
/**
|
||||
* The '<em><b>SUBTRACTION</b></em>' literal value.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #SUBTRACTION
|
||||
* @model
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
public static final int SUBTRACTION_VALUE = 5;
|
||||
|
||||
/**
|
||||
* The '<em><b>MINIMUM</b></em>' literal value.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #MINIMUM
|
||||
* @model
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
public static final int MINIMUM_VALUE = 6;
|
||||
|
||||
/**
|
||||
* The '<em><b>MAXIMUM</b></em>' literal value.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #MAXIMUM
|
||||
* @model
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
public static final int MAXIMUM_VALUE = 7;
|
||||
|
||||
/**
|
||||
* An array of all the '<em><b>IBe XBinary Operator</b></em>' enumerators.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
private static final IBeXBinaryOperator[] VALUES_ARRAY = new IBeXBinaryOperator[] { ADDITION, MULTIPLICATION,
|
||||
DIVISION, MODULUS, EXPONENTIATION, SUBTRACTION, MINIMUM, MAXIMUM, };
|
||||
|
||||
/**
|
||||
* A public read-only list of all the '<em><b>IBe XBinary Operator</b></em>' enumerators.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
public static final List<IBeXBinaryOperator> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
|
||||
|
||||
/**
|
||||
* Returns the '<em><b>IBe XBinary Operator</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 IBeXBinaryOperator get(String literal) {
|
||||
for (int i = 0; i < VALUES_ARRAY.length; ++i) {
|
||||
IBeXBinaryOperator result = VALUES_ARRAY[i];
|
||||
if (result.toString().equals(literal)) {
|
||||
return result;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the '<em><b>IBe XBinary Operator</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 IBeXBinaryOperator getByName(String name) {
|
||||
for (int i = 0; i < VALUES_ARRAY.length; ++i) {
|
||||
IBeXBinaryOperator result = VALUES_ARRAY[i];
|
||||
if (result.getName().equals(name)) {
|
||||
return result;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the '<em><b>IBe XBinary Operator</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 IBeXBinaryOperator get(int value) {
|
||||
switch (value) {
|
||||
case ADDITION_VALUE:
|
||||
return ADDITION;
|
||||
case MULTIPLICATION_VALUE:
|
||||
return MULTIPLICATION;
|
||||
case DIVISION_VALUE:
|
||||
return DIVISION;
|
||||
case MODULUS_VALUE:
|
||||
return MODULUS;
|
||||
case EXPONENTIATION_VALUE:
|
||||
return EXPONENTIATION;
|
||||
case SUBTRACTION_VALUE:
|
||||
return SUBTRACTION;
|
||||
case MINIMUM_VALUE:
|
||||
return MINIMUM;
|
||||
case MAXIMUM_VALUE:
|
||||
return MAXIMUM;
|
||||
}
|
||||
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 IBeXBinaryOperator(int value, String name, String literal) {
|
||||
this.value = value;
|
||||
this.name = name;
|
||||
this.literal = literal;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public int getValue() {
|
||||
return value;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
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;
|
||||
}
|
||||
|
||||
} //IBeXBinaryOperator
|
|
@ -1,87 +0,0 @@
|
|||
/**
|
||||
*/
|
||||
package org.emoflon.ibex.patternmodel.IBeXPatternModel;
|
||||
|
||||
import org.eclipse.emf.common.util.EList;
|
||||
import org.eclipse.emf.ecore.EObject;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* A representation of the model object '<em><b>IBe XCSP</b></em>'.
|
||||
* <!-- end-user-doc -->
|
||||
*
|
||||
* <!-- begin-model-doc -->
|
||||
* A pattern consists of local edges and nodes, signature nodes. It can invoke other patterns and force nodes be different.
|
||||
* <!-- end-model-doc -->
|
||||
*
|
||||
* <p>
|
||||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXCSP#getName <em>Name</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXCSP#getPackage <em>Package</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXCSP#getValues <em>Values</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXCSP()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
public interface IBeXCSP extends EObject {
|
||||
/**
|
||||
* Returns the value of the '<em><b>Name</b></em>' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Name</em>' attribute.
|
||||
* @see #setName(String)
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXCSP_Name()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
String getName();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXCSP#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>Package</b></em>' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Package</em>' attribute.
|
||||
* @see #setPackage(String)
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXCSP_Package()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
String getPackage();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXCSP#getPackage <em>Package</em>}' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Package</em>' attribute.
|
||||
* @see #getPackage()
|
||||
* @generated
|
||||
*/
|
||||
void setPackage(String value);
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Values</b></em>' containment reference list.
|
||||
* The list contents are of type {@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXAttributeValue}.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Values</em>' containment reference list.
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXCSP_Values()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
||||
EList<IBeXAttributeValue> getValues();
|
||||
|
||||
} // IBeXCSP
|
|
@ -1,71 +0,0 @@
|
|||
/**
|
||||
*/
|
||||
package org.emoflon.ibex.patternmodel.IBeXPatternModel;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* A representation of the model object '<em><b>IBe XConstant</b></em>'.
|
||||
* <!-- end-user-doc -->
|
||||
*
|
||||
* <!-- begin-model-doc -->
|
||||
* A wrapper for an object as attribute value.
|
||||
* <!-- end-model-doc -->
|
||||
*
|
||||
* <p>
|
||||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXConstant#getValue <em>Value</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXConstant#getStringValue <em>String Value</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXConstant()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
public interface IBeXConstant extends IBeXAttributeValue {
|
||||
/**
|
||||
* Returns the value of the '<em><b>Value</b></em>' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Value</em>' attribute.
|
||||
* @see #setValue(Object)
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXConstant_Value()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
Object getValue();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXConstant#getValue <em>Value</em>}' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Value</em>' attribute.
|
||||
* @see #getValue()
|
||||
* @generated
|
||||
*/
|
||||
void setValue(Object value);
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>String Value</b></em>' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>String Value</em>' attribute.
|
||||
* @see #setStringValue(String)
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXConstant_StringValue()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
String getStringValue();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXConstant#getStringValue <em>String Value</em>}' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>String Value</em>' attribute.
|
||||
* @see #getStringValue()
|
||||
* @generated
|
||||
*/
|
||||
void setStringValue(String value);
|
||||
|
||||
} // IBeXConstant
|
|
@ -1,18 +0,0 @@
|
|||
/**
|
||||
*/
|
||||
package org.emoflon.ibex.patternmodel.IBeXPatternModel;
|
||||
|
||||
import org.eclipse.emf.ecore.EObject;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* A representation of the model object '<em><b>IBe XConstraint</b></em>'.
|
||||
* <!-- end-user-doc -->
|
||||
*
|
||||
*
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXConstraint()
|
||||
* @model interface="true" abstract="true"
|
||||
* @generated
|
||||
*/
|
||||
public interface IBeXConstraint extends EObject {
|
||||
} // IBeXConstraint
|
|
@ -1,36 +0,0 @@
|
|||
/**
|
||||
*/
|
||||
package org.emoflon.ibex.patternmodel.IBeXPatternModel;
|
||||
|
||||
import org.eclipse.emf.common.util.EList;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* A representation of the model object '<em><b>IBe XContext</b></em>'.
|
||||
* <!-- end-user-doc -->
|
||||
*
|
||||
* <p>
|
||||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXContext#getApiPatternDependencies <em>Api Pattern Dependencies</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXContext()
|
||||
* @model abstract="true"
|
||||
* @generated
|
||||
*/
|
||||
public interface IBeXContext extends IBeXPattern {
|
||||
/**
|
||||
* Returns the value of the '<em><b>Api Pattern Dependencies</b></em>' reference list.
|
||||
* The list contents are of type {@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXContext}.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Api Pattern Dependencies</em>' reference list.
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXContext_ApiPatternDependencies()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
EList<IBeXContext> getApiPatternDependencies();
|
||||
|
||||
} // IBeXContext
|
|
@ -1,59 +0,0 @@
|
|||
/**
|
||||
*/
|
||||
package org.emoflon.ibex.patternmodel.IBeXPatternModel;
|
||||
|
||||
import org.eclipse.emf.common.util.EList;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* A representation of the model object '<em><b>IBe XContext Alternatives</b></em>'.
|
||||
* <!-- end-user-doc -->
|
||||
*
|
||||
* <p>
|
||||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXContextAlternatives#getAlternativePatterns <em>Alternative Patterns</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXContextAlternatives#getContext <em>Context</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXContextAlternatives()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
public interface IBeXContextAlternatives extends IBeXContext {
|
||||
/**
|
||||
* Returns the value of the '<em><b>Alternative Patterns</b></em>' containment reference list.
|
||||
* The list contents are of type {@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXContextPattern}.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Alternative Patterns</em>' containment reference list.
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXContextAlternatives_AlternativePatterns()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
||||
EList<IBeXContextPattern> getAlternativePatterns();
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Context</b></em>' containment reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Context</em>' containment reference.
|
||||
* @see #setContext(IBeXContextPattern)
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXContextAlternatives_Context()
|
||||
* @model containment="true" required="true"
|
||||
* @generated
|
||||
*/
|
||||
IBeXContextPattern getContext();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXContextAlternatives#getContext <em>Context</em>}' containment reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Context</em>' containment reference.
|
||||
* @see #getContext()
|
||||
* @generated
|
||||
*/
|
||||
void setContext(IBeXContextPattern value);
|
||||
|
||||
} // IBeXContextAlternatives
|
|
@ -1,169 +0,0 @@
|
|||
/**
|
||||
*/
|
||||
package org.emoflon.ibex.patternmodel.IBeXPatternModel;
|
||||
|
||||
import org.eclipse.emf.common.util.EList;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* A representation of the model object '<em><b>IBe XContext Pattern</b></em>'.
|
||||
* <!-- end-user-doc -->
|
||||
*
|
||||
* <!-- begin-model-doc -->
|
||||
* A pattern consists of local edges and nodes, signature nodes. It can invoke other patterns and force nodes be different.
|
||||
* <!-- end-model-doc -->
|
||||
*
|
||||
* <p>
|
||||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXContextPattern#getDocumentation <em>Documentation</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXContextPattern#getAttributeConstraint <em>Attribute Constraint</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXContextPattern#getArithmeticConstraints <em>Arithmetic Constraints</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXContextPattern#getInjectivityConstraints <em>Injectivity Constraints</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXContextPattern#getInvocations <em>Invocations</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXContextPattern#getLocalEdges <em>Local Edges</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXContextPattern#getLocalNodes <em>Local Nodes</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXContextPattern#getSignatureNodes <em>Signature Nodes</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXContextPattern#getCsps <em>Csps</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXContextPattern#getParameters <em>Parameters</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXContextPattern()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
public interface IBeXContextPattern extends IBeXContext {
|
||||
/**
|
||||
* Returns the value of the '<em><b>Documentation</b></em>' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Documentation</em>' attribute.
|
||||
* @see #setDocumentation(String)
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXContextPattern_Documentation()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
String getDocumentation();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXContextPattern#getDocumentation <em>Documentation</em>}' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Documentation</em>' attribute.
|
||||
* @see #getDocumentation()
|
||||
* @generated
|
||||
*/
|
||||
void setDocumentation(String value);
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Attribute Constraint</b></em>' containment reference list.
|
||||
* The list contents are of type {@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXAttributeConstraint}.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Attribute Constraint</em>' containment reference list.
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXContextPattern_AttributeConstraint()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
||||
EList<IBeXAttributeConstraint> getAttributeConstraint();
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Arithmetic Constraints</b></em>' containment reference list.
|
||||
* The list contents are of type {@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXArithmeticConstraint}.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Arithmetic Constraints</em>' containment reference list.
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXContextPattern_ArithmeticConstraints()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
||||
EList<IBeXArithmeticConstraint> getArithmeticConstraints();
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Injectivity Constraints</b></em>' containment reference list.
|
||||
* The list contents are of type {@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXInjectivityConstraint}.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Injectivity Constraints</em>' containment reference list.
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXContextPattern_InjectivityConstraints()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
||||
EList<IBeXInjectivityConstraint> getInjectivityConstraints();
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Invocations</b></em>' containment reference list.
|
||||
* The list contents are of type {@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternInvocation}.
|
||||
* It is bidirectional and its opposite is '{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternInvocation#getInvokedBy <em>Invoked By</em>}'.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Invocations</em>' containment reference list.
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXContextPattern_Invocations()
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternInvocation#getInvokedBy
|
||||
* @model opposite="invokedBy" containment="true"
|
||||
* @generated
|
||||
*/
|
||||
EList<IBeXPatternInvocation> getInvocations();
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Local Edges</b></em>' reference list.
|
||||
* The list contents are of type {@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXEdge}.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Local Edges</em>' reference list.
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXContextPattern_LocalEdges()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
EList<IBeXEdge> getLocalEdges();
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Local Nodes</b></em>' reference list.
|
||||
* The list contents are of type {@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXNode}.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Local Nodes</em>' reference list.
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXContextPattern_LocalNodes()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
EList<IBeXNode> getLocalNodes();
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Signature Nodes</b></em>' reference list.
|
||||
* The list contents are of type {@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXNode}.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Signature Nodes</em>' reference list.
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXContextPattern_SignatureNodes()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
EList<IBeXNode> getSignatureNodes();
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Csps</b></em>' containment reference list.
|
||||
* The list contents are of type {@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXCSP}.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Csps</em>' containment reference list.
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXContextPattern_Csps()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
||||
EList<IBeXCSP> getCsps();
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Parameters</b></em>' containment reference list.
|
||||
* The list contents are of type {@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXParameter}.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Parameters</em>' containment reference list.
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXContextPattern_Parameters()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
||||
EList<IBeXParameter> getParameters();
|
||||
|
||||
} // IBeXContextPattern
|
|
@ -1,79 +0,0 @@
|
|||
/**
|
||||
*/
|
||||
package org.emoflon.ibex.patternmodel.IBeXPatternModel;
|
||||
|
||||
import org.eclipse.emf.common.util.EList;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* A representation of the model object '<em><b>IBe XCreate Pattern</b></em>'.
|
||||
* <!-- end-user-doc -->
|
||||
*
|
||||
* <!-- begin-model-doc -->
|
||||
* A pattern for creation defines which nodes and edges are created. Nodes which are not created, but source or target node of a created edge are context nodes.
|
||||
* <!-- end-model-doc -->
|
||||
*
|
||||
* <p>
|
||||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXCreatePattern#getAttributeAssignments <em>Attribute Assignments</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXCreatePattern#getContextNodes <em>Context Nodes</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXCreatePattern#getCreatedEdges <em>Created Edges</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXCreatePattern#getCreatedNodes <em>Created Nodes</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXCreatePattern()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
public interface IBeXCreatePattern extends IBeXPattern {
|
||||
/**
|
||||
* Returns the value of the '<em><b>Attribute Assignments</b></em>' containment reference list.
|
||||
* The list contents are of type {@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXAttributeAssignment}.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Attribute Assignments</em>' containment reference list.
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXCreatePattern_AttributeAssignments()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
||||
EList<IBeXAttributeAssignment> getAttributeAssignments();
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Context Nodes</b></em>' reference list.
|
||||
* The list contents are of type {@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXNode}.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Context Nodes</em>' reference list.
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXCreatePattern_ContextNodes()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
EList<IBeXNode> getContextNodes();
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Created Edges</b></em>' reference list.
|
||||
* The list contents are of type {@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXEdge}.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Created Edges</em>' reference list.
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXCreatePattern_CreatedEdges()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
EList<IBeXEdge> getCreatedEdges();
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Created Nodes</b></em>' reference list.
|
||||
* The list contents are of type {@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXNode}.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Created Nodes</em>' reference list.
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXCreatePattern_CreatedNodes()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
EList<IBeXNode> getCreatedNodes();
|
||||
|
||||
} // IBeXCreatePattern
|
|
@ -1,66 +0,0 @@
|
|||
/**
|
||||
*/
|
||||
package org.emoflon.ibex.patternmodel.IBeXPatternModel;
|
||||
|
||||
import org.eclipse.emf.common.util.EList;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* A representation of the model object '<em><b>IBe XDelete Pattern</b></em>'.
|
||||
* <!-- end-user-doc -->
|
||||
*
|
||||
* <!-- begin-model-doc -->
|
||||
* A pattern for deletion defines which nodes and edges are deleted. Nodes which are not deleted, but source or target node of a deleted edge are context nodes.
|
||||
* <!-- end-model-doc -->
|
||||
*
|
||||
* <p>
|
||||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXDeletePattern#getContextNodes <em>Context Nodes</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXDeletePattern#getDeletedEdges <em>Deleted Edges</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXDeletePattern#getDeletedNodes <em>Deleted Nodes</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXDeletePattern()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
public interface IBeXDeletePattern extends IBeXPattern {
|
||||
/**
|
||||
* Returns the value of the '<em><b>Context Nodes</b></em>' reference list.
|
||||
* The list contents are of type {@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXNode}.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Context Nodes</em>' reference list.
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXDeletePattern_ContextNodes()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
EList<IBeXNode> getContextNodes();
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Deleted Edges</b></em>' reference list.
|
||||
* The list contents are of type {@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXEdge}.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Deleted Edges</em>' reference list.
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXDeletePattern_DeletedEdges()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
EList<IBeXEdge> getDeletedEdges();
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Deleted Nodes</b></em>' reference list.
|
||||
* The list contents are of type {@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXNode}.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Deleted Nodes</em>' reference list.
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXDeletePattern_DeletedNodes()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
EList<IBeXNode> getDeletedNodes();
|
||||
|
||||
} // IBeXDeletePattern
|
|
@ -1,231 +0,0 @@
|
|||
/**
|
||||
*/
|
||||
package org.emoflon.ibex.patternmodel.IBeXPatternModel;
|
||||
|
||||
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>IBe XDistribution Range</b></em>',
|
||||
* and utility methods for working with them.
|
||||
* <!-- end-user-doc -->
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXDistributionRange()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
public enum IBeXDistributionRange implements Enumerator {
|
||||
/**
|
||||
* The '<em><b>ALL</b></em>' literal object.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #ALL_VALUE
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
ALL(0, "ALL", "ALL"),
|
||||
|
||||
/**
|
||||
* The '<em><b>POSITIVE ONLY</b></em>' literal object.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #POSITIVE_ONLY_VALUE
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
POSITIVE_ONLY(1, "POSITIVE_ONLY", "POSITIVE_ONLY"),
|
||||
|
||||
/**
|
||||
* The '<em><b>NEGATIVE ONLY</b></em>' literal object.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #NEGATIVE_ONLY_VALUE
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
NEGATIVE_ONLY(2, "NEGATIVE_ONLY", "NEGATIVE_ONLY");
|
||||
|
||||
/**
|
||||
* The '<em><b>ALL</b></em>' literal value.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #ALL
|
||||
* @model
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
public static final int ALL_VALUE = 0;
|
||||
|
||||
/**
|
||||
* The '<em><b>POSITIVE ONLY</b></em>' literal value.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #POSITIVE_ONLY
|
||||
* @model
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
public static final int POSITIVE_ONLY_VALUE = 1;
|
||||
|
||||
/**
|
||||
* The '<em><b>NEGATIVE ONLY</b></em>' literal value.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #NEGATIVE_ONLY
|
||||
* @model
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
public static final int NEGATIVE_ONLY_VALUE = 2;
|
||||
|
||||
/**
|
||||
* An array of all the '<em><b>IBe XDistribution Range</b></em>' enumerators.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
private static final IBeXDistributionRange[] VALUES_ARRAY = new IBeXDistributionRange[] { ALL, POSITIVE_ONLY,
|
||||
NEGATIVE_ONLY, };
|
||||
|
||||
/**
|
||||
* A public read-only list of all the '<em><b>IBe XDistribution Range</b></em>' enumerators.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
public static final List<IBeXDistributionRange> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
|
||||
|
||||
/**
|
||||
* Returns the '<em><b>IBe XDistribution Range</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 IBeXDistributionRange get(String literal) {
|
||||
for (int i = 0; i < VALUES_ARRAY.length; ++i) {
|
||||
IBeXDistributionRange result = VALUES_ARRAY[i];
|
||||
if (result.toString().equals(literal)) {
|
||||
return result;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the '<em><b>IBe XDistribution Range</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 IBeXDistributionRange getByName(String name) {
|
||||
for (int i = 0; i < VALUES_ARRAY.length; ++i) {
|
||||
IBeXDistributionRange result = VALUES_ARRAY[i];
|
||||
if (result.getName().equals(name)) {
|
||||
return result;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the '<em><b>IBe XDistribution Range</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 IBeXDistributionRange get(int value) {
|
||||
switch (value) {
|
||||
case ALL_VALUE:
|
||||
return ALL;
|
||||
case POSITIVE_ONLY_VALUE:
|
||||
return POSITIVE_ONLY;
|
||||
case NEGATIVE_ONLY_VALUE:
|
||||
return NEGATIVE_ONLY;
|
||||
}
|
||||
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 IBeXDistributionRange(int value, String name, String literal) {
|
||||
this.value = value;
|
||||
this.name = name;
|
||||
this.literal = literal;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public int getValue() {
|
||||
return value;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
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;
|
||||
}
|
||||
|
||||
} //IBeXDistributionRange
|
|
@ -1,254 +0,0 @@
|
|||
/**
|
||||
*/
|
||||
package org.emoflon.ibex.patternmodel.IBeXPatternModel;
|
||||
|
||||
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>IBe XDistribution Type</b></em>',
|
||||
* and utility methods for working with them.
|
||||
* <!-- end-user-doc -->
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXDistributionType()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
public enum IBeXDistributionType implements Enumerator {
|
||||
/**
|
||||
* The '<em><b>NORMAL</b></em>' literal object.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #NORMAL_VALUE
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
NORMAL(0, "NORMAL", "NORMAL"),
|
||||
|
||||
/**
|
||||
* The '<em><b>UNIFORM</b></em>' literal object.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #UNIFORM_VALUE
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
UNIFORM(1, "UNIFORM", "UNIFORM"),
|
||||
|
||||
/**
|
||||
* The '<em><b>EXPONENTIAL</b></em>' literal object.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #EXPONENTIAL_VALUE
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
EXPONENTIAL(2, "EXPONENTIAL", "EXPONENTIAL"),
|
||||
|
||||
/**
|
||||
* The '<em><b>STATIC</b></em>' literal object.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #STATIC_VALUE
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
STATIC(3, "STATIC", "STATIC");
|
||||
|
||||
/**
|
||||
* The '<em><b>NORMAL</b></em>' literal value.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #NORMAL
|
||||
* @model
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
public static final int NORMAL_VALUE = 0;
|
||||
|
||||
/**
|
||||
* The '<em><b>UNIFORM</b></em>' literal value.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #UNIFORM
|
||||
* @model
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
public static final int UNIFORM_VALUE = 1;
|
||||
|
||||
/**
|
||||
* The '<em><b>EXPONENTIAL</b></em>' literal value.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #EXPONENTIAL
|
||||
* @model
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
public static final int EXPONENTIAL_VALUE = 2;
|
||||
|
||||
/**
|
||||
* The '<em><b>STATIC</b></em>' literal value.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #STATIC
|
||||
* @model
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
public static final int STATIC_VALUE = 3;
|
||||
|
||||
/**
|
||||
* An array of all the '<em><b>IBe XDistribution Type</b></em>' enumerators.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
private static final IBeXDistributionType[] VALUES_ARRAY = new IBeXDistributionType[] { NORMAL, UNIFORM,
|
||||
EXPONENTIAL, STATIC, };
|
||||
|
||||
/**
|
||||
* A public read-only list of all the '<em><b>IBe XDistribution Type</b></em>' enumerators.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
public static final List<IBeXDistributionType> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
|
||||
|
||||
/**
|
||||
* Returns the '<em><b>IBe XDistribution Type</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 IBeXDistributionType get(String literal) {
|
||||
for (int i = 0; i < VALUES_ARRAY.length; ++i) {
|
||||
IBeXDistributionType result = VALUES_ARRAY[i];
|
||||
if (result.toString().equals(literal)) {
|
||||
return result;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the '<em><b>IBe XDistribution Type</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 IBeXDistributionType getByName(String name) {
|
||||
for (int i = 0; i < VALUES_ARRAY.length; ++i) {
|
||||
IBeXDistributionType result = VALUES_ARRAY[i];
|
||||
if (result.getName().equals(name)) {
|
||||
return result;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the '<em><b>IBe XDistribution Type</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 IBeXDistributionType get(int value) {
|
||||
switch (value) {
|
||||
case NORMAL_VALUE:
|
||||
return NORMAL;
|
||||
case UNIFORM_VALUE:
|
||||
return UNIFORM;
|
||||
case EXPONENTIAL_VALUE:
|
||||
return EXPONENTIAL;
|
||||
case STATIC_VALUE:
|
||||
return STATIC;
|
||||
}
|
||||
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 IBeXDistributionType(int value, String name, String literal) {
|
||||
this.value = value;
|
||||
this.name = name;
|
||||
this.literal = literal;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public int getValue() {
|
||||
return value;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
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;
|
||||
}
|
||||
|
||||
} //IBeXDistributionType
|
|
@ -1,100 +0,0 @@
|
|||
/**
|
||||
*/
|
||||
package org.emoflon.ibex.patternmodel.IBeXPatternModel;
|
||||
|
||||
import org.eclipse.emf.ecore.EReference;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* A representation of the model object '<em><b>IBe XEdge</b></em>'.
|
||||
* <!-- end-user-doc -->
|
||||
*
|
||||
* <!-- begin-model-doc -->
|
||||
* A typed edge connects two nodes.
|
||||
* <!-- end-model-doc -->
|
||||
*
|
||||
* <p>
|
||||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXEdge#getSourceNode <em>Source Node</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXEdge#getTargetNode <em>Target Node</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXEdge#getType <em>Type</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXEdge()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
public interface IBeXEdge extends IBeXNamedElement {
|
||||
/**
|
||||
* Returns the value of the '<em><b>Source Node</b></em>' reference.
|
||||
* It is bidirectional and its opposite is '{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXNode#getOutgoingEdges <em>Outgoing Edges</em>}'.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Source Node</em>' reference.
|
||||
* @see #setSourceNode(IBeXNode)
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXEdge_SourceNode()
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXNode#getOutgoingEdges
|
||||
* @model opposite="outgoingEdges"
|
||||
* @generated
|
||||
*/
|
||||
IBeXNode getSourceNode();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXEdge#getSourceNode <em>Source Node</em>}' reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Source Node</em>' reference.
|
||||
* @see #getSourceNode()
|
||||
* @generated
|
||||
*/
|
||||
void setSourceNode(IBeXNode value);
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Target Node</b></em>' reference.
|
||||
* It is bidirectional and its opposite is '{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXNode#getIncomingEdges <em>Incoming Edges</em>}'.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Target Node</em>' reference.
|
||||
* @see #setTargetNode(IBeXNode)
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXEdge_TargetNode()
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXNode#getIncomingEdges
|
||||
* @model opposite="incomingEdges"
|
||||
* @generated
|
||||
*/
|
||||
IBeXNode getTargetNode();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXEdge#getTargetNode <em>Target Node</em>}' reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Target Node</em>' reference.
|
||||
* @see #getTargetNode()
|
||||
* @generated
|
||||
*/
|
||||
void setTargetNode(IBeXNode value);
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Type</b></em>' reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Type</em>' reference.
|
||||
* @see #setType(EReference)
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXEdge_Type()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
EReference getType();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXEdge#getType <em>Type</em>}' reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Type</em>' reference.
|
||||
* @see #getType()
|
||||
* @generated
|
||||
*/
|
||||
void setType(EReference value);
|
||||
|
||||
} // IBeXEdge
|
|
@ -1,37 +0,0 @@
|
|||
/**
|
||||
*/
|
||||
package org.emoflon.ibex.patternmodel.IBeXPatternModel;
|
||||
|
||||
import org.eclipse.emf.common.util.EList;
|
||||
import org.eclipse.emf.ecore.EObject;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* A representation of the model object '<em><b>IBe XEdge Set</b></em>'.
|
||||
* <!-- end-user-doc -->
|
||||
*
|
||||
* <p>
|
||||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXEdgeSet#getEdges <em>Edges</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXEdgeSet()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
public interface IBeXEdgeSet extends EObject {
|
||||
/**
|
||||
* Returns the value of the '<em><b>Edges</b></em>' containment reference list.
|
||||
* The list contents are of type {@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXEdge}.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Edges</em>' containment reference list.
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXEdgeSet_Edges()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
||||
EList<IBeXEdge> getEdges();
|
||||
|
||||
} // IBeXEdgeSet
|
|
@ -1,50 +0,0 @@
|
|||
/**
|
||||
*/
|
||||
package org.emoflon.ibex.patternmodel.IBeXPatternModel;
|
||||
|
||||
import org.eclipse.emf.ecore.EEnumLiteral;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* A representation of the model object '<em><b>IBe XEnum Literal</b></em>'.
|
||||
* <!-- end-user-doc -->
|
||||
*
|
||||
* <!-- begin-model-doc -->
|
||||
* A wrapper for an EnumLiteral value as an attribute value.
|
||||
* <!-- end-model-doc -->
|
||||
*
|
||||
* <p>
|
||||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXEnumLiteral#getLiteral <em>Literal</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXEnumLiteral()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
public interface IBeXEnumLiteral extends IBeXAttributeValue {
|
||||
/**
|
||||
* Returns the value of the '<em><b>Literal</b></em>' reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Literal</em>' reference.
|
||||
* @see #setLiteral(EEnumLiteral)
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXEnumLiteral_Literal()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
EEnumLiteral getLiteral();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXEnumLiteral#getLiteral <em>Literal</em>}' reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Literal</em>' reference.
|
||||
* @see #getLiteral()
|
||||
* @generated
|
||||
*/
|
||||
void setLiteral(EEnumLiteral value);
|
||||
|
||||
} // IBeXEnumLiteral
|
|
@ -1,166 +0,0 @@
|
|||
/**
|
||||
*/
|
||||
package org.emoflon.ibex.patternmodel.IBeXPatternModel;
|
||||
|
||||
import org.eclipse.emf.common.util.EList;
|
||||
|
||||
import org.eclipse.emf.ecore.EObject;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* A representation of the model object '<em><b>IBe XFor Each Expression</b></em>'.
|
||||
* <!-- end-user-doc -->
|
||||
*
|
||||
* <p>
|
||||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXForEachExpression#getCreate <em>Create</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXForEachExpression#getDelete <em>Delete</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXForEachExpression#getSource <em>Source</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXForEachExpression#getTrgIterator <em>Trg Iterator</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXForEachExpression#getEdge <em>Edge</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXForEachExpression#getCreatedEdges <em>Created Edges</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXForEachExpression#getDeletedEdges <em>Deleted Edges</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXForEachExpression()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
public interface IBeXForEachExpression extends EObject {
|
||||
/**
|
||||
* Returns the value of the '<em><b>Create</b></em>' containment reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Create</em>' containment reference.
|
||||
* @see #setCreate(IBeXCreatePattern)
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXForEachExpression_Create()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
||||
IBeXCreatePattern getCreate();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXForEachExpression#getCreate <em>Create</em>}' containment reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Create</em>' containment reference.
|
||||
* @see #getCreate()
|
||||
* @generated
|
||||
*/
|
||||
void setCreate(IBeXCreatePattern value);
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Delete</b></em>' containment reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Delete</em>' containment reference.
|
||||
* @see #setDelete(IBeXDeletePattern)
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXForEachExpression_Delete()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
||||
IBeXDeletePattern getDelete();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXForEachExpression#getDelete <em>Delete</em>}' containment reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Delete</em>' containment reference.
|
||||
* @see #getDelete()
|
||||
* @generated
|
||||
*/
|
||||
void setDelete(IBeXDeletePattern value);
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Source</b></em>' reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Source</em>' reference.
|
||||
* @see #setSource(IBeXNode)
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXForEachExpression_Source()
|
||||
* @model required="true"
|
||||
* @generated
|
||||
*/
|
||||
IBeXNode getSource();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXForEachExpression#getSource <em>Source</em>}' reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Source</em>' reference.
|
||||
* @see #getSource()
|
||||
* @generated
|
||||
*/
|
||||
void setSource(IBeXNode value);
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Trg Iterator</b></em>' containment reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Trg Iterator</em>' containment reference.
|
||||
* @see #setTrgIterator(IBeXNode)
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXForEachExpression_TrgIterator()
|
||||
* @model containment="true" required="true"
|
||||
* @generated
|
||||
*/
|
||||
IBeXNode getTrgIterator();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXForEachExpression#getTrgIterator <em>Trg Iterator</em>}' containment reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Trg Iterator</em>' containment reference.
|
||||
* @see #getTrgIterator()
|
||||
* @generated
|
||||
*/
|
||||
void setTrgIterator(IBeXNode value);
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Edge</b></em>' containment reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Edge</em>' containment reference.
|
||||
* @see #setEdge(IBeXEdge)
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXForEachExpression_Edge()
|
||||
* @model containment="true" required="true"
|
||||
* @generated
|
||||
*/
|
||||
IBeXEdge getEdge();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXForEachExpression#getEdge <em>Edge</em>}' containment reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Edge</em>' containment reference.
|
||||
* @see #getEdge()
|
||||
* @generated
|
||||
*/
|
||||
void setEdge(IBeXEdge value);
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Created Edges</b></em>' containment reference list.
|
||||
* The list contents are of type {@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXEdge}.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Created Edges</em>' containment reference list.
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXForEachExpression_CreatedEdges()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
||||
EList<IBeXEdge> getCreatedEdges();
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Deleted Edges</b></em>' containment reference list.
|
||||
* The list contents are of type {@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXEdge}.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Deleted Edges</em>' containment reference list.
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXForEachExpression_DeletedEdges()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
||||
EList<IBeXEdge> getDeletedEdges();
|
||||
|
||||
} // IBeXForEachExpression
|
|
@ -1,41 +0,0 @@
|
|||
/**
|
||||
*/
|
||||
package org.emoflon.ibex.patternmodel.IBeXPatternModel;
|
||||
|
||||
import org.eclipse.emf.common.util.EList;
|
||||
import org.eclipse.emf.ecore.EObject;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* A representation of the model object '<em><b>IBe XInjectivity Constraint</b></em>'.
|
||||
* <!-- end-user-doc -->
|
||||
*
|
||||
* <!-- begin-model-doc -->
|
||||
* A pair of nodes.
|
||||
* <!-- end-model-doc -->
|
||||
*
|
||||
* <p>
|
||||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXInjectivityConstraint#getValues <em>Values</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXInjectivityConstraint()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
public interface IBeXInjectivityConstraint extends EObject {
|
||||
/**
|
||||
* Returns the value of the '<em><b>Values</b></em>' reference list.
|
||||
* The list contents are of type {@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXNode}.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Values</em>' reference list.
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXInjectivityConstraint_Values()
|
||||
* @model lower="2" upper="2"
|
||||
* @generated
|
||||
*/
|
||||
EList<IBeXNode> getValues();
|
||||
|
||||
} // IBeXInjectivityConstraint
|
|
@ -1,44 +0,0 @@
|
|||
/**
|
||||
*/
|
||||
package org.emoflon.ibex.patternmodel.IBeXPatternModel;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* A representation of the model object '<em><b>IBe XMatch Count</b></em>'.
|
||||
* <!-- end-user-doc -->
|
||||
*
|
||||
* <p>
|
||||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXMatchCount#getInvocation <em>Invocation</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXMatchCount()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
public interface IBeXMatchCount extends IBeXUnaryExpression {
|
||||
/**
|
||||
* Returns the value of the '<em><b>Invocation</b></em>' containment reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Invocation</em>' containment reference.
|
||||
* @see #setInvocation(IBeXPatternInvocation)
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXMatchCount_Invocation()
|
||||
* @model containment="true" required="true"
|
||||
* @generated
|
||||
*/
|
||||
IBeXPatternInvocation getInvocation();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXMatchCount#getInvocation <em>Invocation</em>}' containment reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Invocation</em>' containment reference.
|
||||
* @see #getInvocation()
|
||||
* @generated
|
||||
*/
|
||||
void setInvocation(IBeXPatternInvocation value);
|
||||
|
||||
} // IBeXMatchCount
|
|
@ -1,119 +0,0 @@
|
|||
/**
|
||||
*/
|
||||
package org.emoflon.ibex.patternmodel.IBeXPatternModel;
|
||||
|
||||
import org.eclipse.emf.ecore.EObject;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* A representation of the model object '<em><b>IBe XModel</b></em>'.
|
||||
* <!-- end-user-doc -->
|
||||
*
|
||||
* <!-- begin-model-doc -->
|
||||
* A set of IBeXPatterns. Each pattern in a set must have an unique name.
|
||||
* <!-- end-model-doc -->
|
||||
*
|
||||
* <p>
|
||||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXModel#getPatternSet <em>Pattern Set</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXModel#getRuleSet <em>Rule Set</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXModel#getNodeSet <em>Node Set</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXModel#getEdgeSet <em>Edge Set</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXModel()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
public interface IBeXModel extends EObject {
|
||||
/**
|
||||
* Returns the value of the '<em><b>Pattern Set</b></em>' containment reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Pattern Set</em>' containment reference.
|
||||
* @see #setPatternSet(IBeXPatternSet)
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXModel_PatternSet()
|
||||
* @model containment="true" required="true"
|
||||
* @generated
|
||||
*/
|
||||
IBeXPatternSet getPatternSet();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXModel#getPatternSet <em>Pattern Set</em>}' containment reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Pattern Set</em>' containment reference.
|
||||
* @see #getPatternSet()
|
||||
* @generated
|
||||
*/
|
||||
void setPatternSet(IBeXPatternSet value);
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Rule Set</b></em>' containment reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Rule Set</em>' containment reference.
|
||||
* @see #setRuleSet(IBeXRuleSet)
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXModel_RuleSet()
|
||||
* @model containment="true" required="true"
|
||||
* @generated
|
||||
*/
|
||||
IBeXRuleSet getRuleSet();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXModel#getRuleSet <em>Rule Set</em>}' containment reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Rule Set</em>' containment reference.
|
||||
* @see #getRuleSet()
|
||||
* @generated
|
||||
*/
|
||||
void setRuleSet(IBeXRuleSet value);
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Node Set</b></em>' containment reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Node Set</em>' containment reference.
|
||||
* @see #setNodeSet(IBeXNodeSet)
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXModel_NodeSet()
|
||||
* @model containment="true" required="true"
|
||||
* @generated
|
||||
*/
|
||||
IBeXNodeSet getNodeSet();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXModel#getNodeSet <em>Node Set</em>}' containment reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Node Set</em>' containment reference.
|
||||
* @see #getNodeSet()
|
||||
* @generated
|
||||
*/
|
||||
void setNodeSet(IBeXNodeSet value);
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Edge Set</b></em>' containment reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Edge Set</em>' containment reference.
|
||||
* @see #setEdgeSet(IBeXEdgeSet)
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXModel_EdgeSet()
|
||||
* @model containment="true" required="true"
|
||||
* @generated
|
||||
*/
|
||||
IBeXEdgeSet getEdgeSet();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXModel#getEdgeSet <em>Edge Set</em>}' containment reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Edge Set</em>' containment reference.
|
||||
* @see #getEdgeSet()
|
||||
* @generated
|
||||
*/
|
||||
void setEdgeSet(IBeXEdgeSet value);
|
||||
|
||||
} // IBeXModel
|
|
@ -1,50 +0,0 @@
|
|||
/**
|
||||
*/
|
||||
package org.emoflon.ibex.patternmodel.IBeXPatternModel;
|
||||
|
||||
import org.eclipse.emf.ecore.EObject;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* A representation of the model object '<em><b>IBe XNamed Element</b></em>'.
|
||||
* <!-- end-user-doc -->
|
||||
*
|
||||
* <!-- begin-model-doc -->
|
||||
* Any IBeX element which has a name should inherit form this class.
|
||||
* <!-- end-model-doc -->
|
||||
*
|
||||
* <p>
|
||||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXNamedElement#getName <em>Name</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXNamedElement()
|
||||
* @model abstract="true"
|
||||
* @generated
|
||||
*/
|
||||
public interface IBeXNamedElement extends EObject {
|
||||
/**
|
||||
* Returns the value of the '<em><b>Name</b></em>' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Name</em>' attribute.
|
||||
* @see #setName(String)
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXNamedElement_Name()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
String getName();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXNamedElement#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);
|
||||
|
||||
} // IBeXNamedElement
|
|
@ -1,81 +0,0 @@
|
|||
/**
|
||||
*/
|
||||
package org.emoflon.ibex.patternmodel.IBeXPatternModel;
|
||||
|
||||
import org.eclipse.emf.common.util.EList;
|
||||
import org.eclipse.emf.ecore.EClass;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* A representation of the model object '<em><b>IBe XNode</b></em>'.
|
||||
* <!-- end-user-doc -->
|
||||
*
|
||||
* <!-- begin-model-doc -->
|
||||
* A typed node can reference other nodes via edges.
|
||||
* <!-- end-model-doc -->
|
||||
*
|
||||
* <p>
|
||||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXNode#getIncomingEdges <em>Incoming Edges</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXNode#getOutgoingEdges <em>Outgoing Edges</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXNode#getType <em>Type</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXNode()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
public interface IBeXNode extends IBeXNamedElement {
|
||||
/**
|
||||
* Returns the value of the '<em><b>Incoming Edges</b></em>' reference list.
|
||||
* The list contents are of type {@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXEdge}.
|
||||
* It is bidirectional and its opposite is '{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXEdge#getTargetNode <em>Target Node</em>}'.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Incoming Edges</em>' reference list.
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXNode_IncomingEdges()
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXEdge#getTargetNode
|
||||
* @model opposite="targetNode"
|
||||
* @generated
|
||||
*/
|
||||
EList<IBeXEdge> getIncomingEdges();
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Outgoing Edges</b></em>' reference list.
|
||||
* The list contents are of type {@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXEdge}.
|
||||
* It is bidirectional and its opposite is '{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXEdge#getSourceNode <em>Source Node</em>}'.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Outgoing Edges</em>' reference list.
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXNode_OutgoingEdges()
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXEdge#getSourceNode
|
||||
* @model opposite="sourceNode"
|
||||
* @generated
|
||||
*/
|
||||
EList<IBeXEdge> getOutgoingEdges();
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Type</b></em>' reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Type</em>' reference.
|
||||
* @see #setType(EClass)
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXNode_Type()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
EClass getType();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXNode#getType <em>Type</em>}' reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Type</em>' reference.
|
||||
* @see #getType()
|
||||
* @generated
|
||||
*/
|
||||
void setType(EClass value);
|
||||
|
||||
} // IBeXNode
|
|
@ -1,37 +0,0 @@
|
|||
/**
|
||||
*/
|
||||
package org.emoflon.ibex.patternmodel.IBeXPatternModel;
|
||||
|
||||
import org.eclipse.emf.common.util.EList;
|
||||
import org.eclipse.emf.ecore.EObject;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* A representation of the model object '<em><b>IBe XNode Set</b></em>'.
|
||||
* <!-- end-user-doc -->
|
||||
*
|
||||
* <p>
|
||||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXNodeSet#getNodes <em>Nodes</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXNodeSet()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
public interface IBeXNodeSet extends EObject {
|
||||
/**
|
||||
* Returns the value of the '<em><b>Nodes</b></em>' containment reference list.
|
||||
* The list contents are of type {@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXNode}.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Nodes</em>' containment reference list.
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXNodeSet_Nodes()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
||||
EList<IBeXNode> getNodes();
|
||||
|
||||
} // IBeXNodeSet
|
|
@ -1,46 +0,0 @@
|
|||
/**
|
||||
*/
|
||||
package org.emoflon.ibex.patternmodel.IBeXPatternModel;
|
||||
|
||||
import org.eclipse.emf.ecore.EDataType;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* A representation of the model object '<em><b>IBe XParameter</b></em>'.
|
||||
* <!-- end-user-doc -->
|
||||
*
|
||||
* <p>
|
||||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXParameter#getType <em>Type</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXParameter()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
public interface IBeXParameter extends IBeXNamedElement {
|
||||
/**
|
||||
* Returns the value of the '<em><b>Type</b></em>' reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Type</em>' reference.
|
||||
* @see #setType(EDataType)
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXParameter_Type()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
EDataType getType();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXParameter#getType <em>Type</em>}' reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Type</em>' reference.
|
||||
* @see #getType()
|
||||
* @generated
|
||||
*/
|
||||
void setType(EDataType value);
|
||||
|
||||
} // IBeXParameter
|
|
@ -1,45 +0,0 @@
|
|||
/**
|
||||
*/
|
||||
package org.emoflon.ibex.patternmodel.IBeXPatternModel;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* A representation of the model object '<em><b>IBe XPattern</b></em>'.
|
||||
* <!-- end-user-doc -->
|
||||
*
|
||||
* <p>
|
||||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPattern#isHasCountExpression <em>Has Count Expression</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXPattern()
|
||||
* @model abstract="true"
|
||||
* @generated
|
||||
*/
|
||||
public interface IBeXPattern extends IBeXNamedElement {
|
||||
/**
|
||||
* Returns the value of the '<em><b>Has Count Expression</b></em>' attribute.
|
||||
* The default value is <code>"false"</code>.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Has Count Expression</em>' attribute.
|
||||
* @see #setHasCountExpression(boolean)
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXPattern_HasCountExpression()
|
||||
* @model default="false"
|
||||
* @generated
|
||||
*/
|
||||
boolean isHasCountExpression();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPattern#isHasCountExpression <em>Has Count Expression</em>}' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Has Count Expression</em>' attribute.
|
||||
* @see #isHasCountExpression()
|
||||
* @generated
|
||||
*/
|
||||
void setHasCountExpression(boolean value);
|
||||
|
||||
} // IBeXPattern
|
|
@ -1,113 +0,0 @@
|
|||
/**
|
||||
*/
|
||||
package org.emoflon.ibex.patternmodel.IBeXPatternModel;
|
||||
|
||||
import org.eclipse.emf.common.util.EMap;
|
||||
import org.eclipse.emf.ecore.EObject;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* A representation of the model object '<em><b>IBe XPattern Invocation</b></em>'.
|
||||
* <!-- end-user-doc -->
|
||||
*
|
||||
* <!-- begin-model-doc -->
|
||||
* An invocation of an IBeXPattern. Invocations can be positive or negative.
|
||||
* <!-- end-model-doc -->
|
||||
*
|
||||
* <p>
|
||||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternInvocation#isPositive <em>Positive</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternInvocation#getInvokedBy <em>Invoked By</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternInvocation#getInvokedPattern <em>Invoked Pattern</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternInvocation#getMapping <em>Mapping</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXPatternInvocation()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
public interface IBeXPatternInvocation extends EObject {
|
||||
/**
|
||||
* Returns the value of the '<em><b>Positive</b></em>' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Positive</em>' attribute.
|
||||
* @see #setPositive(boolean)
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXPatternInvocation_Positive()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
boolean isPositive();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternInvocation#isPositive <em>Positive</em>}' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Positive</em>' attribute.
|
||||
* @see #isPositive()
|
||||
* @generated
|
||||
*/
|
||||
void setPositive(boolean value);
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Invoked By</b></em>' container reference.
|
||||
* It is bidirectional and its opposite is '{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXContextPattern#getInvocations <em>Invocations</em>}'.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Invoked By</em>' container reference.
|
||||
* @see #setInvokedBy(IBeXContextPattern)
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXPatternInvocation_InvokedBy()
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXContextPattern#getInvocations
|
||||
* @model opposite="invocations" transient="false"
|
||||
* @generated
|
||||
*/
|
||||
IBeXContextPattern getInvokedBy();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternInvocation#getInvokedBy <em>Invoked By</em>}' container reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Invoked By</em>' container reference.
|
||||
* @see #getInvokedBy()
|
||||
* @generated
|
||||
*/
|
||||
void setInvokedBy(IBeXContextPattern value);
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Invoked Pattern</b></em>' reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Invoked Pattern</em>' reference.
|
||||
* @see #setInvokedPattern(IBeXContextPattern)
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXPatternInvocation_InvokedPattern()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
IBeXContextPattern getInvokedPattern();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternInvocation#getInvokedPattern <em>Invoked Pattern</em>}' reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Invoked Pattern</em>' reference.
|
||||
* @see #getInvokedPattern()
|
||||
* @generated
|
||||
*/
|
||||
void setInvokedPattern(IBeXContextPattern value);
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Mapping</b></em>' map.
|
||||
* The key is of type {@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXNode},
|
||||
* and the value is of type {@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXNode},
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Mapping</em>' map.
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXPatternInvocation_Mapping()
|
||||
* @model mapType="org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXNodeToNodeMapping<org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXNode, org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXNode>"
|
||||
* @generated
|
||||
*/
|
||||
EMap<IBeXNode, IBeXNode> getMapping();
|
||||
|
||||
} // IBeXPatternInvocation
|
|
@ -1,340 +0,0 @@
|
|||
/**
|
||||
*/
|
||||
package org.emoflon.ibex.patternmodel.IBeXPatternModel;
|
||||
|
||||
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 org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage
|
||||
* @generated
|
||||
*/
|
||||
public interface IBeXPatternModelFactory extends EFactory {
|
||||
/**
|
||||
* The singleton instance of the factory.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
IBeXPatternModelFactory eINSTANCE = org.emoflon.ibex.patternmodel.IBeXPatternModel.impl.IBeXPatternModelFactoryImpl
|
||||
.init();
|
||||
|
||||
/**
|
||||
* Returns a new object of class '<em>IBe XModel</em>'.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return a new object of class '<em>IBe XModel</em>'.
|
||||
* @generated
|
||||
*/
|
||||
IBeXModel createIBeXModel();
|
||||
|
||||
/**
|
||||
* Returns a new object of class '<em>IBe XPattern Set</em>'.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return a new object of class '<em>IBe XPattern Set</em>'.
|
||||
* @generated
|
||||
*/
|
||||
IBeXPatternSet createIBeXPatternSet();
|
||||
|
||||
/**
|
||||
* Returns a new object of class '<em>IBe XRule Set</em>'.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return a new object of class '<em>IBe XRule Set</em>'.
|
||||
* @generated
|
||||
*/
|
||||
IBeXRuleSet createIBeXRuleSet();
|
||||
|
||||
/**
|
||||
* Returns a new object of class '<em>IBe XNode Set</em>'.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return a new object of class '<em>IBe XNode Set</em>'.
|
||||
* @generated
|
||||
*/
|
||||
IBeXNodeSet createIBeXNodeSet();
|
||||
|
||||
/**
|
||||
* Returns a new object of class '<em>IBe XEdge Set</em>'.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return a new object of class '<em>IBe XEdge Set</em>'.
|
||||
* @generated
|
||||
*/
|
||||
IBeXEdgeSet createIBeXEdgeSet();
|
||||
|
||||
/**
|
||||
* Returns a new object of class '<em>IBe XContext Alternatives</em>'.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return a new object of class '<em>IBe XContext Alternatives</em>'.
|
||||
* @generated
|
||||
*/
|
||||
IBeXContextAlternatives createIBeXContextAlternatives();
|
||||
|
||||
/**
|
||||
* Returns a new object of class '<em>IBe XContext Pattern</em>'.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return a new object of class '<em>IBe XContext Pattern</em>'.
|
||||
* @generated
|
||||
*/
|
||||
IBeXContextPattern createIBeXContextPattern();
|
||||
|
||||
/**
|
||||
* Returns a new object of class '<em>IBe XCreate Pattern</em>'.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return a new object of class '<em>IBe XCreate Pattern</em>'.
|
||||
* @generated
|
||||
*/
|
||||
IBeXCreatePattern createIBeXCreatePattern();
|
||||
|
||||
/**
|
||||
* Returns a new object of class '<em>IBe XDelete Pattern</em>'.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return a new object of class '<em>IBe XDelete Pattern</em>'.
|
||||
* @generated
|
||||
*/
|
||||
IBeXDeletePattern createIBeXDeletePattern();
|
||||
|
||||
/**
|
||||
* Returns a new object of class '<em>IBe XNode</em>'.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return a new object of class '<em>IBe XNode</em>'.
|
||||
* @generated
|
||||
*/
|
||||
IBeXNode createIBeXNode();
|
||||
|
||||
/**
|
||||
* Returns a new object of class '<em>IBe XEdge</em>'.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return a new object of class '<em>IBe XEdge</em>'.
|
||||
* @generated
|
||||
*/
|
||||
IBeXEdge createIBeXEdge();
|
||||
|
||||
/**
|
||||
* Returns a new object of class '<em>IBe XParameter</em>'.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return a new object of class '<em>IBe XParameter</em>'.
|
||||
* @generated
|
||||
*/
|
||||
IBeXParameter createIBeXParameter();
|
||||
|
||||
/**
|
||||
* Returns a new object of class '<em>IBe XAttribute Assignment</em>'.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return a new object of class '<em>IBe XAttribute Assignment</em>'.
|
||||
* @generated
|
||||
*/
|
||||
IBeXAttributeAssignment createIBeXAttributeAssignment();
|
||||
|
||||
/**
|
||||
* Returns a new object of class '<em>IBe XAttribute Constraint</em>'.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return a new object of class '<em>IBe XAttribute Constraint</em>'.
|
||||
* @generated
|
||||
*/
|
||||
IBeXAttributeConstraint createIBeXAttributeConstraint();
|
||||
|
||||
/**
|
||||
* Returns a new object of class '<em>IBe XAttribute Value</em>'.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return a new object of class '<em>IBe XAttribute Value</em>'.
|
||||
* @generated
|
||||
*/
|
||||
IBeXAttributeValue createIBeXAttributeValue();
|
||||
|
||||
/**
|
||||
* Returns a new object of class '<em>IBe XAttribute Parameter</em>'.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return a new object of class '<em>IBe XAttribute Parameter</em>'.
|
||||
* @generated
|
||||
*/
|
||||
IBeXAttributeParameter createIBeXAttributeParameter();
|
||||
|
||||
/**
|
||||
* Returns a new object of class '<em>IBe XConstant</em>'.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return a new object of class '<em>IBe XConstant</em>'.
|
||||
* @generated
|
||||
*/
|
||||
IBeXConstant createIBeXConstant();
|
||||
|
||||
/**
|
||||
* Returns a new object of class '<em>IBe XEnum Literal</em>'.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return a new object of class '<em>IBe XEnum Literal</em>'.
|
||||
* @generated
|
||||
*/
|
||||
IBeXEnumLiteral createIBeXEnumLiteral();
|
||||
|
||||
/**
|
||||
* Returns a new object of class '<em>IBe XAttribute Expression</em>'.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return a new object of class '<em>IBe XAttribute Expression</em>'.
|
||||
* @generated
|
||||
*/
|
||||
IBeXAttributeExpression createIBeXAttributeExpression();
|
||||
|
||||
/**
|
||||
* Returns a new object of class '<em>IBe XStochastic Attribute Value</em>'.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return a new object of class '<em>IBe XStochastic Attribute Value</em>'.
|
||||
* @generated
|
||||
*/
|
||||
IBeXStochasticAttributeValue createIBeXStochasticAttributeValue();
|
||||
|
||||
/**
|
||||
* Returns a new object of class '<em>IBe XArithmetic Value</em>'.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return a new object of class '<em>IBe XArithmetic Value</em>'.
|
||||
* @generated
|
||||
*/
|
||||
IBeXArithmeticValue createIBeXArithmeticValue();
|
||||
|
||||
/**
|
||||
* Returns a new object of class '<em>IBe XInjectivity Constraint</em>'.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return a new object of class '<em>IBe XInjectivity Constraint</em>'.
|
||||
* @generated
|
||||
*/
|
||||
IBeXInjectivityConstraint createIBeXInjectivityConstraint();
|
||||
|
||||
/**
|
||||
* Returns a new object of class '<em>IBe XPattern Invocation</em>'.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return a new object of class '<em>IBe XPattern Invocation</em>'.
|
||||
* @generated
|
||||
*/
|
||||
IBeXPatternInvocation createIBeXPatternInvocation();
|
||||
|
||||
/**
|
||||
* Returns a new object of class '<em>IBe XCSP</em>'.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return a new object of class '<em>IBe XCSP</em>'.
|
||||
* @generated
|
||||
*/
|
||||
IBeXCSP createIBeXCSP();
|
||||
|
||||
/**
|
||||
* Returns a new object of class '<em>IBe XRule</em>'.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return a new object of class '<em>IBe XRule</em>'.
|
||||
* @generated
|
||||
*/
|
||||
IBeXRule createIBeXRule();
|
||||
|
||||
/**
|
||||
* Returns a new object of class '<em>IBe XFor Each Expression</em>'.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return a new object of class '<em>IBe XFor Each Expression</em>'.
|
||||
* @generated
|
||||
*/
|
||||
IBeXForEachExpression createIBeXForEachExpression();
|
||||
|
||||
/**
|
||||
* Returns a new object of class '<em>IBe XProbability</em>'.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return a new object of class '<em>IBe XProbability</em>'.
|
||||
* @generated
|
||||
*/
|
||||
IBeXProbability createIBeXProbability();
|
||||
|
||||
/**
|
||||
* Returns a new object of class '<em>IBe XArithmetic Constraint</em>'.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return a new object of class '<em>IBe XArithmetic Constraint</em>'.
|
||||
* @generated
|
||||
*/
|
||||
IBeXArithmeticConstraint createIBeXArithmeticConstraint();
|
||||
|
||||
/**
|
||||
* Returns a new object of class '<em>IBe XUnary Expression</em>'.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return a new object of class '<em>IBe XUnary Expression</em>'.
|
||||
* @generated
|
||||
*/
|
||||
IBeXUnaryExpression createIBeXUnaryExpression();
|
||||
|
||||
/**
|
||||
* Returns a new object of class '<em>IBe XBinary Expression</em>'.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return a new object of class '<em>IBe XBinary Expression</em>'.
|
||||
* @generated
|
||||
*/
|
||||
IBeXBinaryExpression createIBeXBinaryExpression();
|
||||
|
||||
/**
|
||||
* Returns a new object of class '<em>IBe XArithmetic Value Literal</em>'.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return a new object of class '<em>IBe XArithmetic Value Literal</em>'.
|
||||
* @generated
|
||||
*/
|
||||
IBeXArithmeticValueLiteral createIBeXArithmeticValueLiteral();
|
||||
|
||||
/**
|
||||
* Returns a new object of class '<em>IBe XProbability Distribution</em>'.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return a new object of class '<em>IBe XProbability Distribution</em>'.
|
||||
* @generated
|
||||
*/
|
||||
IBeXProbabilityDistribution createIBeXProbabilityDistribution();
|
||||
|
||||
/**
|
||||
* Returns a new object of class '<em>IBe XArithmetic Attribute</em>'.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return a new object of class '<em>IBe XArithmetic Attribute</em>'.
|
||||
* @generated
|
||||
*/
|
||||
IBeXArithmeticAttribute createIBeXArithmeticAttribute();
|
||||
|
||||
/**
|
||||
* Returns a new object of class '<em>IBe XMatch Count</em>'.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return a new object of class '<em>IBe XMatch Count</em>'.
|
||||
* @generated
|
||||
*/
|
||||
IBeXMatchCount createIBeXMatchCount();
|
||||
|
||||
/**
|
||||
* Returns the package supported by this factory.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the package supported by this factory.
|
||||
* @generated
|
||||
*/
|
||||
IBeXPatternModelPackage getIBeXPatternModelPackage();
|
||||
|
||||
} //IBeXPatternModelFactory
|
File diff suppressed because it is too large
Load diff
|
@ -1,37 +0,0 @@
|
|||
/**
|
||||
*/
|
||||
package org.emoflon.ibex.patternmodel.IBeXPatternModel;
|
||||
|
||||
import org.eclipse.emf.common.util.EList;
|
||||
import org.eclipse.emf.ecore.EObject;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* A representation of the model object '<em><b>IBe XPattern Set</b></em>'.
|
||||
* <!-- end-user-doc -->
|
||||
*
|
||||
* <p>
|
||||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternSet#getContextPatterns <em>Context Patterns</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXPatternSet()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
public interface IBeXPatternSet extends EObject {
|
||||
/**
|
||||
* Returns the value of the '<em><b>Context Patterns</b></em>' containment reference list.
|
||||
* The list contents are of type {@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXContext}.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Context Patterns</em>' containment reference list.
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXPatternSet_ContextPatterns()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
||||
EList<IBeXContext> getContextPatterns();
|
||||
|
||||
} // IBeXPatternSet
|
|
@ -1,69 +0,0 @@
|
|||
/**
|
||||
*/
|
||||
package org.emoflon.ibex.patternmodel.IBeXPatternModel;
|
||||
|
||||
import org.eclipse.emf.ecore.EObject;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* A representation of the model object '<em><b>IBe XProbability</b></em>'.
|
||||
* <!-- end-user-doc -->
|
||||
*
|
||||
* <p>
|
||||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXProbability#getDistribution <em>Distribution</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXProbability#getParameter <em>Parameter</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXProbability()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
public interface IBeXProbability extends EObject {
|
||||
/**
|
||||
* Returns the value of the '<em><b>Distribution</b></em>' containment reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Distribution</em>' containment reference.
|
||||
* @see #setDistribution(IBeXProbabilityDistribution)
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXProbability_Distribution()
|
||||
* @model containment="true" required="true"
|
||||
* @generated
|
||||
*/
|
||||
IBeXProbabilityDistribution getDistribution();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXProbability#getDistribution <em>Distribution</em>}' containment reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Distribution</em>' containment reference.
|
||||
* @see #getDistribution()
|
||||
* @generated
|
||||
*/
|
||||
void setDistribution(IBeXProbabilityDistribution value);
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Parameter</b></em>' containment reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Parameter</em>' containment reference.
|
||||
* @see #setParameter(IBeXArithmeticExpression)
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXProbability_Parameter()
|
||||
* @model containment="true" required="true"
|
||||
* @generated
|
||||
*/
|
||||
IBeXArithmeticExpression getParameter();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXProbability#getParameter <em>Parameter</em>}' containment reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Parameter</em>' containment reference.
|
||||
* @see #getParameter()
|
||||
* @generated
|
||||
*/
|
||||
void setParameter(IBeXArithmeticExpression value);
|
||||
|
||||
} // IBeXProbability
|
|
@ -1,95 +0,0 @@
|
|||
/**
|
||||
*/
|
||||
package org.emoflon.ibex.patternmodel.IBeXPatternModel;
|
||||
|
||||
import org.eclipse.emf.ecore.EObject;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* A representation of the model object '<em><b>IBe XProbability Distribution</b></em>'.
|
||||
* <!-- end-user-doc -->
|
||||
*
|
||||
* <p>
|
||||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXProbabilityDistribution#getMean <em>Mean</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXProbabilityDistribution#getStddev <em>Stddev</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXProbabilityDistribution#getType <em>Type</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXProbabilityDistribution()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
public interface IBeXProbabilityDistribution extends EObject {
|
||||
/**
|
||||
* Returns the value of the '<em><b>Mean</b></em>' containment reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Mean</em>' containment reference.
|
||||
* @see #setMean(IBeXArithmeticExpression)
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXProbabilityDistribution_Mean()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
||||
IBeXArithmeticExpression getMean();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXProbabilityDistribution#getMean <em>Mean</em>}' containment reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Mean</em>' containment reference.
|
||||
* @see #getMean()
|
||||
* @generated
|
||||
*/
|
||||
void setMean(IBeXArithmeticExpression value);
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Stddev</b></em>' containment reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Stddev</em>' containment reference.
|
||||
* @see #setStddev(IBeXArithmeticExpression)
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXProbabilityDistribution_Stddev()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
||||
IBeXArithmeticExpression getStddev();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXProbabilityDistribution#getStddev <em>Stddev</em>}' containment reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Stddev</em>' containment reference.
|
||||
* @see #getStddev()
|
||||
* @generated
|
||||
*/
|
||||
void setStddev(IBeXArithmeticExpression value);
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Type</b></em>' attribute.
|
||||
* The literals are from the enumeration {@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXDistributionType}.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Type</em>' attribute.
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXDistributionType
|
||||
* @see #setType(IBeXDistributionType)
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXProbabilityDistribution_Type()
|
||||
* @model required="true"
|
||||
* @generated
|
||||
*/
|
||||
IBeXDistributionType getType();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXProbabilityDistribution#getType <em>Type</em>}' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Type</em>' attribute.
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXDistributionType
|
||||
* @see #getType()
|
||||
* @generated
|
||||
*/
|
||||
void setType(IBeXDistributionType value);
|
||||
|
||||
} // IBeXProbabilityDistribution
|
|
@ -1,303 +0,0 @@
|
|||
/**
|
||||
*/
|
||||
package org.emoflon.ibex.patternmodel.IBeXPatternModel;
|
||||
|
||||
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>IBe XRelation</b></em>',
|
||||
* and utility methods for working with them.
|
||||
* <!-- end-user-doc -->
|
||||
* <!-- begin-model-doc -->
|
||||
* The relations for attribute constraints.
|
||||
* <!-- end-model-doc -->
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXRelation()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
public enum IBeXRelation implements Enumerator {
|
||||
/**
|
||||
* The '<em><b>GREATER OR EQUAL</b></em>' literal object.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #GREATER_OR_EQUAL_VALUE
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
GREATER_OR_EQUAL(0, "GREATER_OR_EQUAL", "GREATER_OR_EQUAL"),
|
||||
|
||||
/**
|
||||
* The '<em><b>GREATER</b></em>' literal object.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #GREATER_VALUE
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
GREATER(1, "GREATER", "GREATER"),
|
||||
|
||||
/**
|
||||
* The '<em><b>EQUAL</b></em>' literal object.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #EQUAL_VALUE
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
EQUAL(2, "EQUAL", "EQUAL"),
|
||||
|
||||
/**
|
||||
* The '<em><b>UNEQUAL</b></em>' literal object.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #UNEQUAL_VALUE
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
UNEQUAL(3, "UNEQUAL", "UNEQUAL"),
|
||||
|
||||
/**
|
||||
* The '<em><b>SMALLER OR EQUAL</b></em>' literal object.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #SMALLER_OR_EQUAL_VALUE
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
SMALLER_OR_EQUAL(4, "SMALLER_OR_EQUAL", "SMALLER_OR_EQUAL"),
|
||||
|
||||
/**
|
||||
* The '<em><b>SMALLER</b></em>' literal object.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #SMALLER_VALUE
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
SMALLER(5, "SMALLER", "SMALLER");
|
||||
|
||||
/**
|
||||
* The '<em><b>GREATER OR EQUAL</b></em>' literal value.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #GREATER_OR_EQUAL
|
||||
* @model
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
public static final int GREATER_OR_EQUAL_VALUE = 0;
|
||||
|
||||
/**
|
||||
* The '<em><b>GREATER</b></em>' literal value.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #GREATER
|
||||
* @model
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
public static final int GREATER_VALUE = 1;
|
||||
|
||||
/**
|
||||
* The '<em><b>EQUAL</b></em>' literal value.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #EQUAL
|
||||
* @model
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
public static final int EQUAL_VALUE = 2;
|
||||
|
||||
/**
|
||||
* The '<em><b>UNEQUAL</b></em>' literal value.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #UNEQUAL
|
||||
* @model
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
public static final int UNEQUAL_VALUE = 3;
|
||||
|
||||
/**
|
||||
* The '<em><b>SMALLER OR EQUAL</b></em>' literal value.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #SMALLER_OR_EQUAL
|
||||
* @model
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
public static final int SMALLER_OR_EQUAL_VALUE = 4;
|
||||
|
||||
/**
|
||||
* The '<em><b>SMALLER</b></em>' literal value.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #SMALLER
|
||||
* @model
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
public static final int SMALLER_VALUE = 5;
|
||||
|
||||
/**
|
||||
* An array of all the '<em><b>IBe XRelation</b></em>' enumerators.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
private static final IBeXRelation[] VALUES_ARRAY = new IBeXRelation[] { GREATER_OR_EQUAL, GREATER, EQUAL, UNEQUAL,
|
||||
SMALLER_OR_EQUAL, SMALLER, };
|
||||
|
||||
/**
|
||||
* A public read-only list of all the '<em><b>IBe XRelation</b></em>' enumerators.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
public static final List<IBeXRelation> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
|
||||
|
||||
/**
|
||||
* Returns the '<em><b>IBe XRelation</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 IBeXRelation get(String literal) {
|
||||
for (int i = 0; i < VALUES_ARRAY.length; ++i) {
|
||||
IBeXRelation result = VALUES_ARRAY[i];
|
||||
if (result.toString().equals(literal)) {
|
||||
return result;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the '<em><b>IBe XRelation</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 IBeXRelation getByName(String name) {
|
||||
for (int i = 0; i < VALUES_ARRAY.length; ++i) {
|
||||
IBeXRelation result = VALUES_ARRAY[i];
|
||||
if (result.getName().equals(name)) {
|
||||
return result;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the '<em><b>IBe XRelation</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 IBeXRelation get(int value) {
|
||||
switch (value) {
|
||||
case GREATER_OR_EQUAL_VALUE:
|
||||
return GREATER_OR_EQUAL;
|
||||
case GREATER_VALUE:
|
||||
return GREATER;
|
||||
case EQUAL_VALUE:
|
||||
return EQUAL;
|
||||
case UNEQUAL_VALUE:
|
||||
return UNEQUAL;
|
||||
case SMALLER_OR_EQUAL_VALUE:
|
||||
return SMALLER_OR_EQUAL;
|
||||
case SMALLER_VALUE:
|
||||
return SMALLER;
|
||||
}
|
||||
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 IBeXRelation(int value, String name, String literal) {
|
||||
this.value = value;
|
||||
this.name = name;
|
||||
this.literal = literal;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public int getValue() {
|
||||
return value;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
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;
|
||||
}
|
||||
|
||||
} //IBeXRelation
|
|
@ -1,200 +0,0 @@
|
|||
/**
|
||||
*/
|
||||
package org.emoflon.ibex.patternmodel.IBeXPatternModel;
|
||||
|
||||
import org.eclipse.emf.common.util.EList;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* A representation of the model object '<em><b>IBe XRule</b></em>'.
|
||||
* <!-- end-user-doc -->
|
||||
*
|
||||
* <p>
|
||||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXRule#getDocumentation <em>Documentation</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXRule#getLhs <em>Lhs</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXRule#getRhs <em>Rhs</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXRule#getCreate <em>Create</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXRule#getDelete <em>Delete</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXRule#getForEach <em>For Each</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXRule#getParameters <em>Parameters</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXRule#getArithmeticConstraints <em>Arithmetic Constraints</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXRule#getProbability <em>Probability</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXRule()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
public interface IBeXRule extends IBeXNamedElement {
|
||||
/**
|
||||
* Returns the value of the '<em><b>Documentation</b></em>' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Documentation</em>' attribute.
|
||||
* @see #setDocumentation(String)
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXRule_Documentation()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
String getDocumentation();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXRule#getDocumentation <em>Documentation</em>}' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Documentation</em>' attribute.
|
||||
* @see #getDocumentation()
|
||||
* @generated
|
||||
*/
|
||||
void setDocumentation(String value);
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Lhs</b></em>' reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Lhs</em>' reference.
|
||||
* @see #setLhs(IBeXContext)
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXRule_Lhs()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
IBeXContext getLhs();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXRule#getLhs <em>Lhs</em>}' reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Lhs</em>' reference.
|
||||
* @see #getLhs()
|
||||
* @generated
|
||||
*/
|
||||
void setLhs(IBeXContext value);
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Rhs</b></em>' containment reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Rhs</em>' containment reference.
|
||||
* @see #setRhs(IBeXContextPattern)
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXRule_Rhs()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
||||
IBeXContextPattern getRhs();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXRule#getRhs <em>Rhs</em>}' containment reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Rhs</em>' containment reference.
|
||||
* @see #getRhs()
|
||||
* @generated
|
||||
*/
|
||||
void setRhs(IBeXContextPattern value);
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Create</b></em>' containment reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Create</em>' containment reference.
|
||||
* @see #setCreate(IBeXCreatePattern)
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXRule_Create()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
||||
IBeXCreatePattern getCreate();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXRule#getCreate <em>Create</em>}' containment reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Create</em>' containment reference.
|
||||
* @see #getCreate()
|
||||
* @generated
|
||||
*/
|
||||
void setCreate(IBeXCreatePattern value);
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Delete</b></em>' containment reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Delete</em>' containment reference.
|
||||
* @see #setDelete(IBeXDeletePattern)
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXRule_Delete()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
||||
IBeXDeletePattern getDelete();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXRule#getDelete <em>Delete</em>}' containment reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Delete</em>' containment reference.
|
||||
* @see #getDelete()
|
||||
* @generated
|
||||
*/
|
||||
void setDelete(IBeXDeletePattern value);
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>For Each</b></em>' containment reference list.
|
||||
* The list contents are of type {@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXForEachExpression}.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>For Each</em>' containment reference list.
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXRule_ForEach()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
||||
EList<IBeXForEachExpression> getForEach();
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Parameters</b></em>' reference list.
|
||||
* The list contents are of type {@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXParameter}.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Parameters</em>' reference list.
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXRule_Parameters()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
EList<IBeXParameter> getParameters();
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Arithmetic Constraints</b></em>' reference list.
|
||||
* The list contents are of type {@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXArithmeticConstraint}.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Arithmetic Constraints</em>' reference list.
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXRule_ArithmeticConstraints()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
EList<IBeXArithmeticConstraint> getArithmeticConstraints();
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Probability</b></em>' containment reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Probability</em>' containment reference.
|
||||
* @see #setProbability(IBeXProbability)
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXRule_Probability()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
||||
IBeXProbability getProbability();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXRule#getProbability <em>Probability</em>}' containment reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Probability</em>' containment reference.
|
||||
* @see #getProbability()
|
||||
* @generated
|
||||
*/
|
||||
void setProbability(IBeXProbability value);
|
||||
|
||||
} // IBeXRule
|
|
@ -1,37 +0,0 @@
|
|||
/**
|
||||
*/
|
||||
package org.emoflon.ibex.patternmodel.IBeXPatternModel;
|
||||
|
||||
import org.eclipse.emf.common.util.EList;
|
||||
import org.eclipse.emf.ecore.EObject;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* A representation of the model object '<em><b>IBe XRule Set</b></em>'.
|
||||
* <!-- end-user-doc -->
|
||||
*
|
||||
* <p>
|
||||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXRuleSet#getRules <em>Rules</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXRuleSet()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
public interface IBeXRuleSet extends EObject {
|
||||
/**
|
||||
* Returns the value of the '<em><b>Rules</b></em>' containment reference list.
|
||||
* The list contents are of type {@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXRule}.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Rules</em>' containment reference list.
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXRuleSet_Rules()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
||||
EList<IBeXRule> getRules();
|
||||
|
||||
} // IBeXRuleSet
|
|
@ -1,70 +0,0 @@
|
|||
/**
|
||||
*/
|
||||
package org.emoflon.ibex.patternmodel.IBeXPatternModel;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* A representation of the model object '<em><b>IBe XStochastic Attribute Value</b></em>'.
|
||||
* <!-- end-user-doc -->
|
||||
*
|
||||
* <p>
|
||||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXStochasticAttributeValue#getRange <em>Range</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXStochasticAttributeValue#getFunction <em>Function</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXStochasticAttributeValue()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
public interface IBeXStochasticAttributeValue extends IBeXAttributeValue {
|
||||
/**
|
||||
* Returns the value of the '<em><b>Range</b></em>' attribute.
|
||||
* The literals are from the enumeration {@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXDistributionRange}.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Range</em>' attribute.
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXDistributionRange
|
||||
* @see #setRange(IBeXDistributionRange)
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXStochasticAttributeValue_Range()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
IBeXDistributionRange getRange();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXStochasticAttributeValue#getRange <em>Range</em>}' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Range</em>' attribute.
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXDistributionRange
|
||||
* @see #getRange()
|
||||
* @generated
|
||||
*/
|
||||
void setRange(IBeXDistributionRange value);
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Function</b></em>' containment reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Function</em>' containment reference.
|
||||
* @see #setFunction(IBeXProbabilityDistribution)
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXStochasticAttributeValue_Function()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
||||
IBeXProbabilityDistribution getFunction();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXStochasticAttributeValue#getFunction <em>Function</em>}' containment reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Function</em>' containment reference.
|
||||
* @see #getFunction()
|
||||
* @generated
|
||||
*/
|
||||
void setFunction(IBeXProbabilityDistribution value);
|
||||
|
||||
} // IBeXStochasticAttributeValue
|
|
@ -1,93 +0,0 @@
|
|||
/**
|
||||
*/
|
||||
package org.emoflon.ibex.patternmodel.IBeXPatternModel;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* A representation of the model object '<em><b>IBe XUnary Expression</b></em>'.
|
||||
* <!-- end-user-doc -->
|
||||
*
|
||||
* <p>
|
||||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXUnaryExpression#getOperand <em>Operand</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXUnaryExpression#getOperator <em>Operator</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXUnaryExpression#isNegative <em>Negative</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXUnaryExpression()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
public interface IBeXUnaryExpression extends IBeXArithmeticExpression {
|
||||
/**
|
||||
* Returns the value of the '<em><b>Operand</b></em>' containment reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Operand</em>' containment reference.
|
||||
* @see #setOperand(IBeXArithmeticExpression)
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXUnaryExpression_Operand()
|
||||
* @model containment="true" required="true"
|
||||
* @generated
|
||||
*/
|
||||
IBeXArithmeticExpression getOperand();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXUnaryExpression#getOperand <em>Operand</em>}' containment reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Operand</em>' containment reference.
|
||||
* @see #getOperand()
|
||||
* @generated
|
||||
*/
|
||||
void setOperand(IBeXArithmeticExpression value);
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Operator</b></em>' attribute.
|
||||
* The literals are from the enumeration {@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXUnaryOperator}.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Operator</em>' attribute.
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXUnaryOperator
|
||||
* @see #setOperator(IBeXUnaryOperator)
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXUnaryExpression_Operator()
|
||||
* @model required="true"
|
||||
* @generated
|
||||
*/
|
||||
IBeXUnaryOperator getOperator();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXUnaryExpression#getOperator <em>Operator</em>}' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Operator</em>' attribute.
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXUnaryOperator
|
||||
* @see #getOperator()
|
||||
* @generated
|
||||
*/
|
||||
void setOperator(IBeXUnaryOperator value);
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Negative</b></em>' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Negative</em>' attribute.
|
||||
* @see #setNegative(boolean)
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXUnaryExpression_Negative()
|
||||
* @model required="true"
|
||||
* @generated
|
||||
*/
|
||||
boolean isNegative();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXUnaryExpression#isNegative <em>Negative</em>}' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Negative</em>' attribute.
|
||||
* @see #isNegative()
|
||||
* @generated
|
||||
*/
|
||||
void setNegative(boolean value);
|
||||
|
||||
} // IBeXUnaryExpression
|
|
@ -1,392 +0,0 @@
|
|||
/**
|
||||
*/
|
||||
package org.emoflon.ibex.patternmodel.IBeXPatternModel;
|
||||
|
||||
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>IBe XUnary Operator</b></em>',
|
||||
* and utility methods for working with them.
|
||||
* <!-- end-user-doc -->
|
||||
* @see org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage#getIBeXUnaryOperator()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
public enum IBeXUnaryOperator implements Enumerator {
|
||||
/**
|
||||
* The '<em><b>SQRT</b></em>' literal object.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #SQRT_VALUE
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
SQRT(0, "SQRT", "SQRT"),
|
||||
|
||||
/**
|
||||
* The '<em><b>ABSOLUTE</b></em>' literal object.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #ABSOLUTE_VALUE
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
ABSOLUTE(1, "ABSOLUTE", "ABSOLUTE"),
|
||||
|
||||
/**
|
||||
* The '<em><b>SIN</b></em>' literal object.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #SIN_VALUE
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
SIN(2, "SIN", "SIN"),
|
||||
|
||||
/**
|
||||
* The '<em><b>COS</b></em>' literal object.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #COS_VALUE
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
COS(3, "COS", "COS"),
|
||||
|
||||
/**
|
||||
* The '<em><b>TAN</b></em>' literal object.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #TAN_VALUE
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
TAN(4, "TAN", "TAN"),
|
||||
|
||||
/**
|
||||
* The '<em><b>EEXPONENTIAL</b></em>' literal object.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #EEXPONENTIAL_VALUE
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
EEXPONENTIAL(5, "E_EXPONENTIAL", "E_EXPONENTIAL"),
|
||||
|
||||
/**
|
||||
* The '<em><b>LOG</b></em>' literal object.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #LOG_VALUE
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
LOG(6, "LOG", "LOG"),
|
||||
|
||||
/**
|
||||
* The '<em><b>LG</b></em>' literal object.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #LG_VALUE
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
LG(7, "LG", "LG"),
|
||||
|
||||
/**
|
||||
* The '<em><b>BRACKET</b></em>' literal object.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #BRACKET_VALUE
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
BRACKET(8, "BRACKET", "BRACKET"),
|
||||
|
||||
/**
|
||||
* The '<em><b>COUNT</b></em>' literal object.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #COUNT_VALUE
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
COUNT(9, "COUNT", "COUNT");
|
||||
|
||||
/**
|
||||
* The '<em><b>SQRT</b></em>' literal value.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #SQRT
|
||||
* @model
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
public static final int SQRT_VALUE = 0;
|
||||
|
||||
/**
|
||||
* The '<em><b>ABSOLUTE</b></em>' literal value.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #ABSOLUTE
|
||||
* @model
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
public static final int ABSOLUTE_VALUE = 1;
|
||||
|
||||
/**
|
||||
* The '<em><b>SIN</b></em>' literal value.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #SIN
|
||||
* @model
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
public static final int SIN_VALUE = 2;
|
||||
|
||||
/**
|
||||
* The '<em><b>COS</b></em>' literal value.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #COS
|
||||
* @model
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
public static final int COS_VALUE = 3;
|
||||
|
||||
/**
|
||||
* The '<em><b>TAN</b></em>' literal value.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #TAN
|
||||
* @model
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
public static final int TAN_VALUE = 4;
|
||||
|
||||
/**
|
||||
* The '<em><b>EEXPONENTIAL</b></em>' literal value.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #EEXPONENTIAL
|
||||
* @model name="E_EXPONENTIAL"
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
public static final int EEXPONENTIAL_VALUE = 5;
|
||||
|
||||
/**
|
||||
* The '<em><b>LOG</b></em>' literal value.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #LOG
|
||||
* @model
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
public static final int LOG_VALUE = 6;
|
||||
|
||||
/**
|
||||
* The '<em><b>LG</b></em>' literal value.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #LG
|
||||
* @model
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
public static final int LG_VALUE = 7;
|
||||
|
||||
/**
|
||||
* The '<em><b>BRACKET</b></em>' literal value.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #BRACKET
|
||||
* @model
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
public static final int BRACKET_VALUE = 8;
|
||||
|
||||
/**
|
||||
* The '<em><b>COUNT</b></em>' literal value.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #COUNT
|
||||
* @model
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
public static final int COUNT_VALUE = 9;
|
||||
|
||||
/**
|
||||
* An array of all the '<em><b>IBe XUnary Operator</b></em>' enumerators.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
private static final IBeXUnaryOperator[] VALUES_ARRAY = new IBeXUnaryOperator[] { SQRT, ABSOLUTE, SIN, COS, TAN,
|
||||
EEXPONENTIAL, LOG, LG, BRACKET, COUNT, };
|
||||
|
||||
/**
|
||||
* A public read-only list of all the '<em><b>IBe XUnary Operator</b></em>' enumerators.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
public static final List<IBeXUnaryOperator> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
|
||||
|
||||
/**
|
||||
* Returns the '<em><b>IBe XUnary Operator</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 IBeXUnaryOperator get(String literal) {
|
||||
for (int i = 0; i < VALUES_ARRAY.length; ++i) {
|
||||
IBeXUnaryOperator result = VALUES_ARRAY[i];
|
||||
if (result.toString().equals(literal)) {
|
||||
return result;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the '<em><b>IBe XUnary Operator</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 IBeXUnaryOperator getByName(String name) {
|
||||
for (int i = 0; i < VALUES_ARRAY.length; ++i) {
|
||||
IBeXUnaryOperator result = VALUES_ARRAY[i];
|
||||
if (result.getName().equals(name)) {
|
||||
return result;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the '<em><b>IBe XUnary Operator</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 IBeXUnaryOperator get(int value) {
|
||||
switch (value) {
|
||||
case SQRT_VALUE:
|
||||
return SQRT;
|
||||
case ABSOLUTE_VALUE:
|
||||
return ABSOLUTE;
|
||||
case SIN_VALUE:
|
||||
return SIN;
|
||||
case COS_VALUE:
|
||||
return COS;
|
||||
case TAN_VALUE:
|
||||
return TAN;
|
||||
case EEXPONENTIAL_VALUE:
|
||||
return EEXPONENTIAL;
|
||||
case LOG_VALUE:
|
||||
return LOG;
|
||||
case LG_VALUE:
|
||||
return LG;
|
||||
case BRACKET_VALUE:
|
||||
return BRACKET;
|
||||
case COUNT_VALUE:
|
||||
return COUNT;
|
||||
}
|
||||
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 IBeXUnaryOperator(int value, String name, String literal) {
|
||||
this.value = value;
|
||||
this.name = name;
|
||||
this.literal = literal;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public int getValue() {
|
||||
return value;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
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;
|
||||
}
|
||||
|
||||
} //IBeXUnaryOperator
|
|
@ -1,230 +0,0 @@
|
|||
/**
|
||||
*/
|
||||
package org.emoflon.ibex.patternmodel.IBeXPatternModel.impl;
|
||||
|
||||
import org.eclipse.emf.common.notify.Notification;
|
||||
import org.eclipse.emf.ecore.EAttribute;
|
||||
import org.eclipse.emf.ecore.EClass;
|
||||
import org.eclipse.emf.ecore.InternalEObject;
|
||||
import org.eclipse.emf.ecore.impl.ENotificationImpl;
|
||||
import org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXArithmeticAttribute;
|
||||
import org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* An implementation of the model object '<em><b>IBe XArithmetic Attribute</b></em>'.
|
||||
* <!-- end-user-doc -->
|
||||
* <p>
|
||||
* The following features are implemented:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.impl.IBeXArithmeticAttributeImpl#getAttribute <em>Attribute</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.impl.IBeXArithmeticAttributeImpl#isNegative <em>Negative</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @generated
|
||||
*/
|
||||
public class IBeXArithmeticAttributeImpl extends IBeXNodeImpl implements IBeXArithmeticAttribute {
|
||||
/**
|
||||
* The cached value of the '{@link #getAttribute() <em>Attribute</em>}' reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #getAttribute()
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
protected EAttribute attribute;
|
||||
|
||||
/**
|
||||
* The default value of the '{@link #isNegative() <em>Negative</em>}' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #isNegative()
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
protected static final boolean NEGATIVE_EDEFAULT = false;
|
||||
|
||||
/**
|
||||
* The cached value of the '{@link #isNegative() <em>Negative</em>}' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #isNegative()
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
protected boolean negative = NEGATIVE_EDEFAULT;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
protected IBeXArithmeticAttributeImpl() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
protected EClass eStaticClass() {
|
||||
return IBeXPatternModelPackage.Literals.IBE_XARITHMETIC_ATTRIBUTE;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public EAttribute getAttribute() {
|
||||
if (attribute != null && attribute.eIsProxy()) {
|
||||
InternalEObject oldAttribute = (InternalEObject) attribute;
|
||||
attribute = (EAttribute) eResolveProxy(oldAttribute);
|
||||
if (attribute != oldAttribute) {
|
||||
if (eNotificationRequired())
|
||||
eNotify(new ENotificationImpl(this, Notification.RESOLVE,
|
||||
IBeXPatternModelPackage.IBE_XARITHMETIC_ATTRIBUTE__ATTRIBUTE, oldAttribute, attribute));
|
||||
}
|
||||
}
|
||||
return attribute;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
public EAttribute basicGetAttribute() {
|
||||
return attribute;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public void setAttribute(EAttribute newAttribute) {
|
||||
EAttribute oldAttribute = attribute;
|
||||
attribute = newAttribute;
|
||||
if (eNotificationRequired())
|
||||
eNotify(new ENotificationImpl(this, Notification.SET,
|
||||
IBeXPatternModelPackage.IBE_XARITHMETIC_ATTRIBUTE__ATTRIBUTE, oldAttribute, attribute));
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public boolean isNegative() {
|
||||
return negative;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public void setNegative(boolean newNegative) {
|
||||
boolean oldNegative = negative;
|
||||
negative = newNegative;
|
||||
if (eNotificationRequired())
|
||||
eNotify(new ENotificationImpl(this, Notification.SET,
|
||||
IBeXPatternModelPackage.IBE_XARITHMETIC_ATTRIBUTE__NEGATIVE, oldNegative, negative));
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public Object eGet(int featureID, boolean resolve, boolean coreType) {
|
||||
switch (featureID) {
|
||||
case IBeXPatternModelPackage.IBE_XARITHMETIC_ATTRIBUTE__ATTRIBUTE:
|
||||
if (resolve)
|
||||
return getAttribute();
|
||||
return basicGetAttribute();
|
||||
case IBeXPatternModelPackage.IBE_XARITHMETIC_ATTRIBUTE__NEGATIVE:
|
||||
return isNegative();
|
||||
}
|
||||
return super.eGet(featureID, resolve, coreType);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public void eSet(int featureID, Object newValue) {
|
||||
switch (featureID) {
|
||||
case IBeXPatternModelPackage.IBE_XARITHMETIC_ATTRIBUTE__ATTRIBUTE:
|
||||
setAttribute((EAttribute) newValue);
|
||||
return;
|
||||
case IBeXPatternModelPackage.IBE_XARITHMETIC_ATTRIBUTE__NEGATIVE:
|
||||
setNegative((Boolean) newValue);
|
||||
return;
|
||||
}
|
||||
super.eSet(featureID, newValue);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public void eUnset(int featureID) {
|
||||
switch (featureID) {
|
||||
case IBeXPatternModelPackage.IBE_XARITHMETIC_ATTRIBUTE__ATTRIBUTE:
|
||||
setAttribute((EAttribute) null);
|
||||
return;
|
||||
case IBeXPatternModelPackage.IBE_XARITHMETIC_ATTRIBUTE__NEGATIVE:
|
||||
setNegative(NEGATIVE_EDEFAULT);
|
||||
return;
|
||||
}
|
||||
super.eUnset(featureID);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public boolean eIsSet(int featureID) {
|
||||
switch (featureID) {
|
||||
case IBeXPatternModelPackage.IBE_XARITHMETIC_ATTRIBUTE__ATTRIBUTE:
|
||||
return attribute != null;
|
||||
case IBeXPatternModelPackage.IBE_XARITHMETIC_ATTRIBUTE__NEGATIVE:
|
||||
return negative != NEGATIVE_EDEFAULT;
|
||||
}
|
||||
return super.eIsSet(featureID);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public String toString() {
|
||||
if (eIsProxy())
|
||||
return super.toString();
|
||||
|
||||
StringBuilder result = new StringBuilder(super.toString());
|
||||
result.append(" (negative: ");
|
||||
result.append(negative);
|
||||
result.append(')');
|
||||
return result.toString();
|
||||
}
|
||||
|
||||
} //IBeXArithmeticAttributeImpl
|
|
@ -1,330 +0,0 @@
|
|||
/**
|
||||
*/
|
||||
package org.emoflon.ibex.patternmodel.IBeXPatternModel.impl;
|
||||
|
||||
import org.eclipse.emf.common.notify.Notification;
|
||||
import org.eclipse.emf.common.notify.NotificationChain;
|
||||
import org.eclipse.emf.ecore.EClass;
|
||||
import org.eclipse.emf.ecore.InternalEObject;
|
||||
import org.eclipse.emf.ecore.impl.ENotificationImpl;
|
||||
import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
|
||||
import org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXArithmeticConstraint;
|
||||
import org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXArithmeticExpression;
|
||||
import org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage;
|
||||
import org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXRelation;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* An implementation of the model object '<em><b>IBe XArithmetic Constraint</b></em>'.
|
||||
* <!-- end-user-doc -->
|
||||
* <p>
|
||||
* The following features are implemented:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.impl.IBeXArithmeticConstraintImpl#getLhs <em>Lhs</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.impl.IBeXArithmeticConstraintImpl#getRelation <em>Relation</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.impl.IBeXArithmeticConstraintImpl#getRhs <em>Rhs</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @generated
|
||||
*/
|
||||
public class IBeXArithmeticConstraintImpl extends MinimalEObjectImpl.Container implements IBeXArithmeticConstraint {
|
||||
/**
|
||||
* The cached value of the '{@link #getLhs() <em>Lhs</em>}' containment reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #getLhs()
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
protected IBeXArithmeticExpression lhs;
|
||||
|
||||
/**
|
||||
* The default value of the '{@link #getRelation() <em>Relation</em>}' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #getRelation()
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
protected static final IBeXRelation RELATION_EDEFAULT = IBeXRelation.GREATER_OR_EQUAL;
|
||||
|
||||
/**
|
||||
* The cached value of the '{@link #getRelation() <em>Relation</em>}' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #getRelation()
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
protected IBeXRelation relation = RELATION_EDEFAULT;
|
||||
|
||||
/**
|
||||
* The cached value of the '{@link #getRhs() <em>Rhs</em>}' containment reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #getRhs()
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
protected IBeXArithmeticExpression rhs;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
protected IBeXArithmeticConstraintImpl() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
protected EClass eStaticClass() {
|
||||
return IBeXPatternModelPackage.Literals.IBE_XARITHMETIC_CONSTRAINT;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public IBeXArithmeticExpression getLhs() {
|
||||
return lhs;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
public NotificationChain basicSetLhs(IBeXArithmeticExpression newLhs, NotificationChain msgs) {
|
||||
IBeXArithmeticExpression oldLhs = lhs;
|
||||
lhs = newLhs;
|
||||
if (eNotificationRequired()) {
|
||||
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
|
||||
IBeXPatternModelPackage.IBE_XARITHMETIC_CONSTRAINT__LHS, oldLhs, newLhs);
|
||||
if (msgs == null)
|
||||
msgs = notification;
|
||||
else
|
||||
msgs.add(notification);
|
||||
}
|
||||
return msgs;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public void setLhs(IBeXArithmeticExpression newLhs) {
|
||||
if (newLhs != lhs) {
|
||||
NotificationChain msgs = null;
|
||||
if (lhs != null)
|
||||
msgs = ((InternalEObject) lhs).eInverseRemove(this,
|
||||
EOPPOSITE_FEATURE_BASE - IBeXPatternModelPackage.IBE_XARITHMETIC_CONSTRAINT__LHS, null, msgs);
|
||||
if (newLhs != null)
|
||||
msgs = ((InternalEObject) newLhs).eInverseAdd(this,
|
||||
EOPPOSITE_FEATURE_BASE - IBeXPatternModelPackage.IBE_XARITHMETIC_CONSTRAINT__LHS, null, msgs);
|
||||
msgs = basicSetLhs(newLhs, msgs);
|
||||
if (msgs != null)
|
||||
msgs.dispatch();
|
||||
} else if (eNotificationRequired())
|
||||
eNotify(new ENotificationImpl(this, Notification.SET,
|
||||
IBeXPatternModelPackage.IBE_XARITHMETIC_CONSTRAINT__LHS, newLhs, newLhs));
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public IBeXRelation getRelation() {
|
||||
return relation;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public void setRelation(IBeXRelation newRelation) {
|
||||
IBeXRelation oldRelation = relation;
|
||||
relation = newRelation == null ? RELATION_EDEFAULT : newRelation;
|
||||
if (eNotificationRequired())
|
||||
eNotify(new ENotificationImpl(this, Notification.SET,
|
||||
IBeXPatternModelPackage.IBE_XARITHMETIC_CONSTRAINT__RELATION, oldRelation, relation));
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public IBeXArithmeticExpression getRhs() {
|
||||
return rhs;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
public NotificationChain basicSetRhs(IBeXArithmeticExpression newRhs, NotificationChain msgs) {
|
||||
IBeXArithmeticExpression oldRhs = rhs;
|
||||
rhs = newRhs;
|
||||
if (eNotificationRequired()) {
|
||||
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
|
||||
IBeXPatternModelPackage.IBE_XARITHMETIC_CONSTRAINT__RHS, oldRhs, newRhs);
|
||||
if (msgs == null)
|
||||
msgs = notification;
|
||||
else
|
||||
msgs.add(notification);
|
||||
}
|
||||
return msgs;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public void setRhs(IBeXArithmeticExpression newRhs) {
|
||||
if (newRhs != rhs) {
|
||||
NotificationChain msgs = null;
|
||||
if (rhs != null)
|
||||
msgs = ((InternalEObject) rhs).eInverseRemove(this,
|
||||
EOPPOSITE_FEATURE_BASE - IBeXPatternModelPackage.IBE_XARITHMETIC_CONSTRAINT__RHS, null, msgs);
|
||||
if (newRhs != null)
|
||||
msgs = ((InternalEObject) newRhs).eInverseAdd(this,
|
||||
EOPPOSITE_FEATURE_BASE - IBeXPatternModelPackage.IBE_XARITHMETIC_CONSTRAINT__RHS, null, msgs);
|
||||
msgs = basicSetRhs(newRhs, msgs);
|
||||
if (msgs != null)
|
||||
msgs.dispatch();
|
||||
} else if (eNotificationRequired())
|
||||
eNotify(new ENotificationImpl(this, Notification.SET,
|
||||
IBeXPatternModelPackage.IBE_XARITHMETIC_CONSTRAINT__RHS, newRhs, newRhs));
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
|
||||
switch (featureID) {
|
||||
case IBeXPatternModelPackage.IBE_XARITHMETIC_CONSTRAINT__LHS:
|
||||
return basicSetLhs(null, msgs);
|
||||
case IBeXPatternModelPackage.IBE_XARITHMETIC_CONSTRAINT__RHS:
|
||||
return basicSetRhs(null, msgs);
|
||||
}
|
||||
return super.eInverseRemove(otherEnd, featureID, msgs);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public Object eGet(int featureID, boolean resolve, boolean coreType) {
|
||||
switch (featureID) {
|
||||
case IBeXPatternModelPackage.IBE_XARITHMETIC_CONSTRAINT__LHS:
|
||||
return getLhs();
|
||||
case IBeXPatternModelPackage.IBE_XARITHMETIC_CONSTRAINT__RELATION:
|
||||
return getRelation();
|
||||
case IBeXPatternModelPackage.IBE_XARITHMETIC_CONSTRAINT__RHS:
|
||||
return getRhs();
|
||||
}
|
||||
return super.eGet(featureID, resolve, coreType);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public void eSet(int featureID, Object newValue) {
|
||||
switch (featureID) {
|
||||
case IBeXPatternModelPackage.IBE_XARITHMETIC_CONSTRAINT__LHS:
|
||||
setLhs((IBeXArithmeticExpression) newValue);
|
||||
return;
|
||||
case IBeXPatternModelPackage.IBE_XARITHMETIC_CONSTRAINT__RELATION:
|
||||
setRelation((IBeXRelation) newValue);
|
||||
return;
|
||||
case IBeXPatternModelPackage.IBE_XARITHMETIC_CONSTRAINT__RHS:
|
||||
setRhs((IBeXArithmeticExpression) newValue);
|
||||
return;
|
||||
}
|
||||
super.eSet(featureID, newValue);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public void eUnset(int featureID) {
|
||||
switch (featureID) {
|
||||
case IBeXPatternModelPackage.IBE_XARITHMETIC_CONSTRAINT__LHS:
|
||||
setLhs((IBeXArithmeticExpression) null);
|
||||
return;
|
||||
case IBeXPatternModelPackage.IBE_XARITHMETIC_CONSTRAINT__RELATION:
|
||||
setRelation(RELATION_EDEFAULT);
|
||||
return;
|
||||
case IBeXPatternModelPackage.IBE_XARITHMETIC_CONSTRAINT__RHS:
|
||||
setRhs((IBeXArithmeticExpression) null);
|
||||
return;
|
||||
}
|
||||
super.eUnset(featureID);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public boolean eIsSet(int featureID) {
|
||||
switch (featureID) {
|
||||
case IBeXPatternModelPackage.IBE_XARITHMETIC_CONSTRAINT__LHS:
|
||||
return lhs != null;
|
||||
case IBeXPatternModelPackage.IBE_XARITHMETIC_CONSTRAINT__RELATION:
|
||||
return relation != RELATION_EDEFAULT;
|
||||
case IBeXPatternModelPackage.IBE_XARITHMETIC_CONSTRAINT__RHS:
|
||||
return rhs != null;
|
||||
}
|
||||
return super.eIsSet(featureID);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public String toString() {
|
||||
if (eIsProxy())
|
||||
return super.toString();
|
||||
|
||||
StringBuilder result = new StringBuilder(super.toString());
|
||||
result.append(" (relation: ");
|
||||
result.append(relation);
|
||||
result.append(')');
|
||||
return result.toString();
|
||||
}
|
||||
|
||||
} //IBeXArithmeticConstraintImpl
|
|
@ -1,181 +0,0 @@
|
|||
/**
|
||||
*/
|
||||
package org.emoflon.ibex.patternmodel.IBeXPatternModel.impl;
|
||||
|
||||
import org.eclipse.emf.common.notify.Notification;
|
||||
import org.eclipse.emf.common.notify.NotificationChain;
|
||||
import org.eclipse.emf.ecore.EClass;
|
||||
import org.eclipse.emf.ecore.InternalEObject;
|
||||
import org.eclipse.emf.ecore.impl.ENotificationImpl;
|
||||
import org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXArithmeticExpression;
|
||||
import org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXArithmeticValue;
|
||||
import org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* An implementation of the model object '<em><b>IBe XArithmetic Value</b></em>'.
|
||||
* <!-- end-user-doc -->
|
||||
* <p>
|
||||
* The following features are implemented:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.impl.IBeXArithmeticValueImpl#getExpression <em>Expression</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @generated
|
||||
*/
|
||||
public class IBeXArithmeticValueImpl extends IBeXAttributeValueImpl implements IBeXArithmeticValue {
|
||||
/**
|
||||
* The cached value of the '{@link #getExpression() <em>Expression</em>}' containment reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #getExpression()
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
protected IBeXArithmeticExpression expression;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
protected IBeXArithmeticValueImpl() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
protected EClass eStaticClass() {
|
||||
return IBeXPatternModelPackage.Literals.IBE_XARITHMETIC_VALUE;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public IBeXArithmeticExpression getExpression() {
|
||||
return expression;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
public NotificationChain basicSetExpression(IBeXArithmeticExpression newExpression, NotificationChain msgs) {
|
||||
IBeXArithmeticExpression oldExpression = expression;
|
||||
expression = newExpression;
|
||||
if (eNotificationRequired()) {
|
||||
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
|
||||
IBeXPatternModelPackage.IBE_XARITHMETIC_VALUE__EXPRESSION, oldExpression, newExpression);
|
||||
if (msgs == null)
|
||||
msgs = notification;
|
||||
else
|
||||
msgs.add(notification);
|
||||
}
|
||||
return msgs;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public void setExpression(IBeXArithmeticExpression newExpression) {
|
||||
if (newExpression != expression) {
|
||||
NotificationChain msgs = null;
|
||||
if (expression != null)
|
||||
msgs = ((InternalEObject) expression).eInverseRemove(this,
|
||||
EOPPOSITE_FEATURE_BASE - IBeXPatternModelPackage.IBE_XARITHMETIC_VALUE__EXPRESSION, null, msgs);
|
||||
if (newExpression != null)
|
||||
msgs = ((InternalEObject) newExpression).eInverseAdd(this,
|
||||
EOPPOSITE_FEATURE_BASE - IBeXPatternModelPackage.IBE_XARITHMETIC_VALUE__EXPRESSION, null, msgs);
|
||||
msgs = basicSetExpression(newExpression, msgs);
|
||||
if (msgs != null)
|
||||
msgs.dispatch();
|
||||
} else if (eNotificationRequired())
|
||||
eNotify(new ENotificationImpl(this, Notification.SET,
|
||||
IBeXPatternModelPackage.IBE_XARITHMETIC_VALUE__EXPRESSION, newExpression, newExpression));
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
|
||||
switch (featureID) {
|
||||
case IBeXPatternModelPackage.IBE_XARITHMETIC_VALUE__EXPRESSION:
|
||||
return basicSetExpression(null, msgs);
|
||||
}
|
||||
return super.eInverseRemove(otherEnd, featureID, msgs);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public Object eGet(int featureID, boolean resolve, boolean coreType) {
|
||||
switch (featureID) {
|
||||
case IBeXPatternModelPackage.IBE_XARITHMETIC_VALUE__EXPRESSION:
|
||||
return getExpression();
|
||||
}
|
||||
return super.eGet(featureID, resolve, coreType);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public void eSet(int featureID, Object newValue) {
|
||||
switch (featureID) {
|
||||
case IBeXPatternModelPackage.IBE_XARITHMETIC_VALUE__EXPRESSION:
|
||||
setExpression((IBeXArithmeticExpression) newValue);
|
||||
return;
|
||||
}
|
||||
super.eSet(featureID, newValue);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public void eUnset(int featureID) {
|
||||
switch (featureID) {
|
||||
case IBeXPatternModelPackage.IBE_XARITHMETIC_VALUE__EXPRESSION:
|
||||
setExpression((IBeXArithmeticExpression) null);
|
||||
return;
|
||||
}
|
||||
super.eUnset(featureID);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public boolean eIsSet(int featureID) {
|
||||
switch (featureID) {
|
||||
case IBeXPatternModelPackage.IBE_XARITHMETIC_VALUE__EXPRESSION:
|
||||
return expression != null;
|
||||
}
|
||||
return super.eIsSet(featureID);
|
||||
}
|
||||
|
||||
} //IBeXArithmeticValueImpl
|
|
@ -1,164 +0,0 @@
|
|||
/**
|
||||
*/
|
||||
package org.emoflon.ibex.patternmodel.IBeXPatternModel.impl;
|
||||
|
||||
import org.eclipse.emf.common.notify.Notification;
|
||||
import org.eclipse.emf.ecore.EClass;
|
||||
import org.eclipse.emf.ecore.impl.ENotificationImpl;
|
||||
import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
|
||||
import org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXArithmeticValueLiteral;
|
||||
import org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* An implementation of the model object '<em><b>IBe XArithmetic Value Literal</b></em>'.
|
||||
* <!-- end-user-doc -->
|
||||
* <p>
|
||||
* The following features are implemented:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.impl.IBeXArithmeticValueLiteralImpl#getValue <em>Value</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @generated
|
||||
*/
|
||||
public class IBeXArithmeticValueLiteralImpl extends MinimalEObjectImpl.Container implements IBeXArithmeticValueLiteral {
|
||||
/**
|
||||
* The default value of the '{@link #getValue() <em>Value</em>}' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #getValue()
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
protected static final double VALUE_EDEFAULT = 0.0;
|
||||
|
||||
/**
|
||||
* The cached value of the '{@link #getValue() <em>Value</em>}' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #getValue()
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
protected double value = VALUE_EDEFAULT;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
protected IBeXArithmeticValueLiteralImpl() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
protected EClass eStaticClass() {
|
||||
return IBeXPatternModelPackage.Literals.IBE_XARITHMETIC_VALUE_LITERAL;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public double getValue() {
|
||||
return value;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public void setValue(double newValue) {
|
||||
double oldValue = value;
|
||||
value = newValue;
|
||||
if (eNotificationRequired())
|
||||
eNotify(new ENotificationImpl(this, Notification.SET,
|
||||
IBeXPatternModelPackage.IBE_XARITHMETIC_VALUE_LITERAL__VALUE, oldValue, value));
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public Object eGet(int featureID, boolean resolve, boolean coreType) {
|
||||
switch (featureID) {
|
||||
case IBeXPatternModelPackage.IBE_XARITHMETIC_VALUE_LITERAL__VALUE:
|
||||
return getValue();
|
||||
}
|
||||
return super.eGet(featureID, resolve, coreType);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public void eSet(int featureID, Object newValue) {
|
||||
switch (featureID) {
|
||||
case IBeXPatternModelPackage.IBE_XARITHMETIC_VALUE_LITERAL__VALUE:
|
||||
setValue((Double) newValue);
|
||||
return;
|
||||
}
|
||||
super.eSet(featureID, newValue);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public void eUnset(int featureID) {
|
||||
switch (featureID) {
|
||||
case IBeXPatternModelPackage.IBE_XARITHMETIC_VALUE_LITERAL__VALUE:
|
||||
setValue(VALUE_EDEFAULT);
|
||||
return;
|
||||
}
|
||||
super.eUnset(featureID);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public boolean eIsSet(int featureID) {
|
||||
switch (featureID) {
|
||||
case IBeXPatternModelPackage.IBE_XARITHMETIC_VALUE_LITERAL__VALUE:
|
||||
return value != VALUE_EDEFAULT;
|
||||
}
|
||||
return super.eIsSet(featureID);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public String toString() {
|
||||
if (eIsProxy())
|
||||
return super.toString();
|
||||
|
||||
StringBuilder result = new StringBuilder(super.toString());
|
||||
result.append(" (value: ");
|
||||
result.append(value);
|
||||
result.append(')');
|
||||
return result.toString();
|
||||
}
|
||||
|
||||
} //IBeXArithmeticValueLiteralImpl
|
|
@ -1,313 +0,0 @@
|
|||
/**
|
||||
*/
|
||||
package org.emoflon.ibex.patternmodel.IBeXPatternModel.impl;
|
||||
|
||||
import org.eclipse.emf.common.notify.Notification;
|
||||
import org.eclipse.emf.common.notify.NotificationChain;
|
||||
import org.eclipse.emf.ecore.EAttribute;
|
||||
import org.eclipse.emf.ecore.EClass;
|
||||
import org.eclipse.emf.ecore.InternalEObject;
|
||||
import org.eclipse.emf.ecore.impl.ENotificationImpl;
|
||||
import org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXAttributeAssignment;
|
||||
import org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXAttributeValue;
|
||||
import org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXNode;
|
||||
import org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* An implementation of the model object '<em><b>IBe XAttribute Assignment</b></em>'.
|
||||
* <!-- end-user-doc -->
|
||||
* <p>
|
||||
* The following features are implemented:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.impl.IBeXAttributeAssignmentImpl#getValue <em>Value</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.impl.IBeXAttributeAssignmentImpl#getNode <em>Node</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.impl.IBeXAttributeAssignmentImpl#getType <em>Type</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @generated
|
||||
*/
|
||||
public class IBeXAttributeAssignmentImpl extends IBeXAttributeImpl implements IBeXAttributeAssignment {
|
||||
/**
|
||||
* The cached value of the '{@link #getValue() <em>Value</em>}' containment reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #getValue()
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
protected IBeXAttributeValue value;
|
||||
|
||||
/**
|
||||
* The cached value of the '{@link #getNode() <em>Node</em>}' reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #getNode()
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
protected IBeXNode node;
|
||||
|
||||
/**
|
||||
* The cached value of the '{@link #getType() <em>Type</em>}' reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #getType()
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
protected EAttribute type;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
protected IBeXAttributeAssignmentImpl() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
protected EClass eStaticClass() {
|
||||
return IBeXPatternModelPackage.Literals.IBE_XATTRIBUTE_ASSIGNMENT;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public IBeXAttributeValue getValue() {
|
||||
return value;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
public NotificationChain basicSetValue(IBeXAttributeValue newValue, NotificationChain msgs) {
|
||||
IBeXAttributeValue oldValue = value;
|
||||
value = newValue;
|
||||
if (eNotificationRequired()) {
|
||||
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
|
||||
IBeXPatternModelPackage.IBE_XATTRIBUTE_ASSIGNMENT__VALUE, oldValue, newValue);
|
||||
if (msgs == null)
|
||||
msgs = notification;
|
||||
else
|
||||
msgs.add(notification);
|
||||
}
|
||||
return msgs;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public void setValue(IBeXAttributeValue newValue) {
|
||||
if (newValue != value) {
|
||||
NotificationChain msgs = null;
|
||||
if (value != null)
|
||||
msgs = ((InternalEObject) value).eInverseRemove(this,
|
||||
EOPPOSITE_FEATURE_BASE - IBeXPatternModelPackage.IBE_XATTRIBUTE_ASSIGNMENT__VALUE, null, msgs);
|
||||
if (newValue != null)
|
||||
msgs = ((InternalEObject) newValue).eInverseAdd(this,
|
||||
EOPPOSITE_FEATURE_BASE - IBeXPatternModelPackage.IBE_XATTRIBUTE_ASSIGNMENT__VALUE, null, msgs);
|
||||
msgs = basicSetValue(newValue, msgs);
|
||||
if (msgs != null)
|
||||
msgs.dispatch();
|
||||
} else if (eNotificationRequired())
|
||||
eNotify(new ENotificationImpl(this, Notification.SET,
|
||||
IBeXPatternModelPackage.IBE_XATTRIBUTE_ASSIGNMENT__VALUE, newValue, newValue));
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public IBeXNode getNode() {
|
||||
if (node != null && node.eIsProxy()) {
|
||||
InternalEObject oldNode = (InternalEObject) node;
|
||||
node = (IBeXNode) eResolveProxy(oldNode);
|
||||
if (node != oldNode) {
|
||||
if (eNotificationRequired())
|
||||
eNotify(new ENotificationImpl(this, Notification.RESOLVE,
|
||||
IBeXPatternModelPackage.IBE_XATTRIBUTE_ASSIGNMENT__NODE, oldNode, node));
|
||||
}
|
||||
}
|
||||
return node;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
public IBeXNode basicGetNode() {
|
||||
return node;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public void setNode(IBeXNode newNode) {
|
||||
IBeXNode oldNode = node;
|
||||
node = newNode;
|
||||
if (eNotificationRequired())
|
||||
eNotify(new ENotificationImpl(this, Notification.SET,
|
||||
IBeXPatternModelPackage.IBE_XATTRIBUTE_ASSIGNMENT__NODE, oldNode, node));
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public EAttribute getType() {
|
||||
if (type != null && type.eIsProxy()) {
|
||||
InternalEObject oldType = (InternalEObject) type;
|
||||
type = (EAttribute) eResolveProxy(oldType);
|
||||
if (type != oldType) {
|
||||
if (eNotificationRequired())
|
||||
eNotify(new ENotificationImpl(this, Notification.RESOLVE,
|
||||
IBeXPatternModelPackage.IBE_XATTRIBUTE_ASSIGNMENT__TYPE, oldType, type));
|
||||
}
|
||||
}
|
||||
return type;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
public EAttribute basicGetType() {
|
||||
return type;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public void setType(EAttribute newType) {
|
||||
EAttribute oldType = type;
|
||||
type = newType;
|
||||
if (eNotificationRequired())
|
||||
eNotify(new ENotificationImpl(this, Notification.SET,
|
||||
IBeXPatternModelPackage.IBE_XATTRIBUTE_ASSIGNMENT__TYPE, oldType, type));
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
|
||||
switch (featureID) {
|
||||
case IBeXPatternModelPackage.IBE_XATTRIBUTE_ASSIGNMENT__VALUE:
|
||||
return basicSetValue(null, msgs);
|
||||
}
|
||||
return super.eInverseRemove(otherEnd, featureID, msgs);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public Object eGet(int featureID, boolean resolve, boolean coreType) {
|
||||
switch (featureID) {
|
||||
case IBeXPatternModelPackage.IBE_XATTRIBUTE_ASSIGNMENT__VALUE:
|
||||
return getValue();
|
||||
case IBeXPatternModelPackage.IBE_XATTRIBUTE_ASSIGNMENT__NODE:
|
||||
if (resolve)
|
||||
return getNode();
|
||||
return basicGetNode();
|
||||
case IBeXPatternModelPackage.IBE_XATTRIBUTE_ASSIGNMENT__TYPE:
|
||||
if (resolve)
|
||||
return getType();
|
||||
return basicGetType();
|
||||
}
|
||||
return super.eGet(featureID, resolve, coreType);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public void eSet(int featureID, Object newValue) {
|
||||
switch (featureID) {
|
||||
case IBeXPatternModelPackage.IBE_XATTRIBUTE_ASSIGNMENT__VALUE:
|
||||
setValue((IBeXAttributeValue) newValue);
|
||||
return;
|
||||
case IBeXPatternModelPackage.IBE_XATTRIBUTE_ASSIGNMENT__NODE:
|
||||
setNode((IBeXNode) newValue);
|
||||
return;
|
||||
case IBeXPatternModelPackage.IBE_XATTRIBUTE_ASSIGNMENT__TYPE:
|
||||
setType((EAttribute) newValue);
|
||||
return;
|
||||
}
|
||||
super.eSet(featureID, newValue);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public void eUnset(int featureID) {
|
||||
switch (featureID) {
|
||||
case IBeXPatternModelPackage.IBE_XATTRIBUTE_ASSIGNMENT__VALUE:
|
||||
setValue((IBeXAttributeValue) null);
|
||||
return;
|
||||
case IBeXPatternModelPackage.IBE_XATTRIBUTE_ASSIGNMENT__NODE:
|
||||
setNode((IBeXNode) null);
|
||||
return;
|
||||
case IBeXPatternModelPackage.IBE_XATTRIBUTE_ASSIGNMENT__TYPE:
|
||||
setType((EAttribute) null);
|
||||
return;
|
||||
}
|
||||
super.eUnset(featureID);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public boolean eIsSet(int featureID) {
|
||||
switch (featureID) {
|
||||
case IBeXPatternModelPackage.IBE_XATTRIBUTE_ASSIGNMENT__VALUE:
|
||||
return value != null;
|
||||
case IBeXPatternModelPackage.IBE_XATTRIBUTE_ASSIGNMENT__NODE:
|
||||
return node != null;
|
||||
case IBeXPatternModelPackage.IBE_XATTRIBUTE_ASSIGNMENT__TYPE:
|
||||
return type != null;
|
||||
}
|
||||
return super.eIsSet(featureID);
|
||||
}
|
||||
|
||||
} //IBeXAttributeAssignmentImpl
|
|
@ -1,329 +0,0 @@
|
|||
/**
|
||||
*/
|
||||
package org.emoflon.ibex.patternmodel.IBeXPatternModel.impl;
|
||||
|
||||
import org.eclipse.emf.common.notify.Notification;
|
||||
import org.eclipse.emf.common.notify.NotificationChain;
|
||||
import org.eclipse.emf.ecore.EClass;
|
||||
import org.eclipse.emf.ecore.InternalEObject;
|
||||
import org.eclipse.emf.ecore.impl.ENotificationImpl;
|
||||
import org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXAttributeConstraint;
|
||||
import org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXAttributeValue;
|
||||
import org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage;
|
||||
import org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXRelation;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* An implementation of the model object '<em><b>IBe XAttribute Constraint</b></em>'.
|
||||
* <!-- end-user-doc -->
|
||||
* <p>
|
||||
* The following features are implemented:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.impl.IBeXAttributeConstraintImpl#getRelation <em>Relation</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.impl.IBeXAttributeConstraintImpl#getLhs <em>Lhs</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.impl.IBeXAttributeConstraintImpl#getRhs <em>Rhs</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @generated
|
||||
*/
|
||||
public class IBeXAttributeConstraintImpl extends IBeXAttributeImpl implements IBeXAttributeConstraint {
|
||||
/**
|
||||
* The default value of the '{@link #getRelation() <em>Relation</em>}' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #getRelation()
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
protected static final IBeXRelation RELATION_EDEFAULT = IBeXRelation.GREATER_OR_EQUAL;
|
||||
|
||||
/**
|
||||
* The cached value of the '{@link #getRelation() <em>Relation</em>}' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #getRelation()
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
protected IBeXRelation relation = RELATION_EDEFAULT;
|
||||
|
||||
/**
|
||||
* The cached value of the '{@link #getLhs() <em>Lhs</em>}' containment reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #getLhs()
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
protected IBeXAttributeValue lhs;
|
||||
|
||||
/**
|
||||
* The cached value of the '{@link #getRhs() <em>Rhs</em>}' containment reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #getRhs()
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
protected IBeXAttributeValue rhs;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
protected IBeXAttributeConstraintImpl() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
protected EClass eStaticClass() {
|
||||
return IBeXPatternModelPackage.Literals.IBE_XATTRIBUTE_CONSTRAINT;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public IBeXRelation getRelation() {
|
||||
return relation;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public void setRelation(IBeXRelation newRelation) {
|
||||
IBeXRelation oldRelation = relation;
|
||||
relation = newRelation == null ? RELATION_EDEFAULT : newRelation;
|
||||
if (eNotificationRequired())
|
||||
eNotify(new ENotificationImpl(this, Notification.SET,
|
||||
IBeXPatternModelPackage.IBE_XATTRIBUTE_CONSTRAINT__RELATION, oldRelation, relation));
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public IBeXAttributeValue getLhs() {
|
||||
return lhs;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
public NotificationChain basicSetLhs(IBeXAttributeValue newLhs, NotificationChain msgs) {
|
||||
IBeXAttributeValue oldLhs = lhs;
|
||||
lhs = newLhs;
|
||||
if (eNotificationRequired()) {
|
||||
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
|
||||
IBeXPatternModelPackage.IBE_XATTRIBUTE_CONSTRAINT__LHS, oldLhs, newLhs);
|
||||
if (msgs == null)
|
||||
msgs = notification;
|
||||
else
|
||||
msgs.add(notification);
|
||||
}
|
||||
return msgs;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public void setLhs(IBeXAttributeValue newLhs) {
|
||||
if (newLhs != lhs) {
|
||||
NotificationChain msgs = null;
|
||||
if (lhs != null)
|
||||
msgs = ((InternalEObject) lhs).eInverseRemove(this,
|
||||
EOPPOSITE_FEATURE_BASE - IBeXPatternModelPackage.IBE_XATTRIBUTE_CONSTRAINT__LHS, null, msgs);
|
||||
if (newLhs != null)
|
||||
msgs = ((InternalEObject) newLhs).eInverseAdd(this,
|
||||
EOPPOSITE_FEATURE_BASE - IBeXPatternModelPackage.IBE_XATTRIBUTE_CONSTRAINT__LHS, null, msgs);
|
||||
msgs = basicSetLhs(newLhs, msgs);
|
||||
if (msgs != null)
|
||||
msgs.dispatch();
|
||||
} else if (eNotificationRequired())
|
||||
eNotify(new ENotificationImpl(this, Notification.SET,
|
||||
IBeXPatternModelPackage.IBE_XATTRIBUTE_CONSTRAINT__LHS, newLhs, newLhs));
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public IBeXAttributeValue getRhs() {
|
||||
return rhs;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
public NotificationChain basicSetRhs(IBeXAttributeValue newRhs, NotificationChain msgs) {
|
||||
IBeXAttributeValue oldRhs = rhs;
|
||||
rhs = newRhs;
|
||||
if (eNotificationRequired()) {
|
||||
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
|
||||
IBeXPatternModelPackage.IBE_XATTRIBUTE_CONSTRAINT__RHS, oldRhs, newRhs);
|
||||
if (msgs == null)
|
||||
msgs = notification;
|
||||
else
|
||||
msgs.add(notification);
|
||||
}
|
||||
return msgs;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public void setRhs(IBeXAttributeValue newRhs) {
|
||||
if (newRhs != rhs) {
|
||||
NotificationChain msgs = null;
|
||||
if (rhs != null)
|
||||
msgs = ((InternalEObject) rhs).eInverseRemove(this,
|
||||
EOPPOSITE_FEATURE_BASE - IBeXPatternModelPackage.IBE_XATTRIBUTE_CONSTRAINT__RHS, null, msgs);
|
||||
if (newRhs != null)
|
||||
msgs = ((InternalEObject) newRhs).eInverseAdd(this,
|
||||
EOPPOSITE_FEATURE_BASE - IBeXPatternModelPackage.IBE_XATTRIBUTE_CONSTRAINT__RHS, null, msgs);
|
||||
msgs = basicSetRhs(newRhs, msgs);
|
||||
if (msgs != null)
|
||||
msgs.dispatch();
|
||||
} else if (eNotificationRequired())
|
||||
eNotify(new ENotificationImpl(this, Notification.SET,
|
||||
IBeXPatternModelPackage.IBE_XATTRIBUTE_CONSTRAINT__RHS, newRhs, newRhs));
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
|
||||
switch (featureID) {
|
||||
case IBeXPatternModelPackage.IBE_XATTRIBUTE_CONSTRAINT__LHS:
|
||||
return basicSetLhs(null, msgs);
|
||||
case IBeXPatternModelPackage.IBE_XATTRIBUTE_CONSTRAINT__RHS:
|
||||
return basicSetRhs(null, msgs);
|
||||
}
|
||||
return super.eInverseRemove(otherEnd, featureID, msgs);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public Object eGet(int featureID, boolean resolve, boolean coreType) {
|
||||
switch (featureID) {
|
||||
case IBeXPatternModelPackage.IBE_XATTRIBUTE_CONSTRAINT__RELATION:
|
||||
return getRelation();
|
||||
case IBeXPatternModelPackage.IBE_XATTRIBUTE_CONSTRAINT__LHS:
|
||||
return getLhs();
|
||||
case IBeXPatternModelPackage.IBE_XATTRIBUTE_CONSTRAINT__RHS:
|
||||
return getRhs();
|
||||
}
|
||||
return super.eGet(featureID, resolve, coreType);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public void eSet(int featureID, Object newValue) {
|
||||
switch (featureID) {
|
||||
case IBeXPatternModelPackage.IBE_XATTRIBUTE_CONSTRAINT__RELATION:
|
||||
setRelation((IBeXRelation) newValue);
|
||||
return;
|
||||
case IBeXPatternModelPackage.IBE_XATTRIBUTE_CONSTRAINT__LHS:
|
||||
setLhs((IBeXAttributeValue) newValue);
|
||||
return;
|
||||
case IBeXPatternModelPackage.IBE_XATTRIBUTE_CONSTRAINT__RHS:
|
||||
setRhs((IBeXAttributeValue) newValue);
|
||||
return;
|
||||
}
|
||||
super.eSet(featureID, newValue);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public void eUnset(int featureID) {
|
||||
switch (featureID) {
|
||||
case IBeXPatternModelPackage.IBE_XATTRIBUTE_CONSTRAINT__RELATION:
|
||||
setRelation(RELATION_EDEFAULT);
|
||||
return;
|
||||
case IBeXPatternModelPackage.IBE_XATTRIBUTE_CONSTRAINT__LHS:
|
||||
setLhs((IBeXAttributeValue) null);
|
||||
return;
|
||||
case IBeXPatternModelPackage.IBE_XATTRIBUTE_CONSTRAINT__RHS:
|
||||
setRhs((IBeXAttributeValue) null);
|
||||
return;
|
||||
}
|
||||
super.eUnset(featureID);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public boolean eIsSet(int featureID) {
|
||||
switch (featureID) {
|
||||
case IBeXPatternModelPackage.IBE_XATTRIBUTE_CONSTRAINT__RELATION:
|
||||
return relation != RELATION_EDEFAULT;
|
||||
case IBeXPatternModelPackage.IBE_XATTRIBUTE_CONSTRAINT__LHS:
|
||||
return lhs != null;
|
||||
case IBeXPatternModelPackage.IBE_XATTRIBUTE_CONSTRAINT__RHS:
|
||||
return rhs != null;
|
||||
}
|
||||
return super.eIsSet(featureID);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public String toString() {
|
||||
if (eIsProxy())
|
||||
return super.toString();
|
||||
|
||||
StringBuilder result = new StringBuilder(super.toString());
|
||||
result.append(" (relation: ");
|
||||
result.append(relation);
|
||||
result.append(')');
|
||||
return result.toString();
|
||||
}
|
||||
|
||||
} //IBeXAttributeConstraintImpl
|
|
@ -1,224 +0,0 @@
|
|||
/**
|
||||
*/
|
||||
package org.emoflon.ibex.patternmodel.IBeXPatternModel.impl;
|
||||
|
||||
import org.eclipse.emf.common.notify.Notification;
|
||||
import org.eclipse.emf.ecore.EAttribute;
|
||||
import org.eclipse.emf.ecore.EClass;
|
||||
import org.eclipse.emf.ecore.InternalEObject;
|
||||
import org.eclipse.emf.ecore.impl.ENotificationImpl;
|
||||
import org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXAttributeExpression;
|
||||
import org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXNode;
|
||||
import org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* An implementation of the model object '<em><b>IBe XAttribute Expression</b></em>'.
|
||||
* <!-- end-user-doc -->
|
||||
* <p>
|
||||
* The following features are implemented:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.impl.IBeXAttributeExpressionImpl#getAttribute <em>Attribute</em>}</li>
|
||||
* <li>{@link org.emoflon.ibex.patternmodel.IBeXPatternModel.impl.IBeXAttributeExpressionImpl#getNode <em>Node</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @generated
|
||||
*/
|
||||
public class IBeXAttributeExpressionImpl extends IBeXAttributeValueImpl implements IBeXAttributeExpression {
|
||||
/**
|
||||
* The cached value of the '{@link #getAttribute() <em>Attribute</em>}' reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #getAttribute()
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
protected EAttribute attribute;
|
||||
|
||||
/**
|
||||
* The cached value of the '{@link #getNode() <em>Node</em>}' reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #getNode()
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
protected IBeXNode node;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
protected IBeXAttributeExpressionImpl() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
protected EClass eStaticClass() {
|
||||
return IBeXPatternModelPackage.Literals.IBE_XATTRIBUTE_EXPRESSION;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public EAttribute getAttribute() {
|
||||
if (attribute != null && attribute.eIsProxy()) {
|
||||
InternalEObject oldAttribute = (InternalEObject) attribute;
|
||||
attribute = (EAttribute) eResolveProxy(oldAttribute);
|
||||
if (attribute != oldAttribute) {
|
||||
if (eNotificationRequired())
|
||||
eNotify(new ENotificationImpl(this, Notification.RESOLVE,
|
||||
IBeXPatternModelPackage.IBE_XATTRIBUTE_EXPRESSION__ATTRIBUTE, oldAttribute, attribute));
|
||||
}
|
||||
}
|
||||
return attribute;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
public EAttribute basicGetAttribute() {
|
||||
return attribute;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public void setAttribute(EAttribute newAttribute) {
|
||||
EAttribute oldAttribute = attribute;
|
||||
attribute = newAttribute;
|
||||
if (eNotificationRequired())
|
||||
eNotify(new ENotificationImpl(this, Notification.SET,
|
||||
IBeXPatternModelPackage.IBE_XATTRIBUTE_EXPRESSION__ATTRIBUTE, oldAttribute, attribute));
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public IBeXNode getNode() {
|
||||
if (node != null && node.eIsProxy()) {
|
||||
InternalEObject oldNode = (InternalEObject) node;
|
||||
node = (IBeXNode) eResolveProxy(oldNode);
|
||||
if (node != oldNode) {
|
||||
if (eNotificationRequired())
|
||||
eNotify(new ENotificationImpl(this, Notification.RESOLVE,
|
||||
IBeXPatternModelPackage.IBE_XATTRIBUTE_EXPRESSION__NODE, oldNode, node));
|
||||
}
|
||||
}
|
||||
return node;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
public IBeXNode basicGetNode() {
|
||||
return node;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public void setNode(IBeXNode newNode) {
|
||||
IBeXNode oldNode = node;
|
||||
node = newNode;
|
||||
if (eNotificationRequired())
|
||||
eNotify(new ENotificationImpl(this, Notification.SET,
|
||||
IBeXPatternModelPackage.IBE_XATTRIBUTE_EXPRESSION__NODE, oldNode, node));
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public Object eGet(int featureID, boolean resolve, boolean coreType) {
|
||||
switch (featureID) {
|
||||
case IBeXPatternModelPackage.IBE_XATTRIBUTE_EXPRESSION__ATTRIBUTE:
|
||||
if (resolve)
|
||||
return getAttribute();
|
||||
return basicGetAttribute();
|
||||
case IBeXPatternModelPackage.IBE_XATTRIBUTE_EXPRESSION__NODE:
|
||||
if (resolve)
|
||||
return getNode();
|
||||
return basicGetNode();
|
||||
}
|
||||
return super.eGet(featureID, resolve, coreType);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public void eSet(int featureID, Object newValue) {
|
||||
switch (featureID) {
|
||||
case IBeXPatternModelPackage.IBE_XATTRIBUTE_EXPRESSION__ATTRIBUTE:
|
||||
setAttribute((EAttribute) newValue);
|
||||
return;
|
||||
case IBeXPatternModelPackage.IBE_XATTRIBUTE_EXPRESSION__NODE:
|
||||
setNode((IBeXNode) newValue);
|
||||
return;
|
||||
}
|
||||
super.eSet(featureID, newValue);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public void eUnset(int featureID) {
|
||||
switch (featureID) {
|
||||
case IBeXPatternModelPackage.IBE_XATTRIBUTE_EXPRESSION__ATTRIBUTE:
|
||||
setAttribute((EAttribute) null);
|
||||
return;
|
||||
case IBeXPatternModelPackage.IBE_XATTRIBUTE_EXPRESSION__NODE:
|
||||
setNode((IBeXNode) null);
|
||||
return;
|
||||
}
|
||||
super.eUnset(featureID);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public boolean eIsSet(int featureID) {
|
||||
switch (featureID) {
|
||||
case IBeXPatternModelPackage.IBE_XATTRIBUTE_EXPRESSION__ATTRIBUTE:
|
||||
return attribute != null;
|
||||
case IBeXPatternModelPackage.IBE_XATTRIBUTE_EXPRESSION__NODE:
|
||||
return node != null;
|
||||
}
|
||||
return super.eIsSet(featureID);
|
||||
}
|
||||
|
||||
} //IBeXAttributeExpressionImpl
|
|
@ -1,37 +0,0 @@
|
|||
/**
|
||||
*/
|
||||
package org.emoflon.ibex.patternmodel.IBeXPatternModel.impl;
|
||||
|
||||
import org.eclipse.emf.ecore.EClass;
|
||||
import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
|
||||
import org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXAttribute;
|
||||
import org.emoflon.ibex.patternmodel.IBeXPatternModel.IBeXPatternModelPackage;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* An implementation of the model object '<em><b>IBe XAttribute</b></em>'.
|
||||
* <!-- end-user-doc -->
|
||||
*
|
||||
* @generated
|
||||
*/
|
||||
public abstract class IBeXAttributeImpl extends MinimalEObjectImpl.Container implements IBeXAttribute {
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
protected IBeXAttributeImpl() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
protected EClass eStaticClass() {
|
||||
return IBeXPatternModelPackage.Literals.IBE_XATTRIBUTE;
|
||||
}
|
||||
|
||||
} //IBeXAttributeImpl
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue