Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/RelationTypeArtifactPredicateImpl.java')
-rw-r--r--plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/RelationTypeArtifactPredicateImpl.java269
1 files changed, 139 insertions, 130 deletions
diff --git a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/RelationTypeArtifactPredicateImpl.java b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/RelationTypeArtifactPredicateImpl.java
index 6b4c78273f6..c1d0338b163 100644
--- a/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/RelationTypeArtifactPredicateImpl.java
+++ b/plugins/org.eclipse.osee.framework.core.dsl/src-gen/org/eclipse/osee/framework/core/dsl/oseeDsl/impl/RelationTypeArtifactPredicateImpl.java
@@ -3,161 +3,170 @@
package org.eclipse.osee.framework.core.dsl.oseeDsl.impl;
import org.eclipse.emf.common.notify.Notification;
+
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.InternalEObject;
+
import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDslPackage;
import org.eclipse.osee.framework.core.dsl.oseeDsl.RelationTypeArtifactPredicate;
import org.eclipse.osee.framework.core.dsl.oseeDsl.XArtifactMatcher;
/**
- * <!-- begin-user-doc --> An implementation of the model object '<em><b>Relation Type Artifact Predicate</b></em>'.
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Relation Type Artifact Predicate</b></em>'.
* <!-- end-user-doc -->
* <p>
* The following features are implemented:
+ * </p>
* <ul>
- * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.RelationTypeArtifactPredicateImpl#getArtifactMatcherRef
- * <em>Artifact Matcher Ref</em>}</li>
+ * <li>{@link org.eclipse.osee.framework.core.dsl.oseeDsl.impl.RelationTypeArtifactPredicateImpl#getArtifactMatcherRef <em>Artifact Matcher Ref</em>}</li>
* </ul>
- * </p>
*
* @generated
*/
-public class RelationTypeArtifactPredicateImpl extends RelationTypePredicateImpl implements RelationTypeArtifactPredicate {
- /**
- * The cached value of the '{@link #getArtifactMatcherRef() <em>Artifact Matcher Ref</em>}' reference. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #getArtifactMatcherRef()
- * @generated
- * @ordered
- */
- protected XArtifactMatcher artifactMatcherRef;
+public class RelationTypeArtifactPredicateImpl extends RelationTypePredicateImpl implements RelationTypeArtifactPredicate
+{
+ /**
+ * The cached value of the '{@link #getArtifactMatcherRef() <em>Artifact Matcher Ref</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getArtifactMatcherRef()
+ * @generated
+ * @ordered
+ */
+ protected XArtifactMatcher artifactMatcherRef;
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- protected RelationTypeArtifactPredicateImpl() {
- super();
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected RelationTypeArtifactPredicateImpl()
+ {
+ super();
+ }
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return OseeDslPackage.Literals.RELATION_TYPE_ARTIFACT_PREDICATE;
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return OseeDslPackage.Literals.RELATION_TYPE_ARTIFACT_PREDICATE;
+ }
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public XArtifactMatcher getArtifactMatcherRef() {
- if (artifactMatcherRef != null && artifactMatcherRef.eIsProxy()) {
- InternalEObject oldArtifactMatcherRef = (InternalEObject) artifactMatcherRef;
- artifactMatcherRef = (XArtifactMatcher) eResolveProxy(oldArtifactMatcherRef);
- if (artifactMatcherRef != oldArtifactMatcherRef) {
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.RESOLVE,
- OseeDslPackage.RELATION_TYPE_ARTIFACT_PREDICATE__ARTIFACT_MATCHER_REF, oldArtifactMatcherRef,
- artifactMatcherRef));
- }
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public XArtifactMatcher getArtifactMatcherRef()
+ {
+ if (artifactMatcherRef != null && artifactMatcherRef.eIsProxy())
+ {
+ InternalEObject oldArtifactMatcherRef = (InternalEObject)artifactMatcherRef;
+ artifactMatcherRef = (XArtifactMatcher)eResolveProxy(oldArtifactMatcherRef);
+ if (artifactMatcherRef != oldArtifactMatcherRef)
+ {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, OseeDslPackage.RELATION_TYPE_ARTIFACT_PREDICATE__ARTIFACT_MATCHER_REF, oldArtifactMatcherRef, artifactMatcherRef));
}
- return artifactMatcherRef;
- }
+ }
+ return artifactMatcherRef;
+ }
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public XArtifactMatcher basicGetArtifactMatcherRef() {
- return artifactMatcherRef;
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public XArtifactMatcher basicGetArtifactMatcherRef()
+ {
+ return artifactMatcherRef;
+ }
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void setArtifactMatcherRef(XArtifactMatcher newArtifactMatcherRef) {
- XArtifactMatcher oldArtifactMatcherRef = artifactMatcherRef;
- artifactMatcherRef = newArtifactMatcherRef;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET,
- OseeDslPackage.RELATION_TYPE_ARTIFACT_PREDICATE__ARTIFACT_MATCHER_REF, oldArtifactMatcherRef,
- artifactMatcherRef));
- }
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setArtifactMatcherRef(XArtifactMatcher newArtifactMatcherRef)
+ {
+ XArtifactMatcher oldArtifactMatcherRef = artifactMatcherRef;
+ artifactMatcherRef = newArtifactMatcherRef;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OseeDslPackage.RELATION_TYPE_ARTIFACT_PREDICATE__ARTIFACT_MATCHER_REF, oldArtifactMatcherRef, artifactMatcherRef));
+ }
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case OseeDslPackage.RELATION_TYPE_ARTIFACT_PREDICATE__ARTIFACT_MATCHER_REF:
- if (resolve) {
- return getArtifactMatcherRef();
- }
- return basicGetArtifactMatcherRef();
- }
- return super.eGet(featureID, resolve, coreType);
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType)
+ {
+ switch (featureID)
+ {
+ case OseeDslPackage.RELATION_TYPE_ARTIFACT_PREDICATE__ARTIFACT_MATCHER_REF:
+ if (resolve) return getArtifactMatcherRef();
+ return basicGetArtifactMatcherRef();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case OseeDslPackage.RELATION_TYPE_ARTIFACT_PREDICATE__ARTIFACT_MATCHER_REF:
- setArtifactMatcherRef((XArtifactMatcher) newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue)
+ {
+ switch (featureID)
+ {
+ case OseeDslPackage.RELATION_TYPE_ARTIFACT_PREDICATE__ARTIFACT_MATCHER_REF:
+ setArtifactMatcherRef((XArtifactMatcher)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case OseeDslPackage.RELATION_TYPE_ARTIFACT_PREDICATE__ARTIFACT_MATCHER_REF:
- setArtifactMatcherRef((XArtifactMatcher) null);
- return;
- }
- super.eUnset(featureID);
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case OseeDslPackage.RELATION_TYPE_ARTIFACT_PREDICATE__ARTIFACT_MATCHER_REF:
+ setArtifactMatcherRef((XArtifactMatcher)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case OseeDslPackage.RELATION_TYPE_ARTIFACT_PREDICATE__ARTIFACT_MATCHER_REF:
- return artifactMatcherRef != null;
- }
- return super.eIsSet(featureID);
- }
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case OseeDslPackage.RELATION_TYPE_ARTIFACT_PREDICATE__ARTIFACT_MATCHER_REF:
+ return artifactMatcherRef != null;
+ }
+ return super.eIsSet(featureID);
+ }
} //RelationTypeArtifactPredicateImpl

Back to the top