java.lang.reflect.MalformedParameterizedTypeException#org.eclipse.emf.ecore.util.InternalEList源码实例Demo

下面列出了java.lang.reflect.MalformedParameterizedTypeException#org.eclipse.emf.ecore.util.InternalEList 实例代码,或者点击链接到github查看源代码,也可以在右侧发表评论。

源代码1 项目: xtext-eclipse   文件: JdtBasedTypeFactory.java
private JvmAnnotationValue createShortAnnotationValue(Object value) {
	JvmShortAnnotationValue annotationValue = TypesFactory.eINSTANCE.createJvmShortAnnotationValue();
	if (value != null) {
		@SuppressWarnings("unchecked")
		InternalEList<Object> values = (InternalEList<Object>)(InternalEList<?>)annotationValue.getValues();
		if (value instanceof Object[]) {
			for (Object element : (Object[])value) {
				if (element instanceof Short) {
					values.addUnique(element);
				} else if (element != null) {
					values.addUnique(((Number)element).shortValue());
				}
			}
		} else if (value instanceof Short) {
			values.addUnique(value);
		} else if (value instanceof Number) {
			values.addUnique(((Number)value).shortValue());
		}
	}
	return annotationValue;
}
 
源代码2 项目: Knowage-Server   文件: OlapModelImpl.java
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@SuppressWarnings("unchecked")
@Override
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
	switch (featureID) {
		case OlapModelPackage.OLAP_MODEL__PARENT_MODEL:
			if (eInternalContainer() != null)
				msgs = eBasicRemoveFromContainer(msgs);
			return basicSetParentModel((Model)otherEnd, msgs);
		case OlapModelPackage.OLAP_MODEL__CUBES:
			return ((InternalEList<InternalEObject>)(InternalEList<?>)getCubes()).basicAdd(otherEnd, msgs);
		case OlapModelPackage.OLAP_MODEL__VIRTUAL_CUBES:
			return ((InternalEList<InternalEObject>)(InternalEList<?>)getVirtualCubes()).basicAdd(otherEnd, msgs);
		case OlapModelPackage.OLAP_MODEL__DIMENSIONS:
			return ((InternalEList<InternalEObject>)(InternalEList<?>)getDimensions()).basicAdd(otherEnd, msgs);
	}
	return super.eInverseAdd(otherEnd, featureID, msgs);
}
 
源代码3 项目: fixflow   文件: InputSetImpl.java
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID,
        NotificationChain msgs) {
    switch (featureID) {
    case Bpmn2Package.INPUT_SET__DATA_INPUT_REFS:
        return ((InternalEList<?>) getDataInputRefs()).basicRemove(otherEnd, msgs);
    case Bpmn2Package.INPUT_SET__OPTIONAL_INPUT_REFS:
        return ((InternalEList<?>) getOptionalInputRefs()).basicRemove(otherEnd, msgs);
    case Bpmn2Package.INPUT_SET__WHILE_EXECUTING_INPUT_REFS:
        return ((InternalEList<?>) getWhileExecutingInputRefs()).basicRemove(otherEnd, msgs);
    case Bpmn2Package.INPUT_SET__OUTPUT_SET_REFS:
        return ((InternalEList<?>) getOutputSetRefs()).basicRemove(otherEnd, msgs);
    }
    return super.eInverseRemove(otherEnd, featureID, msgs);
}
 
源代码4 项目: Knowage-Server   文件: ModelImpl.java
/**
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 *
 * @generated
 */
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
	switch (featureID) {
	case ModelPackage.MODEL__PHYSICAL_MODELS:
		return ((InternalEList<?>) getPhysicalModels()).basicRemove(otherEnd, msgs);
	case ModelPackage.MODEL__BUSINESS_MODELS:
		return ((InternalEList<?>) getBusinessModels()).basicRemove(otherEnd, msgs);
	case ModelPackage.MODEL__OLAP_MODELS:
		return ((InternalEList<?>) getOlapModels()).basicRemove(otherEnd, msgs);
	case ModelPackage.MODEL__PROPERTY_TYPES:
		return ((InternalEList<?>) getPropertyTypes()).basicRemove(otherEnd, msgs);
	case ModelPackage.MODEL__PROPERTY_CATEGORIES:
		return ((InternalEList<?>) getPropertyCategories()).basicRemove(otherEnd, msgs);
	}
	return super.eInverseRemove(otherEnd, featureID, msgs);
}
 
