if (eReference == Ifc2x3tc1Package.eINSTANCE.getIfcElement_ContainedInStructure()) { isInverse = true; } else if (eReference == Ifc2x3tc1Package.eINSTANCE.getIfcAnnotation_ContainedInStructure()) { isInverse = true; } else if (eReference == Ifc2x3tc1Package.eINSTANCE.getIfcGrid_ContainedInStructure()) { isInverse = true; if (eReference == Ifc2x3tc1Package.eINSTANCE.getIfcRepresentation_LayerAssignments()) { isInverse = true; } else if (eReference == Ifc2x3tc1Package.eINSTANCE.getIfcRepresentationItem_LayerAssignments()) { isInverse = true; if (eReference == Ifc2x3tc1Package.eINSTANCE.getIfcObjectDefinition_HasAssociations()) { isInverse = true; } else if (eReference == Ifc2x3tc1Package.eINSTANCE.getIfcPropertyDefinition_HasAssociations()) { isInverse = true; if (eReference == Ifc2x3tc1Package.eINSTANCE.getIfcDimensionCurve_AnnotatedBySymbols()) { isInverse = true; if (eReference == Ifc2x3tc1Package.eINSTANCE.getIfcElement_ReferencedInStructures()) { isInverse = true; if (eReference == Ifc2x3tc1Package.eINSTANCE.getIfcProductDefinitionShape_ShapeOfProduct()) { isInverse = true; if (eReference == Ifc2x3tc1Package.eINSTANCE.getIfcStructuralItem_AssignedStructuralActivity()) { isInverse = true;
if (eStructuralFeature == Ifc2x3tc1Package.eINSTANCE.getIfcRelContainedInSpatialStructure_RelatedElements()) { if (Ifc2x3tc1Package.eINSTANCE.getIfcElement().isSuperTypeOf(eClassOfOtherEnd)) { return Ifc2x3tc1Package.eINSTANCE.getIfcElement_ContainedInStructure(); } else if (Ifc2x3tc1Package.eINSTANCE.getIfcAnnotation().isSuperTypeOf(eClassOfOtherEnd)) { return Ifc2x3tc1Package.eINSTANCE.getIfcAnnotation_ContainedInStructure(); } else if (Ifc2x3tc1Package.eINSTANCE.getIfcGrid().isSuperTypeOf(eClassOfOtherEnd)) { return Ifc2x3tc1Package.eINSTANCE.getIfcGrid_ContainedInStructure(); if (eStructuralFeature == Ifc2x3tc1Package.eINSTANCE.getIfcPresentationLayerAssignment_AssignedItems()) { if (Ifc2x3tc1Package.eINSTANCE.getIfcRepresentation().isSuperTypeOf(eClassOfOtherEnd)) { return Ifc2x3tc1Package.eINSTANCE.getIfcRepresentation_LayerAssignments(); } else if (Ifc2x3tc1Package.eINSTANCE.getIfcRepresentationItem().isSuperTypeOf(eClassOfOtherEnd)) { return Ifc2x3tc1Package.eINSTANCE.getIfcRepresentationItem_LayerAssignments(); if (eStructuralFeature == Ifc2x3tc1Package.eINSTANCE.getIfcRelAssociates_RelatedObjects()) { if (Ifc2x3tc1Package.eINSTANCE.getIfcObjectDefinition().isSuperTypeOf(eClassOfOtherEnd)) { return Ifc2x3tc1Package.eINSTANCE.getIfcObjectDefinition_HasAssociations(); } else if (Ifc2x3tc1Package.eINSTANCE.getIfcPropertyDefinition().isSuperTypeOf(eClassOfOtherEnd)) { return Ifc2x3tc1Package.eINSTANCE.getIfcPropertyDefinition_HasAssociations(); if (eStructuralFeature == Ifc2x3tc1Package.eINSTANCE.getIfcTerminatorSymbol_AnnotatedCurve()) { if (Ifc2x3tc1Package.eINSTANCE.getIfcDimensionCurve().isSuperTypeOf(eClassOfOtherEnd)) { return Ifc2x3tc1Package.eINSTANCE.getIfcDimensionCurve_AnnotatedBySymbols(); if (eStructuralFeature == Ifc2x3tc1Package.eINSTANCE.getIfcRelReferencedInSpatialStructure_RelatedElements()) { if (Ifc2x3tc1Package.eINSTANCE.getIfcElement().isSuperTypeOf(eClassOfOtherEnd)) { return Ifc2x3tc1Package.eINSTANCE.getIfcElement_ReferencedInStructures(); if (eStructuralFeature == Ifc2x3tc1Package.eINSTANCE.getIfcProduct_Representation()) {
Ifc2x3tc1Package ifc2x3 = Ifc2x3tc1Package.eINSTANCE; Mismatch[] misMatches = packageMetaData.getSchema().equals(Schema.IFC2X3TC1) ? new Mismatch[]{ new Mismatch(ifc2x3.getIfcRelContainedInSpatialStructure_RelatedElements(), new EReference[]{ ifc2x3.getIfcElement_ContainedInStructure(), ifc2x3.getIfcGrid_ContainedInStructure(), ifc2x3.getIfcAnnotation_ContainedInStructure()}), new Mismatch(ifc2x3.getIfcPresentationLayerAssignment_AssignedItems(), new EReference[]{ ifc2x3.getIfcRepresentation_LayerAssignments(), ifc2x3.getIfcRepresentationItem_LayerAssignments() }), new Mismatch(ifc2x3.getIfcRelAssociates_RelatedObjects(), new EReference[]{ ifc2x3.getIfcObjectDefinition_HasAssociations(), ifc2x3.getIfcPropertyDefinition_HasAssociations() }), new Mismatch(ifc2x3.getIfcTerminatorSymbol_AnnotatedCurve(), new EReference[]{ ifc2x3.getIfcDimensionCurve_AnnotatedBySymbols() }), new Mismatch(ifc2x3.getIfcRelReferencedInSpatialStructure_RelatedElements(), new EReference[]{ ifc2x3.getIfcElement_ReferencedInStructures() }), new Mismatch(ifc2x3.getIfcProduct_Representation(), new EReference[]{ ifc2x3.getIfcProductDefinitionShape_ShapeOfProduct() }), new Mismatch(ifc2x3.getIfcRelConnectsElements_RelatingElement(), new EReference[]{ ifc2x3.getIfcStructuralItem_AssignedStructuralActivity()}) } : new Mismatch[]{ new Mismatch(ifc4.getIfcRelContainedInSpatialStructure_RelatedElements(), new EReference[]{
if (eReference == Ifc2x3tc1Package.eINSTANCE.getIfcRelContainedInSpatialStructure_RelatedElements()) { hasInverse = true; } else if (eReference == Ifc2x3tc1Package.eINSTANCE.getIfcPresentationLayerAssignment_AssignedItems()) { hasInverse = true; } else if (eReference == Ifc2x3tc1Package.eINSTANCE.getIfcRelAssociates_RelatedObjects()) { hasInverse = true; } else if (eReference == Ifc2x3tc1Package.eINSTANCE.getIfcTerminatorSymbol_AnnotatedCurve()) { hasInverse = true; } else if (eReference == Ifc2x3tc1Package.eINSTANCE.getIfcRelReferencedInSpatialStructure_RelatedElements()) { hasInverse = true; } else if (eReference == Ifc2x3tc1Package.eINSTANCE.getIfcProduct_Representation()) { hasInverse = true; } else if (eReference == Ifc2x3tc1Package.eINSTANCE.getIfcRelConnectsStructuralActivity_RelatingElement()) { hasInverse = true;