public NotificationChain basicSetETypeParameter(ETypeParameter newobj, NotificationChain msgs) { var oldobj = _eTypeParameter; _eTypeParameter = newobj; if (eNotificationRequired()) { var notification = new ENotificationImpl(this, NotificationImpl.SET, EcorePackageImpl.EGENERICTYPE_ETYPEPARAMETER, oldobj, newobj); if (msgs == null) { msgs = notification; } else { msgs.add(notification); } } return(msgs); }
public bool validateETypeParameter(ETypeParameter obj, DiagnosticChain diagnostics, Dictionary <object, object> context) { if (!validate_NoCircularContainment(obj, diagnostics, context)) { return(false); } bool result = validate_EveryMultiplicityConforms(obj, diagnostics, context); if (result || diagnostics != null) { result &= validate_EveryDataValueConforms(obj, diagnostics, context); } if (result || diagnostics != null) { result &= validate_EveryReferenceIsContained(obj, diagnostics, context); } if (result || diagnostics != null) { result &= validate_EveryBidirectionalReferenceIsPaired(obj, diagnostics, context); } //if (result || diagnostics != null) result &= validate_EveryProxyResolves(obj, diagnostics, context); if (result || diagnostics != null) { result &= validate_UniqueID(obj, diagnostics, context); } if (result || diagnostics != null) { result &= validate_EveryKeyUnique(obj, diagnostics, context); } if (result || diagnostics != null) { result &= validate_EveryMapEntryUnique(obj, diagnostics, context); } return(result); }
public virtual T caseETypeParameter(ETypeParameter theEObject) { return(default(T)); }