源代码5 项目: fixflow   文件: DataOutputImpl.java
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@SuppressWarnings("unchecked")
@Override
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID,
        NotificationChain msgs) {
    switch (featureID) {
    case Bpmn2Package.DATA_OUTPUT__OUTPUT_SET_WITH_OPTIONAL:
        return ((InternalEList<InternalEObject>) (InternalEList<?>) getOutputSetWithOptional())
                .basicAdd(otherEnd, msgs);
    case Bpmn2Package.DATA_OUTPUT__OUTPUT_SET_WITH_WHILE_EXECUTING:
        return ((InternalEList<InternalEObject>) (InternalEList<?>) getOutputSetWithWhileExecuting())
                .basicAdd(otherEnd, msgs);
    case Bpmn2Package.DATA_OUTPUT__OUTPUT_SET_REFS:
        return ((InternalEList<InternalEObject>) (InternalEList<?>) getOutputSetRefs())
                .basicAdd(otherEnd, msgs);
    }
    return super.eInverseAdd(otherEnd, featureID, msgs);
}
 
源代码6 项目: xtext-eclipse   文件: OperationContextDeclImpl.java
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
{
  switch (featureID)
  {
    case BacktrackingContentAssistTestPackage.OPERATION_CONTEXT_DECL__OPERATION:
      return basicSetOperation(null, msgs);
    case BacktrackingContentAssistTestPackage.OPERATION_CONTEXT_DECL__PARAMETERS:
      return ((InternalEList<?>)getParameters()).basicRemove(otherEnd, msgs);
    case BacktrackingContentAssistTestPackage.OPERATION_CONTEXT_DECL__TYPE:
      return basicSetType(null, msgs);
    case BacktrackingContentAssistTestPackage.OPERATION_CONTEXT_DECL__PRES:
      return ((InternalEList<?>)getPres()).basicRemove(otherEnd, msgs);
    case BacktrackingContentAssistTestPackage.OPERATION_CONTEXT_DECL__POSTS:
      return ((InternalEList<?>)getPosts()).basicRemove(otherEnd, msgs);
    case BacktrackingContentAssistTestPackage.OPERATION_CONTEXT_DECL__BODIES:
      return ((InternalEList<?>)getBodies()).basicRemove(otherEnd, msgs);
  }
  return super.eInverseRemove(otherEnd, featureID, msgs);
}
 
源代码7 项目: statecharts   文件: StateImpl.java
/**
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * @generated
 */
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd,
		int featureID, NotificationChain msgs) {
	switch (featureID) {
		case SGraphPackage.STATE__SCOPES:
			return ((InternalEList<?>)getScopes()).basicRemove(otherEnd, msgs);
		case SGraphPackage.STATE__PARENT_REGION:
			return basicSetParentRegion(null, msgs);
		case SGraphPackage.STATE__INCOMING_TRANSITIONS:
			return ((InternalEList<?>)getIncomingTransitions()).basicRemove(otherEnd, msgs);
		case SGraphPackage.STATE__OUTGOING_TRANSITIONS:
			return ((InternalEList<?>)getOutgoingTransitions()).basicRemove(otherEnd, msgs);
		case SGraphPackage.STATE__REGIONS:
			return ((InternalEList<?>)getRegions()).basicRemove(otherEnd, msgs);
	}
	return super.eInverseRemove(otherEnd, featureID, msgs);
}
 
