diff options
author | 2018-02-24 19:03:35 -0500 | |
---|---|---|
committer | 2018-02-24 19:03:35 -0500 | |
commit | d7e2de55047e357ca6a4db4709885ca59946a484 (patch) | |
tree | 227768e3e5c2b5805a108ec77ee408fe1e582e50 /Framework/hu.bme.mit.inf.dslreasoner.viatra2logic/ecore-gen/hu/bme/mit/inf/dslreasoner/viatra2logic/viatra2logicannotations/impl/TransfomedViatraQueryImpl.java | |
parent | Project workspace folder structure generation patch (diff) | |
download | VIATRA-Generator-d7e2de55047e357ca6a4db4709885ca59946a484.tar.gz VIATRA-Generator-d7e2de55047e357ca6a4db4709885ca59946a484.tar.zst VIATRA-Generator-d7e2de55047e357ca6a4db4709885ca59946a484.zip |
Translated PQueryies are added to annotation.
Diffstat (limited to 'Framework/hu.bme.mit.inf.dslreasoner.viatra2logic/ecore-gen/hu/bme/mit/inf/dslreasoner/viatra2logic/viatra2logicannotations/impl/TransfomedViatraQueryImpl.java')
-rw-r--r-- | Framework/hu.bme.mit.inf.dslreasoner.viatra2logic/ecore-gen/hu/bme/mit/inf/dslreasoner/viatra2logic/viatra2logicannotations/impl/TransfomedViatraQueryImpl.java | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.viatra2logic/ecore-gen/hu/bme/mit/inf/dslreasoner/viatra2logic/viatra2logicannotations/impl/TransfomedViatraQueryImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.viatra2logic/ecore-gen/hu/bme/mit/inf/dslreasoner/viatra2logic/viatra2logicannotations/impl/TransfomedViatraQueryImpl.java index f0d18ee9..d7f9ff68 100644 --- a/Framework/hu.bme.mit.inf.dslreasoner.viatra2logic/ecore-gen/hu/bme/mit/inf/dslreasoner/viatra2logic/viatra2logicannotations/impl/TransfomedViatraQueryImpl.java +++ b/Framework/hu.bme.mit.inf.dslreasoner.viatra2logic/ecore-gen/hu/bme/mit/inf/dslreasoner/viatra2logic/viatra2logicannotations/impl/TransfomedViatraQueryImpl.java | |||
@@ -20,6 +20,7 @@ import org.eclipse.emf.ecore.impl.ENotificationImpl; | |||
20 | * </p> | 20 | * </p> |
21 | * <ul> | 21 | * <ul> |
22 | * <li>{@link hu.bme.mit.inf.dslreasoner.viatra2logic.viatra2logicannotations.impl.TransfomedViatraQueryImpl#getPatternFullyQualifiedName <em>Pattern Fully Qualified Name</em>}</li> | 22 | * <li>{@link hu.bme.mit.inf.dslreasoner.viatra2logic.viatra2logicannotations.impl.TransfomedViatraQueryImpl#getPatternFullyQualifiedName <em>Pattern Fully Qualified Name</em>}</li> |
23 | * <li>{@link hu.bme.mit.inf.dslreasoner.viatra2logic.viatra2logicannotations.impl.TransfomedViatraQueryImpl#getPatternPQuery <em>Pattern PQuery</em>}</li> | ||
23 | * </ul> | 24 | * </ul> |
24 | * | 25 | * |
25 | * @generated | 26 | * @generated |
@@ -45,6 +46,24 @@ public class TransfomedViatraQueryImpl extends RelationAnnotationImpl implements | |||
45 | protected String patternFullyQualifiedName = PATTERN_FULLY_QUALIFIED_NAME_EDEFAULT; | 46 | protected String patternFullyQualifiedName = PATTERN_FULLY_QUALIFIED_NAME_EDEFAULT; |
46 | 47 | ||
47 | /** | 48 | /** |
49 | * The default value of the '{@link #getPatternPQuery() <em>Pattern PQuery</em>}' attribute. | ||
50 | * <!-- begin-user-doc --> | ||
51 | * <!-- end-user-doc --> | ||
52 | * @see #getPatternPQuery() | ||
53 | * @generated | ||
54 | * @ordered | ||
55 | */ | ||
56 | protected static final Object PATTERN_PQUERY_EDEFAULT = null; | ||
57 | /** | ||
58 | * The cached value of the '{@link #getPatternPQuery() <em>Pattern PQuery</em>}' attribute. | ||
59 | * <!-- begin-user-doc --> | ||
60 | * <!-- end-user-doc --> | ||
61 | * @see #getPatternPQuery() | ||
62 | * @generated | ||
63 | * @ordered | ||
64 | */ | ||
65 | protected Object patternPQuery = PATTERN_PQUERY_EDEFAULT; | ||
66 | /** | ||
48 | * <!-- begin-user-doc --> | 67 | * <!-- begin-user-doc --> |
49 | * <!-- end-user-doc --> | 68 | * <!-- end-user-doc --> |
50 | * @generated | 69 | * @generated |
@@ -89,11 +108,34 @@ public class TransfomedViatraQueryImpl extends RelationAnnotationImpl implements | |||
89 | * <!-- end-user-doc --> | 108 | * <!-- end-user-doc --> |
90 | * @generated | 109 | * @generated |
91 | */ | 110 | */ |
111 | public Object getPatternPQuery() { | ||
112 | return patternPQuery; | ||
113 | } | ||
114 | |||
115 | /** | ||
116 | * <!-- begin-user-doc --> | ||
117 | * <!-- end-user-doc --> | ||
118 | * @generated | ||
119 | */ | ||
120 | public void setPatternPQuery(Object newPatternPQuery) { | ||
121 | Object oldPatternPQuery = patternPQuery; | ||
122 | patternPQuery = newPatternPQuery; | ||
123 | if (eNotificationRequired()) | ||
124 | eNotify(new ENotificationImpl(this, Notification.SET, Viatra2LogicAnnotationsPackage.TRANSFOMED_VIATRA_QUERY__PATTERN_PQUERY, oldPatternPQuery, patternPQuery)); | ||
125 | } | ||
126 | |||
127 | /** | ||
128 | * <!-- begin-user-doc --> | ||
129 | * <!-- end-user-doc --> | ||
130 | * @generated | ||
131 | */ | ||
92 | @Override | 132 | @Override |
93 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | 133 | public Object eGet(int featureID, boolean resolve, boolean coreType) { |
94 | switch (featureID) { | 134 | switch (featureID) { |
95 | case Viatra2LogicAnnotationsPackage.TRANSFOMED_VIATRA_QUERY__PATTERN_FULLY_QUALIFIED_NAME: | 135 | case Viatra2LogicAnnotationsPackage.TRANSFOMED_VIATRA_QUERY__PATTERN_FULLY_QUALIFIED_NAME: |
96 | return getPatternFullyQualifiedName(); | 136 | return getPatternFullyQualifiedName(); |
137 | case Viatra2LogicAnnotationsPackage.TRANSFOMED_VIATRA_QUERY__PATTERN_PQUERY: | ||
138 | return getPatternPQuery(); | ||
97 | } | 139 | } |
98 | return super.eGet(featureID, resolve, coreType); | 140 | return super.eGet(featureID, resolve, coreType); |
99 | } | 141 | } |
@@ -109,6 +151,9 @@ public class TransfomedViatraQueryImpl extends RelationAnnotationImpl implements | |||
109 | case Viatra2LogicAnnotationsPackage.TRANSFOMED_VIATRA_QUERY__PATTERN_FULLY_QUALIFIED_NAME: | 151 | case Viatra2LogicAnnotationsPackage.TRANSFOMED_VIATRA_QUERY__PATTERN_FULLY_QUALIFIED_NAME: |
110 | setPatternFullyQualifiedName((String)newValue); | 152 | setPatternFullyQualifiedName((String)newValue); |
111 | return; | 153 | return; |
154 | case Viatra2LogicAnnotationsPackage.TRANSFOMED_VIATRA_QUERY__PATTERN_PQUERY: | ||
155 | setPatternPQuery(newValue); | ||
156 | return; | ||
112 | } | 157 | } |
113 | super.eSet(featureID, newValue); | 158 | super.eSet(featureID, newValue); |
114 | } | 159 | } |
@@ -124,6 +169,9 @@ public class TransfomedViatraQueryImpl extends RelationAnnotationImpl implements | |||
124 | case Viatra2LogicAnnotationsPackage.TRANSFOMED_VIATRA_QUERY__PATTERN_FULLY_QUALIFIED_NAME: | 169 | case Viatra2LogicAnnotationsPackage.TRANSFOMED_VIATRA_QUERY__PATTERN_FULLY_QUALIFIED_NAME: |
125 | setPatternFullyQualifiedName(PATTERN_FULLY_QUALIFIED_NAME_EDEFAULT); | 170 | setPatternFullyQualifiedName(PATTERN_FULLY_QUALIFIED_NAME_EDEFAULT); |
126 | return; | 171 | return; |
172 | case Viatra2LogicAnnotationsPackage.TRANSFOMED_VIATRA_QUERY__PATTERN_PQUERY: | ||
173 | setPatternPQuery(PATTERN_PQUERY_EDEFAULT); | ||
174 | return; | ||
127 | } | 175 | } |
128 | super.eUnset(featureID); | 176 | super.eUnset(featureID); |
129 | } | 177 | } |
@@ -138,6 +186,8 @@ public class TransfomedViatraQueryImpl extends RelationAnnotationImpl implements | |||
138 | switch (featureID) { | 186 | switch (featureID) { |
139 | case Viatra2LogicAnnotationsPackage.TRANSFOMED_VIATRA_QUERY__PATTERN_FULLY_QUALIFIED_NAME: | 187 | case Viatra2LogicAnnotationsPackage.TRANSFOMED_VIATRA_QUERY__PATTERN_FULLY_QUALIFIED_NAME: |
140 | return PATTERN_FULLY_QUALIFIED_NAME_EDEFAULT == null ? patternFullyQualifiedName != null : !PATTERN_FULLY_QUALIFIED_NAME_EDEFAULT.equals(patternFullyQualifiedName); | 188 | return PATTERN_FULLY_QUALIFIED_NAME_EDEFAULT == null ? patternFullyQualifiedName != null : !PATTERN_FULLY_QUALIFIED_NAME_EDEFAULT.equals(patternFullyQualifiedName); |
189 | case Viatra2LogicAnnotationsPackage.TRANSFOMED_VIATRA_QUERY__PATTERN_PQUERY: | ||
190 | return PATTERN_PQUERY_EDEFAULT == null ? patternPQuery != null : !PATTERN_PQUERY_EDEFAULT.equals(patternPQuery); | ||
141 | } | 191 | } |
142 | return super.eIsSet(featureID); | 192 | return super.eIsSet(featureID); |
143 | } | 193 | } |
@@ -154,6 +204,8 @@ public class TransfomedViatraQueryImpl extends RelationAnnotationImpl implements | |||
154 | StringBuffer result = new StringBuffer(super.toString()); | 204 | StringBuffer result = new StringBuffer(super.toString()); |
155 | result.append(" (patternFullyQualifiedName: "); | 205 | result.append(" (patternFullyQualifiedName: "); |
156 | result.append(patternFullyQualifiedName); | 206 | result.append(patternFullyQualifiedName); |
207 | result.append(", patternPQuery: "); | ||
208 | result.append(patternPQuery); | ||
157 | result.append(')'); | 209 | result.append(')'); |
158 | return result.toString(); | 210 | return result.toString(); |
159 | } | 211 | } |