源代码8 项目: ifml-editor   文件: ConditionalExpressionImpl.java
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
	switch (featureID) {
		case CorePackage.CONDITIONAL_EXPRESSION__PARAMETERS:
			return ((InternalEList<?>)getParameters()).basicRemove(otherEnd, msgs);
		case CorePackage.CONDITIONAL_EXPRESSION__OUT_INTERACTION_FLOWS:
			return ((InternalEList<?>)getOutInteractionFlows()).basicRemove(otherEnd, msgs);
		case CorePackage.CONDITIONAL_EXPRESSION__IN_INTERACTION_FLOWS:
			return ((InternalEList<?>)getInInteractionFlows()).basicRemove(otherEnd, msgs);
		case CorePackage.CONDITIONAL_EXPRESSION__VIEW_ELEMENT_EVENTS:
			return ((InternalEList<?>)getViewElementEvents()).basicRemove(otherEnd, msgs);
		case CorePackage.CONDITIONAL_EXPRESSION__PARENT_VIEW_COMPONENT_PART:
			return basicSetParentViewComponentPart(null, msgs);
		case CorePackage.CONDITIONAL_EXPRESSION__SUB_VIEW_COMPONENT_PARTS:
			return ((InternalEList<?>)getSubViewComponentParts()).basicRemove(otherEnd, msgs);
	}
	return super.eInverseRemove(otherEnd, featureID, msgs);
}
 
源代码9 项目: dsl-devkit   文件: AbstractFingerprintComputer.java
/**
 * Return an Iterable containing all the contents of the given feature of the given object. If the
 * feature is not many-valued, the resulting iterable will have one element. If the feature is an EReference,
 * the iterable may contain proxies. The iterable may contain null values.
 *
 * @param <T>
 *          The Generic type of the objects in the iterable
 * @param obj
 *          The object
 * @param feature
 *          The feature
 * @return An iterable over all the contents of the feature of the object.
 */
@SuppressWarnings("unchecked")
private <T> Iterable<T> featureIterable(final EObject obj, final EStructuralFeature feature) {
  if (feature == null) {
    return Collections.emptyList();
  }
  if (feature.isMany()) {
    if (feature instanceof EAttribute || ((EReference) feature).isContainment()) {
      return (Iterable<T>) obj.eGet(feature);
    }
    return new Iterable<T>() {
      @Override
      public Iterator<T> iterator() {
        return ((InternalEList<T>) obj.eGet(feature)).basicIterator(); // Don't resolve
      }
    };
  }
  return Collections.singletonList((T) obj.eGet(feature, false)); // Don't resolve
}
 
源代码10 项目: neoscada   文件: ScriptItemImpl.java
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public NotificationChain eInverseRemove ( InternalEObject otherEnd, int featureID, NotificationChain msgs )
{
    switch ( featureID )
    {
        case OsgiPackage.SCRIPT_ITEM__INPUTS:
            return ( (InternalEList<?>)getInputs () ).basicRemove ( otherEnd, msgs );
        case OsgiPackage.SCRIPT_ITEM__INIT_SCRIPT:
            return basicSetInitScript ( null, msgs );
        case OsgiPackage.SCRIPT_ITEM__UPDATE_SCRIPT:
            return basicSetUpdateScript ( null, msgs );
        case OsgiPackage.SCRIPT_ITEM__TIMER:
            return basicSetTimer ( null, msgs );
        case OsgiPackage.SCRIPT_ITEM__COMMANDS:
            return ( (InternalEList<?>)getCommands () ).basicRemove ( otherEnd, msgs );
        case OsgiPackage.SCRIPT_ITEM__WRITE_COMMAND_SCRIPT:
            return basicSetWriteCommandScript ( null, msgs );
        case OsgiPackage.SCRIPT_ITEM__INIT_PROPERTIES:
            return ( (InternalEList<?>)getInitProperties () ).basicRemove ( otherEnd, msgs );
    }
    return super.eInverseRemove ( otherEnd, featureID, msgs );
}
 
源代码11 项目: dsl-devkit   文件: ExportImpl.java
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
{
	switch (featureID)
	{
		case ExportPackage.EXPORT__LOOKUP_PREDICATE:
			return basicSetLookupPredicate(null, msgs);
		case ExportPackage.EXPORT__NAMING:
			return basicSetNaming(null, msgs);
		case ExportPackage.EXPORT__ATTRIBUTES:
			return ((InternalEList<?>)getAttributes()).basicRemove(otherEnd, msgs);
		case ExportPackage.EXPORT__USER_DATA:
			return ((InternalEList<?>)getUserData()).basicRemove(otherEnd, msgs);
	}
	return super.eInverseRemove(otherEnd, featureID, msgs);
}
 
源代码12 项目: neoscada   文件: DocumentRootImpl.java
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public NotificationChain eInverseRemove ( InternalEObject otherEnd, int featureID, NotificationChain msgs )
{
    switch ( featureID )
    {
        case ConfigurationPackage.DOCUMENT_ROOT__MIXED:
            return ( (InternalEList<?>)getMixed () ).basicRemove ( otherEnd, msgs );
        case ConfigurationPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
            return ( (InternalEList<?>)getXMLNSPrefixMap () ).basicRemove ( otherEnd, msgs );
        case ConfigurationPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
            return ( (InternalEList<?>)getXSISchemaLocation () ).basicRemove ( otherEnd, msgs );
        case ConfigurationPackage.DOCUMENT_ROOT__ROOT:
            return basicSetRoot ( null, msgs );
    }
    return super.eInverseRemove ( otherEnd, featureID, msgs );
}
 
源代码13 项目: xtext-eclipse   文件: JdtBasedTypeFactory.java
private JvmAnnotationValue createAnnotationAnnotationValue(Object value) {
	JvmAnnotationAnnotationValue annotationValue = TypesFactory.eINSTANCE.createJvmAnnotationAnnotationValue();
	if (value != null) {
		InternalEList<JvmAnnotationReference> values = (InternalEList<JvmAnnotationReference>)annotationValue.getValues();
		if (value instanceof Object[]) {
			for (Object element : (Object[])value) {
				if (element instanceof IAnnotationBinding) {
					values.addUnique(createAnnotationReference((IAnnotationBinding)element));
				}
			}
		} else if (value instanceof IAnnotationBinding) {
			values.addUnique(createAnnotationReference((IAnnotationBinding)value));
		}
	}
	return annotationValue;
}
 
源代码14 项目: xtext-eclipse   文件: JdtBasedTypeFactory.java
private JvmAnnotationValue createDoubleAnnotationValue(Object value) {
	JvmDoubleAnnotationValue annotationValue = TypesFactory.eINSTANCE.createJvmDoubleAnnotationValue();
	if (value != null) {
		@SuppressWarnings("unchecked")
		InternalEList<Object> values = (InternalEList<Object>)(InternalEList<?>)annotationValue.getValues();
		if (value instanceof Object[]) {
			for (Object element : (Object[])value) {
				if (element instanceof Double) {
					values.addUnique(element);
				} else if (element != null) {
					values.addUnique(((Number)element).doubleValue());
				}
			}
		} else if (value instanceof Double) {
			values.addUnique(value);
		} else if (value instanceof Number) {
			values.addUnique(((Number)value).doubleValue());
		}
	}
	return annotationValue;
}
 
源代码15 项目: bonita-studio   文件: TCatchEventImpl.java
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
	switch (featureID) {
		case ModelPackage.TCATCH_EVENT__DATA_OUTPUT:
			return ((InternalEList<?>)getDataOutput()).basicRemove(otherEnd, msgs);
		case ModelPackage.TCATCH_EVENT__DATA_OUTPUT_ASSOCIATION:
			return ((InternalEList<?>)getDataOutputAssociation()).basicRemove(otherEnd, msgs);
		case ModelPackage.TCATCH_EVENT__OUTPUT_SET:
			return basicSetOutputSet(null, msgs);
		case ModelPackage.TCATCH_EVENT__EVENT_DEFINITION_GROUP:
			return ((InternalEList<?>)getEventDefinitionGroup()).basicRemove(otherEnd, msgs);
		case ModelPackage.TCATCH_EVENT__EVENT_DEFINITION:
			return ((InternalEList<?>)getEventDefinition()).basicRemove(otherEnd, msgs);
	}
	return super.eInverseRemove(otherEnd, featureID, msgs);
}
 
源代码16 项目: xtext-eclipse   文件: JdtBasedTypeFactory.java
/**
 * @since 2.4
 */
protected JvmAnnotationReference createAnnotationReference(/* @NonNull */ IAnnotationBinding annotation) {
	JvmAnnotationReference annotationReference = TypesFactory.eINSTANCE.createJvmAnnotationReference();
	ITypeBinding annotationType = annotation.getAnnotationType();
	annotationReference.setAnnotation(createAnnotationProxy(annotationType));
	InternalEList<JvmAnnotationValue> values = (InternalEList<JvmAnnotationValue>)annotationReference.getExplicitValues();
	IMemberValuePairBinding[] allMemberValuePairs = annotation.getDeclaredMemberValuePairs();
	for (IMemberValuePairBinding memberValuePair : allMemberValuePairs) {
		IMethodBinding methodBinding = memberValuePair.getMethodBinding();
		if (methodBinding != null) {
			try {
				values.addUnique(createAnnotationValue(annotationType, memberValuePair.getValue(), methodBinding));
			} catch(NullPointerException npe) {
				// memberValuePair#getValue may throw an NPE if the methodBinding has no return type
				if (methodBinding.getReturnType() != null) {
					throw npe;
				} else {
					if (log.isDebugEnabled()) {
						log.debug(npe.getMessage(), npe);
					}
				}
			}
		}
	}
	return annotationReference;
}
 
源代码17 项目: xtext-core   文件: TestLinewrapImpl.java
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
{
  switch (featureID)
  {
    case FormattertestlanguagePackage.TEST_LINEWRAP__ITEMS:
      return ((InternalEList<?>)getItems()).basicRemove(otherEnd, msgs);
  }
  return super.eInverseRemove(otherEnd, featureID, msgs);
}
 
源代码18 项目: yang-design-studio   文件: DefaultStatementImpl.java
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
{
  switch (featureID)
  {
    case YangPackage.DEFAULT_STATEMENT__DEFAULTUNKNOWNSTATEMENTS:
      return ((InternalEList<?>)getDefaultunknownstatements()).basicRemove(otherEnd, msgs);
  }
  return super.eInverseRemove(otherEnd, featureID, msgs);
}
 
源代码19 项目: openhab1-addons   文件: MBrickletJoystickImpl.java
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * 
 * @generated
 */
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
    switch (featureID) {
        case ModelPackage.MBRICKLET_JOYSTICK__BRICKD:
            return basicSetBrickd(null, msgs);
        case ModelPackage.MBRICKLET_JOYSTICK__MSUBDEVICES:
            return ((InternalEList<?>) getMsubdevices()).basicRemove(otherEnd, msgs);
        case ModelPackage.MBRICKLET_JOYSTICK__TF_CONFIG:
            return basicSetTfConfig(null, msgs);
    }
    return super.eInverseRemove(otherEnd, featureID, msgs);
}
 
源代码20 项目: bonita-studio   文件: ValidableImpl.java
/**
    * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
    * @generated
    */
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
       switch (featureID) {
           case FormPackage.VALIDABLE__VALIDATORS:
               return ((InternalEList<?>)getValidators()).basicRemove(otherEnd, msgs);
       }
       return super.eInverseRemove(otherEnd, featureID, msgs);
   }
 
源代码21 项目: bonita-studio   文件: PackageImpl.java
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
    switch (featureID) {
        case BusinessDataModelPackage.PACKAGE__BUSINESS_OBJECTS:
            return ((InternalEList<?>)getBusinessObjects()).basicRemove(otherEnd, msgs);
    }
    return super.eInverseRemove(otherEnd, featureID, msgs);
}
 
源代码22 项目: statecharts   文件: CompositeElementImpl.java
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@SuppressWarnings("unchecked")
@Override
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
	switch (featureID) {
		case SGraphPackage.COMPOSITE_ELEMENT__REGIONS:
			return ((InternalEList<InternalEObject>)(InternalEList<?>)getRegions()).basicAdd(otherEnd, msgs);
	}
	return super.eInverseAdd(otherEnd, featureID, msgs);
}
 
源代码23 项目: yang-design-studio   文件: PositionStatementImpl.java
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
{
  switch (featureID)
  {
    case YangPackage.POSITION_STATEMENT__POSITIONUNKNOWNSTATEMENTS:
      return ((InternalEList<?>)getPositionunknownstatements()).basicRemove(otherEnd, msgs);
  }
  return super.eInverseRemove(otherEnd, featureID, msgs);
}
 
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
{
  switch (featureID)
  {
    case YangPackage.ORDEREDBY_STATEMENT__ORDEREDBYUNKNOWNSTATEMENTS:
      return ((InternalEList<?>)getOrderedbyunknownstatements()).basicRemove(otherEnd, msgs);
  }
  return super.eInverseRemove(otherEnd, featureID, msgs);
}
 
源代码25 项目: xtext-eclipse   文件: XmlDocumentImpl.java
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
{
  switch (featureID)
  {
    case SimplexmlPackage.XML_DOCUMENT__CONTENTS:
      return ((InternalEList<?>)getContents()).basicRemove(otherEnd, msgs);
  }
  return super.eInverseRemove(otherEnd, featureID, msgs);
}
 
源代码26 项目: ifml-editor   文件: DomainModelImpl.java
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
	switch (featureID) {
		case CorePackage.DOMAIN_MODEL__DOMAIN_ELEMENTS:
			return ((InternalEList<?>)getDomainElements()).basicRemove(otherEnd, msgs);
	}
	return super.eInverseRemove(otherEnd, featureID, msgs);
}
 
源代码27 项目: Knowage-Server   文件: ModelPropertyCategoryImpl.java
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
	switch (featureID) {
		case ModelPackage.MODEL_PROPERTY_CATEGORY__PROPERTY_TYPES:
			return ((InternalEList<?>)getPropertyTypes()).basicRemove(otherEnd, msgs);
	}
	return super.eInverseRemove(otherEnd, featureID, msgs);
}
 
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public NotificationChain eInverseRemove ( InternalEObject otherEnd, int featureID, NotificationChain msgs )
{
    switch ( featureID )
    {
        case WorldPackage.ABSTRACT_GENERIC_DATABASE_SETTINGS__ADDITIONAL_PROPERTIES:
            return ( (InternalEList<?>)getAdditionalProperties () ).basicRemove ( otherEnd, msgs );
    }
    return super.eInverseRemove ( otherEnd, featureID, msgs );
}
 
源代码29 项目: bonita-studio   文件: ConnectorDefinitionImpl.java
/**
 * <!-- begin-user-doc -->
    * <!-- end-user-doc -->
 * @generated
 */
   @Override
   public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
	switch (featureID) {
		case ConnectorDefinitionPackage.CONNECTOR_DEFINITION__CATEGORY:
			return ((InternalEList<?>)getCategory()).basicRemove(otherEnd, msgs);
		case ConnectorDefinitionPackage.CONNECTOR_DEFINITION__INPUT:
			return ((InternalEList<?>)getInput()).basicRemove(otherEnd, msgs);
		case ConnectorDefinitionPackage.CONNECTOR_DEFINITION__OUTPUT:
			return ((InternalEList<?>)getOutput()).basicRemove(otherEnd, msgs);
		case ConnectorDefinitionPackage.CONNECTOR_DEFINITION__PAGE:
			return ((InternalEList<?>)getPage()).basicRemove(otherEnd, msgs);
	}
	return super.eInverseRemove(otherEnd, featureID, msgs);
}
 
源代码30 项目: xtext-extras   文件: XAbstractFeatureCallImpl.java
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
{
	switch (featureID)
	{
		case XbasePackage.XABSTRACT_FEATURE_CALL__TYPE_ARGUMENTS:
			return ((InternalEList<?>)getTypeArguments()).basicRemove(otherEnd, msgs);
		case XbasePackage.XABSTRACT_FEATURE_CALL__IMPLICIT_RECEIVER:
			return basicSetImplicitReceiver(null, msgs);
		case XbasePackage.XABSTRACT_FEATURE_CALL__IMPLICIT_FIRST_ARGUMENT:
			return basicSetImplicitFirstArgument(null, msgs);
	}
	return super.eInverseRemove(otherEnd, featureID, msgs);
}